Re: [AMBER] problem installing amber 10

From: Ali Faruqi <alifar76.gmail.com>
Date: Tue, 26 Jul 2011 13:43:28 +0500

Hi Nyla,

I was facing similar problems. As Scott has rightly said, use gfortran
instead of g95. It should do the trick.

# ./configure_amber –static gfortran <enter>

It will generate Amber configuration file (config_amber.h)

Hope it helps!

Regards,
Ali A. Faruqi
Karachi

On Tue, Jul 26, 2011 at 10:33 AM, Nyla Zaman <nyla.zaman.hotmail.com> wrote:

>
> 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:03 PDT
Custom Search