|
|||||||||||||||||||||||||||||||||
AMBER Archive (2008)Subject: RE: AMBER: compilation problem
From: Ross Walker (ross_at_rosswalker.co.uk)
Hi John,
What are the actual error messages you are seeing? - I.e. all of the output
Ross
From: owner-amber_at_scripps.edu [mailto:owner-amber_at_scripps.edu] On Behalf Of
Hi everyone,
I am installing AMBER 10 with Sun Studio 12 compilers on AMD64 bit machine
But the forllowing part of Configure_at is giving me the problem
fflags="-O0"
if [ $gnucompat = "yes" ]; then
echo "Testing the g77 compiler:"
if [ "$status" -gt 0 ]; then
# Here, just to get going, hard-wire f90
fc=f90
echo "Mopac and resp will be compiled with f90"
fflags="-O0"
foptflags="-fast"
echo "Testing the f90 compiler:"
echo " $fc $fflags -o testp$suffix testp.f"
$fc $fflags -o testp testp.f
./testp | grep "testing a Fortran program" > /dev/null
status=$?
if [ "$status" -gt 0 ]; then
echo "Unable to compile a Fortran program using $fc $fflags"
echo "We will be unable to compile mopac or resp"
g77='noG77'
else
echo "OK"
fi
/bin/rm -f testp.f testp.o testp$suffix
************************
But it didnt work. no makefile is generated at the end
please someone help me out of this.
Thanks in advance
-----------------------------------------------------------------------
| |||||||||||||||||||||||||||||||||
|