[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bgl-discuss] MPI library linking error?
Hi, all
I really appreciate your help in last time with the link problem between
fortran 90 and C++. It was solved finally. However, I have another severe
linking error again. I think it is about MPI libraries link.
The error is like :
----------------------------------------------------------------------------
f90 -qxlf90=noautodealloc:nosignedzero -qfree=f90 -o xmain -L.
-L/home/jungmin/mxyzptlk/lib -L/bgl/BlueLight/ppcfloor/bglsys/lib ccmain.o
mp.o libImpact.a libExternal.a libImpact.a -lbmlfactory -lphysics_toolkit
-lbeamline -lphysics_toolkit -lbeamline -lmxyzptlk -lbasic_toolkit
-L/home/jungmin/glib-1.2.10/lib -lglib -lm -lnsl -lcxxmpich.rts
-llinkcheck.rts -lfmpich.rts -lmpich.rts -lmsglayer.rts -lrts.rts
-ldevices.rts -lc -L/opt/ibmcmp/xlf/9.1/lib -lxlf90 -lxlopt -lxl
-lxlomp_ser -lxlfmath -lxlopt -lxl -L/opt/ibmcmp/vacpp/7.0/lib -libmc++
-lstdc++ -lm
libImpact.a(libImpact_a-AccSimulator.o)(.text+0x40cc): In function
`__accsimulatorclass_NMOD_run_accsimulator':
: undefined reference to `getmemstats'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0xc):
In function `rts_get_personality':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:33: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x2c):
In function `rts_run_coprocessor':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:45: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x5c):
In function `rts_get_processor_version':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:65: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x7c):
In function `rts_get_virtual_process_window':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:77: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x9c):
In function `rts_get_scratchpad_window':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:89: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x14e):
In function `rts_dcache_store':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:125: undefined reference to `errno'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x156):
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:125: undefined reference to `errno'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x1ae):
In function `rts_dcache_store_invalidate':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:138: undefined reference to `errno'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x1b6):
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:138: undefined reference to `errno'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x20c):
In function `rts_dcache_evict':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:152: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x22c):
In function `rts_dcache_invalidate':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:164: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x30c):
In function `rts_read_dcr':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:198: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x32c):
In function `rts_write_dcr':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:210: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x34c):
In function `rts_rankForCoordinates':
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:222: undefined reference to `__syscall_error'
/bgl/BlueLight/ppcfloor/bglsys/lib/librts.rts.a(rts_lib.rts.o)(.text+0x36c):
/bglhome/usr1/tutewohl/DRV202_2005-050606-SLES8/ppc/src/bglsw/blrts/rts_lib.
cc:234: more undefined references to `__syscall_error' follow
make: *** [xmain] Error 1
----------------------------------------------------------------------------
To compiler xmain, it needs mpi libraries. I linked some mpi libraries
located in /bgl/BlueLight/ppcfloor/bglsys/lib.
If you think any suggestions, please let me know.
I have tried with several ways, but I cannot solve this error right now.
Thanks in advance.
Jung-Min Lee
- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.