Thanks David and Altro for your valuable suggestions ! As mentioned by Altro, I am trying to install AMBER using GNU G95 Fortran. As I am relatively new to the GNU field, I am not quite aware of the major difference between the compiler offered by Sun and the GNU. Will there be any (compatibility) problems if we try compiling using the one offered by GNU? Can you please explain?
I edited the config.h file in the src, as you mentioned and I got rid of the complex problem.
But there is this other bug,
gcc: /usr/local/amber10/amber10/lib/arpack.a: No such file or directory
cc failed!*** Error code 1
make: Fatal error: Command failed for target `matextract'
Current working directory /usr/local/amber10/amber10/src/nss
*** Error code 1
make: Fatal error: Command failed for target `install'
which still persists when I used the make command. I searched the archives and also tried some novice's ideas of editing the config.h file but neither was I able to find this bug nor fix it. So can you please help with this one too?(Others are welcome too...)
Thanks a lot again!
Mani
----- Original Message -----
From: "David A. Case" <case.biomaps.rutgers.edu>
Date: Thursday, September 18, 2008 6:17 am
Subject: Re: AMBER: Some Problems With the Installation of Ambertools
To: amber.scripps.edu
Cc: Yannick_Bomble.nrel.gov
> On Wed, Sep 17, 2008, Manikandan Chandrasekaran wrote:
>
> > gcc -c -m32 -DBINTRAJ -o nmode.o nmode.c
> nmode.c: In function
> > `lnorm': nmode.c:1172: error: `_Imaginary_I'
> undeclared (first use in
> > this function) nmode.c:1172:
>
> If you don't have <complex.h> (or it is non-standard), you
> will need to
> add -DUSE_AMBER_C9XCOMPLEX to the CFLAGS variable in
> $AMBERHOME/config.h. Or, just edit nmode.c to use the
> local complex.h
> file and not the system one.
>
> ...dac
>
> (Yannick: can we finally get rid of the complex stuff???)
> -----------------------------------------------------------------
> ------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
> to majordomo.scripps.edu
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
to majordomo.scripps.edu
Received on Fri Sep 19 2008 - 03:10:47 PDT