AMBER Archive (2006)

Subject: Re: AMBER: Compile AMBER 8

From: Esther Brugger (esther_brugger_at_yahoo.com)
Date: Fri Oct 27 2006 - 15:18:00 CDT


Thanks a lot for your suggestion. I tried "gcc" this time, it shows other problems when I compile it again:
 
 ..................
able.o xaHBondParmTable.o ../Xraw/libXaw.a ../Wc/libWcLeap.a ../Xpm/libXpm.a ../Xmu/libXmu.a -L/usr/X11R6/lib -lXt -lXext -lSM -lICE -lX11 -lm -lpthread
 /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXt.so when searching for -lXt
 /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXt.a when searching for -lXt
 /usr/bin/ld: cannot find -lXt
 collect2: ld returned 1 exit status
 make[2]: *** [xaLeap] Error 1
 make[2]: Leaving directory `/home/Esther/amber/amber8/src/leap/src/leap'
 make[1]: *** [install] Error 2
 make[1]: Leaving directory `/home/Esther/amber/amber8/src/leap'
 make: *** [serial] Error 2
 
 What's this problem? Thanks!
 
 Regards,
 
 Esther
 
 
 
 
"David A. Case" <case_at_scripps.edu> wrote: On Fri, Oct 27, 2006, Esther Brugger wrote:
>
> In the config.h file, I change "gcc" and "g++" into "icc",
> and also add "-no-ipo" in the following:
> LOADCC= icc -no-ipo $(LOCALFLAGS) $(AMBERBUILDFLAGS)

I know this might have been recommended, but I don't believe it is a good idea
in this case: all of the tests that we do use gcc (not icc) for the C
compiler. Of course, both should work, but you are exposing yourself to new
bugs (in our code, or in the icc compiler) if you do this. My vote is to
stick to gcc.

>
> icc -no-ipo -o makeDIST_RST makeDIST_RST.o -lm
> ld: cannot find -lgcc_s_32

It's possible that something was not correctly cleaned when you changed
compilers. This error message doesn't seem to show up on a (simple) Google
search, which itself is weird. Unless you are sure that you need the
makeDIST_RST program, you can probably skip this step of compilation (or go
back to gcc as suggested above.

...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu

                 
---------------------------------
Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail.
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu