AMBER Archive (2008)Subject: AMBER: Compailation problum in Amber 10
From: srinivas sudani (sudanisrinu_at_gmail.com) 
Date: Wed Aug 06 2008 - 04:24:51 CDT
 
 
 
 
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_at_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_at_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_at_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_at_scripps.edu
 
> To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
 
>      to majordomo_at_scripps.edu
 
>
 
 -----------------------------------------------------------------------
 
The AMBER Mail Reflector
 
To post, send mail to amber_at_scripps.edu
 
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
 
      to majordomo_at_scripps.edu
 
 
  
 |