Re: [AMBER] Compiling AmberTools 1.4 on MacOS10.5

From: Alan <alanwilter.gmail.com>
Date: Tue, 27 Apr 2010 18:43:06 +0100

Hi Dean,

This problem is familiar to me, but first I need to know which gfortran are
you using.

If you are using gfortran from fink, as I do, open 'configure' file with an
text editor and where you see gcc or g++, replace with gcc-4 and g++-4, then
proceed with ./configure -macAccelerate gnu etc.

Alan

On Tue, Apr 27, 2010 at 18:26, Dean Cuebas <deancuebas.missouristate.edu>wrote:

> I get the following error message during preparation of ./configure gnu and
> not sure how to handle the lgfortran error:
>
> Thanks in advance!
> Dean
>
> +++++++++++++++++++++++++++++++++++++
> Your AMBERHOME environment variable should be set to /usr/local/amber11
>
>
> Obtaining the gnu suite version:
> gcc -v
> The version is 4.0.1
>
> Testing the gcc compiler:
> gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
> OK
>
> Validating the C++ compiler version:
> g++ -v
> The version is 4.0.1
> OK
>
> Testing the gfortran compiler:
> gfortran -O0 -o testp testp.f
> OK
>
> Testing mixed C/Fortran compilation:
> gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
> gfortran -O0 -c -o testp.f.o testp.f
> gcc -o testp testp.c.o testp.f.o -lgfortran
> ld: library not found for -lgfortran
> collect2: ld returned 1 exit status
> ./configure: line 1057: ./testp: No such file or directory
> WARNING: Unable to compile mixed C/Fortran code.
>
> Testing pointer size:
> gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size
> test_pointer_size.c
> Detected 32 bit operating system.
>
> Testing flex:
> OK
>
> Configuring NetCDF; (may be time-consuming)
>
> NetCDF configure succeeded.
>
> Configuring fftw-2.1.5; (may be time-consuming)
>
> fftw-2.1.5 configure succeeded.
>
> The configuration file, config.h, was successfully created.
>
> The next step is to type 'make install'
>
> +++++++++++++++++++++++++++++++++++
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>http://www.bio.cam.ac.uk/~awd28<<
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 27 2010 - 11:00:07 PDT
Custom Search