Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

link error in PSPASES library

san_isn
Beginner
336 Views
Hi,
Compiling test routines of PSPASES (a sparse parallel solver) gives undefined refrences.
Each of the undefined references are present in the libpspases.a library. I don't understand why the compiler fails to link them.


the link command:
mpif90 -fPIC -i_dynamic -o fcpspases_test pspases_testfc.o -L../metis -L../parMetis -L../PSPASES -lpspases -lparmetis -lmetis -lm -L /usr/local/apps/intel/fce/10.1.008/lib/ blas_LINUX.a -lifcore

Errors:
pspases_testfc.o(.text+0x1204): In function `MAIN__':
: undefined reference to `dpspacef_'
pspases_testfc.o(.text+0x1f83): In function `MAIN__':
: undefined reference to `pspacec_'
pspases_testfc.o(.text+0x25b6): In function `MAIN__':
: undefined reference to `dpspacet_'
pspases_testfc.o(.text+0x2927): In function `MAIN__':
: undefined reference to `pspacec_'
pspases_testfc.o(.text+0x29b3): In function `MAIN__':
: undefined reference to `pspacec_'
pspases_testfc.o(.text+0x2a3b): In function `MAIN__':
: undefined reference to `pspacec_'
pspases_testfc.o(.text+0x2b10): In function `MAIN__':
: undefined reference to `checkb_ax_'
pspases_testfc.o(.text+0x2ef7): In function `MAIN__':
: undefined reference to `initrnd_'

Appreciate any pointers on how to handle this.

Thanks
sandeep
0 Kudos
0 Replies
Reply