A problem with linking while -mpp

Peter Knowles P.J.Knowles at bham.ac.uk
Sat Apr 26 22:02:42 BST 2003


These problems arise from ifc/library incompatibilities, not from Molpro:
a. the first few messages show that you have not built Global Arrays
properly for ifc. My memory is probably faulty on this, but I believe you
need to have environment FC set to ifc at either configuration or make time.
You can trace this back from g/tcgmsg/ipcv4.0/farg.h.
b. Looks also as if your threaded blas library is not compatible. Have you
really tried linking against a one-line stand-alone program?
Peter
----- Original Message ----- 
From: <krauthau at ccm.udel.edu>
To: <molpro-user at molpro.net>
Sent: Saturday, April 26, 2003 8:34 PM
Subject: A problem with linking while -mpp


> Thank you to all of you who assisted with tracking down the problem with
> the parallel command error.  That is now solved.
>
> I now have another problem with linking to the BLAS libraries at the end
> of "make".  Regardless of whether I use the p-threaded or uniprocessor
> BLAS, the link fails; the error messages for the respective cases can be
> found below.  There are no linking problems if I run with the -nompp
> option with the uniprocessor libraries, and running the tests gives the
> correct answers, as it were.  Any thoughts as to what the problem might
> be?  Thank you all of you for your assistance.
>
> Take care,
> Carl
>
>
> With the pthread libraries, I get:
>
> linking
> /usr1/quantum_chemistry/molpro/2002.3/molpro2002.3/bin/molprop_2002_3_athl
> on_tcgmsg.exe
> link failed
> /opt/intel/compiler70/ia32/bin/ifc -pc 64 -auto -autodouble -Vaxlib -w
> -O3 -o
> /usr1/quantum_chemistry/molpro/2002.3/molpro2002.3/bin/molprop_2002_3_athl
> on_tcgmsg.exe molver.o molpro.o
> -L/usr1/quantum_chemistry/molpro/2002.3/molpro2002.3/lib -lmolpro
> -L/usr3/parall_code/global_array/g/lib/LINUX -lglobal -ltcgmsg -lma
> -lpario -larmci -lgks0
> -L/usr1/quantum_chemistry/atlas_libraries/source/ATLAS/lib/Linux_ATHLONSSE
> 1_2 -lptcblas -lptf77blas -latlas -lz
> /usr3/parall_code/global_array/g/lib/LINUX/libtcgmsg.a(pbeginf.o): In
> function `pbeginf_':
> pbeginf.o(.text+0x8): undefined reference to `f__xargv'
> pbeginf.o(.text+0xe): undefined reference to `f__xargc'
> /usr3/parall_code/global_array/g/lib/LINUX/libpario.a(eaf.o): In function
> `eaf_print_stats':
> eaf.o(.text+0x24e): undefined reference to `__fixunsdfdi'
> /usr1/quantum_chemistry/atlas_libraries/source/ATLAS/lib/Linux_ATHLONSSE1_
> 2/libatlas.a(ATL_join_tree.o): In function `ATL_join_tree':
> ATL_join_tree.o(.text+0x39): undefined reference to `pthread_join'
> /usr1/quantum_chemistry/atlas_libraries/source/ATLAS/lib/Linux_ATHLONSSE1_
> 2/libatlas.a(ATL_thread_tree.o): In function `ATL_thread_tree':
> ATL_thread_tree.o(.text+0x33): undefined reference to `pthread_create'
> make: *** [bin/molprop_2002_3_athlon_tcgmsg.exe] Error 1
>
> For the uniprocessor libraries, I get:
>
> linking
> /usr1/quantum_chemistry/molpro/2002.3/molpro2002.3/bin/molprop_2002_3_athl
> on_tcgmsg.exe
> link failed
> /opt/intel/compiler70/ia32/bin/ifc -pc 64 -auto -autodouble -Vaxlib -w
> -O3 -o
> /usr1/quantum_chemistry/molpro/2002.3/molpro2002.3/bin/molprop_2002_3_athl
> on_tcgmsg.exe molver.o molpro.o
> -L/usr1/quantum_chemistry/molpro/2002.3/molpro2002.3/lib -lmolpro
> -L/usr3/parall_code/global_array/g/lib/LINUX -lglobal -ltcgmsg -lma
> -lpario -larmci -lgks0
> -L/usr1/quantum_chemistry/atlas_libraries/source/ATLAS/lib/Linux_ATHLONSSE
> 1_2 -lcblas -lf77blas -latlas -lz
> /usr3/parall_code/global_array/g/lib/LINUX/libtcgmsg.a(pbeginf.o): In
> function `pbeginf_':
> pbeginf.o(.text+0x8): undefined reference to `f__xargv'
> pbeginf.o(.text+0xe): undefined reference to `f__xargc'
> /usr3/parall_code/global_array/g/lib/LINUX/libpario.a(eaf.o): In function
> `eaf_print_stats':
> eaf.o(.text+0x24e): undefined reference to `__fixunsdfdi'
> make: *** [bin/molprop_2002_3_athlon_tcgmsg.exe] Error 1
>
>




More information about the Molpro-user mailing list