[gmx-users] compiling with intel. No -lXm found.

dimitry.a.suplatov genesup at gmail.com
Fri Mar 9 19:54:37 CET 2007


Hello,
I'am compiling gromacs-3.3 on openSuse 10.2 (2.6.18.2-34) (Celeron 2.4G)
with intel 9.1.045. 
I exported icc to $CC and run the iccvars.sh script to export intel
libraries. 
Then I did the job for fftw3 with --enable-float option and installed it
to default dir. Everything seems to be fine by the moment.
Then I tried to do the same with gromacs itself, (./configure
--enable-float), but got this: ld: cannot find -lXm.
Google never know any "-lXm". What is this and do you have a solution?
Maybe some dev libs are missing? Same problem with gcc! 
Thank you!

P.S. ld.so.conf looks like this:
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/lib/Xaw3d
/usr/i386-suse-linux/lib
/usr/local/lib
/opt/kde3/lib
/opt/gnome/lib
/opt/intel/cc/9.1.045/lib
/usr/lib
include /etc/ld.so.conf.d/*.conf

Error report:
Making all in kernel
make[3]: Entering directory `/gromacs/gromacs-3.3/src/kernel'
/bin/sh ../../libtool --mode=link --tag=CC /opt/intel/cc/9.1.045/bin/icc
-O3 -tpp6 -axK -ip -w   -o grompp  topio.o toppush.o topcat.o topshake.o
convparm.o tomorse.o sorting.o splitter.o vsite_parm.o readir.o
add_par.o topexcl.o toputil.o topdirs.o
grompp.o ../mdlib/libmd.la ../gmxlib/libgmx.la  -lnsl -lfftw3f
-L/usr/lib -lXm -lXt  -lSM -lICE -lX11
/opt/intel/cc/9.1.045/bin/icc -O3 -tpp6 -axK -ip -w -o grompp topio.o
toppush.o topcat.o topshake.o convparm.o tomorse.o sorting.o splitter.o
vsite_parm.o readir.o add_par.o topexcl.o toputil.o topdirs.o
grompp.o  ../mdlib/.libs/libmd.a -L/usr/lib ../gmxlib/.libs/libgmx.a
-lnsl -lfftw3f -lXm /usr/lib/libXt.so -lpthread /usr/lib/libSM.so
-lICE /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
ld: cannot find -lXm
make[3]: *** [grompp] Error 1
make[3]: Leaving directory `/gromacs/gromacs-3.3/src/kernel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gromacs/gromacs-3.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/gromacs/gromacs-3.3/src'
make: *** [all-recursive] Error 1






More information about the gromacs.org_gmx-users mailing list