AMBER: Compailation problum in Amber 10

From: srinivas sudani <sudanisrinu.gmail.com>
Date: Wed, 6 Aug 2008 14:54:51 +0530

Dear David,

    your assumption is correct. g95 is not able to compile a fortan program
properly. But we also used gfortran which is compiling properly. But this
also giving the almost same problem as follows......


[root.headnode src]# ./configure_amber gfortran
Setting AMBERHOME to /home/amber10

Setting up Amber configuration file for architecture: gfortran
Using parallel communications library: none
The MKL_HOME environment variable is not defined.

 Testing the C compiler:
      gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -m32 -o testp
testp.c
OK

Testing the Fortran compiler:
     gfortran -O0 -fno-range-check -fno-second-underscore -o testp testp.f
f951: error: unrecognized command line option "-fno-range-check"
./configure_amber: line 1169: ./testp: No such file or directory
Unable to compile a Fortran program using gfortran -O0 -fno-range-check
-fno-second-underscore
Please check your compiler settings or configure flags.
[root.headnode src]#

Can you please guide us in this regard.....

Thanking you
S.Srinivas
Sys Admin,
CMSD, University Of Hyderabad, India.





On 8/2/08, David A. Case <case.scripps.edu> wrote:
>
> On Fri, Aug 01, 2008, srinivas sudani wrote:
> >
> > Testing the Fortran compiler:
> > g95 -O0 -fno-second-underscore -o testp testp.f
> > g95: Unrecognized option '-O0'
>
> Looks like a poorly configured g95(?). Can you compile any fortran
> programs?
> Does it work if you remove the "-O0" flag?
>
> ...dac
>
> -----------------------------------------------------------------------
> 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 Sun Aug 10 2008 - 06:07:04 PDT
Custom Search