[petsc-users] Petsc/Slepc Integration with Code Blocks IDE

Sonya Blade sonyablade2010 at hotmail.com
Mon Apr 1 04:03:08 CDT 2013


Dear All,

Does any of you succeed to integrate Code Blocks IDE with Petsc and SLepc? I've tried this 
with configuring properly the compiler, linker path, header files and feeding with libraries 
namely "libslepc.a" and "libpetsc.a" but still compiler complains for some of the missing routines.

I gave below couple of errors if it makes you recall anything.

Your help will be appreciated.



/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:186: undefined reference to `_dgemm_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:199: undefined reference to `_dgemm_'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(contiguous.c.o): In function `SlepcUpdateStrideVectors':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:391: undefined reference to `_dgemm_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:401: undefined reference to `_dgemm_'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(contiguous.c.o): In function `SlepcVecMAXPBY':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:455: undefined reference to `_MPI_Allreduce'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:456: undefined reference to `_MPI_Allreduce'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:457: undefined reference to `_MPI_Allreduce'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:463: undefined reference to `_MPI_Comm_compare'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/vec/contiguous.c:475: undefined reference to `_dgemv_'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSView':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:144: undefined reference to `_MPI_Comm_compare'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSPrintSolution':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:344: undefined reference to `_MPI_Comm_compare'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSSetTarget':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:728: undefined reference to `_MPI_Allreduce'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSSetInterval':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:798: undefined reference to `_MPI_Allreduce'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:799: undefined reference to `_MPI_Allreduce'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSSetST':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:864: undefined reference to `_MPI_Comm_compare'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSSetIP':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:931: undefined reference to `_MPI_Comm_compare'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(basic.c.o): In function `EPSSetDS':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/interface/basic.c:997: undefined reference to `_MPI_Comm_compare'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(dvd_blas.c.o): In function `SlepcDenseMatProd':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:81: undefined reference to `_dgemm_'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(dvd_blas.c.o): In function `SlepcDenseMatProdTriang':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:157: undefined reference to `_dsymm_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:170: undefined reference to `_dsymm_'
../../../slepc/arch-mswin-c-debug/lib/libslepc.a(dvd_blas.c.o): In function `SlepcDenseNorm':
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:205: undefined reference to `_dnrm2_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:206: undefined reference to `_dnrm2_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:208: undefined reference to `_dscal_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:209: undefined reference to `_dscal_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:212: undefined reference to `_dnrm2_'
/cygdrive/D/TEST_FOLDER_dell/slepc/src/eps/impls/davidson/common/dvd_blas.c:214: undefined reference to `_dscal_' 		 	   		  


More information about the petsc-users mailing list