Re: AMBER: Compile AMBER 8

From: Esther Brugger <esther_brugger.yahoo.com>
Date: Fri, 27 Oct 2006 13:18:00 -0700 (PDT)

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.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.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu


                 
---------------------------------
Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail.
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Oct 29 2006 - 06:07:32 PST
Custom Search