- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Compiling test routines of PSPASES (a sparse parallel solver) gives linking error as follows:
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
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_'
Each of the undefined references are present in the libpspases.a library. I don't understand why the compiler fails to link them.
Thanks
sandeep
Compiling test routines of PSPASES (a sparse parallel solver) gives linking error as follows:
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
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_'
Each of the undefined references are present in the libpspases.a library. I don't understand why the compiler fails to link them.
Thanks
sandeep
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page