Hi,

It is trying to link with libXm.so, which is the Motif X11 widget library.

The configure script _should_ detect whether this is present and disable Motif parts (ngmx) otherwise. However, if there's something screwed up with your compiler or library installation it might not work.

In that case, try compiling entirely without X11 components by specifying "--without-x".

Cheers,

Erik


On Mar 9, 2007, at 7:54 PM, dimitry.a.suplatov wrote:

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



_______________________________________________
gmx-users mailing list    [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

_______________________________________________
gmx-users mailing list    [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please don't post (un)subscribe requests to the list. Use the www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to