You can use gfortran instead of g95 by typing "sudo apt-get install gfortran" in terminal.
after this U should type ./configure_amber -static gfortran
It should work.
good luck,
Amir
> From: nyla.zaman.hotmail.com
> To: amber.ambermd.org
> Date: Tue, 26 Jul 2011 16:03:35 +1030
> Subject: [AMBER] problem installing amber 10
>
>
> command:
> ./configure_amber -static g95
>
> error:
> Setting AMBERHOME to /root/nyla_working/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
> ./configure_amber: line 1168: g95: command not found
> ./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.
>
> i tried to install g95 after that and the compiler says:
>
> ERROR:
>
> ./configure_amber -static g95
> Setting AMBERHOME to /root/nyla_working/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: installation problem, cannot exec 'f951': No such file or directory
> ./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.
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jul 26 2011 - 02:00:02 PDT