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

From: Dean Cuebas <deancuebas.missouristate.edu>
Date: Tue, 27 Apr 2010 14:42:16 -0500

Dear Alan,

Excellent...

1) sudo ./configure -macAccelerate gnu
2) edited the config.h file to append -4 to gcc and g++
3) sudo make

All tests pass with flying colors!

Thanks very much, you made my day.

Dean
-- 
Dr. Dean Cuebas, Associate Prof of Chemistry
deancuebas.missouristate.edu, Ph 417-836-8567 FAX 417-836-5507
Dept. of Chemistry, Missouri State University
Springfield, Missouri 65897
> From: Alan <alanwilter.gmail.com>
> Reply-To: AMBER Mailing List <amber.ambermd.org>
> Date: Tue, 27 Apr 2010 12:43:06 -0500
> To: AMBER Mailing List <amber.ambermd.org>
> Subject: Re: [AMBER] Compiling AmberTools 1.4 on MacOS10.5
> 
> 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
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 27 2010 - 13:00:03 PDT
Custom Search