Hi Ranga,
Are you sure g95 is installed correctly? Try
which g95
and also what does
g95 -v
report?
Right now your g95 is not recognizing the -O0 option which makes me think that the command g95 does not point to the fortran compiler g95 but instead perhaps someone has created an alias to it. Either that or you have a very old version of g95 installed.
All the best
Ross
From: owner-amber.scripps.edu [mailto:owner-amber.scripps.edu] On Behalf Of Ranga Swamy
Sent: Friday, June 06, 2008 2:34 AM
To: amber.scripps.edu
Subject: AMBER: Problem While Installing Amber
Hi,
I am trying to install the software on RHEL Linux cluster. When I do ./configure I am getting the following problem......
[root.headnode src]# ./configure_amber -static g95
Setting AMBERHOME to /home/amber10
Setting up Amber configuration file for architecture: g95
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:
g95 -O0 -fno-second-underscore -o testp testp.f
g95: Unrecognized option '-O0'
./configure_amber: line 1169: ./testp: No such file or directory
Unable to compile a Fortran program using g95 -O0 -fno-second-underscore
Please check your compiler settings or configure flags.
[root.headnode src]#
Thanks & Regards
-------------------------------------------------------------
B.Ranga Swamy,
Member Of Technical Staff,
C-DAC, Pune.
Mobile : 09881133489
Land Office : 020-25694121
Office Mail Id : rangab.cdac.in
Personal Mail Id : balimidiswamy.yahoo.co.in
_____
Forgot the famous last words? Access your message archive online. Click <
http://in.rd.yahoo.com/tagline_webmessenger_4/*http:/in.messenger.yahoo.com/webmessengerpromo.php> here.
-----------------------------------------------------------------------
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 Jun 08 2008 - 06:07:58 PDT