8:42:00 PM PST - Mon, Feb 4th 2013 |
|
Hi admin and everyone,
I encounter a problem with compiling NWChem with OpenIB, the error is follows:
grep: /opt/torque/lib/libtorque.la: No such file or directory
/bin/sed: can't read /opt/torque/lib/libtorque.la: No such file or directory
libtool: link: `/opt/torque/lib/libtorque.la' is not a valid libtool archive
make[5]: *** [libarmci.la] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: link: ranlib .libs/libarmcii.a
libtool: link: rm -fr .libs/libarmcii.lax
libtool: link: ( cd ".libs" && rm -f "libarmcii.la" && ln -s "../libarmcii.la" "libarmcii.la" )
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [build/.libs/libga.a] Error 1
make: *** [libraries] Error 1
I don't know why compiling NWChem need libtorque.la? I don't very familiar with libtool, so I cannot find clue with this. Can anyone provide me some information on this?
I add a line -L/opt/torque/lib -ltorque in order to include the libtorque.so as follows:
export LIBMPI="-lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -lrdmacm -libverbs -L/opt/torque/lib -ltorque -ldl -Wl, --export-dynamic -lnsl -lutil -L/usr/local/intel/Compiler/11.1/038/lib/intel64 -lifport -lifcoremt -limf -lsvml -lintlc -Wl,-rpath,/usr/local/openmpi/lib -Wl,-rpath,/usr/local/intel/Compiler/11.1/038/lib/intel64"
But NWchem always want to find libtorque.la. How to solve this problem. Any advice is appreciated.
Thanks for your time.
wangjb
|