Re: [AMBER] installation on MacOS10.6

From: erik zuiderweg <zuiderwe.umich.edu>
Date: Fri, 14 May 2010 11:16:22 -0400

Thank you for all your effort!

On May 14, 2010, at 9:03 AM, Alan wrote:

> Still not clear, you mean http://gcc.gnu.org/wiki/GFortranBinaries ?
>
> Anyway, apple gcc (/usr/bin/gcc) is the *only* gcc you have so it
> won't work
> to compile AmberTools. The reason is that apple gcc has no libs for
> fortran,
> see, form my system:
>
> 1)
> which gcc; gcc -v
> /usr/bin/gcc
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-
> checking
> --enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/
> lib
> --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
> --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
> --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5659)
>
> 2)
> which gcc-4; gcc-4 -v
> /sw/bin/gcc-4
> Using built-in specs.
> Target: x86_64-apple-darwin10
> Configured with: ../gcc-4.4.2/configure --prefix=/sw --prefix=/sw/
> lib/gcc4.4
> --mandir=/sw/share/man --infodir=/sw/share/info
> --enable-languages=c,c++,fortran,objc,java --with-gmp=/sw
> --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw
> --with-system-zlib --x-includes=/usr/X11R6/include
> --x-libraries=/usr/X11R6/lib --disable-libjava-multilib
> --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10
> --target=x86_64-apple-darwin10
> Thread model: posix
> gcc version 4.4.2 (GCC)
>
> In (1) one has: enable-languages=c,objc,c++,obj-c++
> In (2) one has: enable-languages=c,c++,fortran,objc,java
>
> Did you see the diff?
>
> So, if you using apple gcc with whatever fortran you undoubtedly will
> have "Unable
> to compile mixed C/Fortran code".
>
> You need a gcc that supports gfortran.
>
> I use Fink to sort out this problem. Many here use MacPorts. Maybe
> there are
> other solutions, but I am not aware.
>
> Alan
>
> On Fri, May 14, 2010 at 13:43, erik zuiderweg <zuiderwe.umich.edu>
> wrote:
>
>> gfortran, the one coming with the gnu package
>>
>> On May 13, 2010, at 6:04 PM, Alan wrote:
>>
>> So the question here is which gfortran are you using? Fink? MacPorts?
>>> Anything else?
>>>
>>> From your economical description of the problem I would assume
>>> you're
>>>> using
>>>>
>>> gfortran from Fink and you are not aware of /sw/bin/gcc-4 (Fink
>>> gcc) and
>>> /usr/bin/gcc (Apple gcc) to gcc-4, since it seems you're mixing
>>> /usr/bin/gcc
>>> with gfortran.
>>>
>>> See
>>>
>>> http://archive.ambermd.org/201004/0600.html
>>> http://archive.ambermd.org/201004/0607.html
>>>
>>> Alan
>>>
>>> On Thu, May 13, 2010 at 22:20, erik zuiderweg <zuiderwe.umich.edu>
>>> wrote:
>>>
>>> yes
>>>>
>>>>
>>>>
>>>> On May 13, 2010, at 5:12 PM, David Watson wrote:
>>>>
>>>> Are you using
>>>>
>>>>> configure -macAccelerate gnu
>>>>> to configure AT1.4?
>>>>>
>>>>> On May 13, 2010, at 3:52 PM, erik zuiderweg wrote:
>>>>>
>>>>> I am trying to install Ambertools1.4 on a Intel MacbookPro ,
>>>>> running Os
>>>>>
>>>>>> 10.6.
>>>>>> using the bash shell
>>>>>>
>>>>>> I have the gnu compilers installed.
>>>>>>
>>>>>> The configuration file is failing, WARNING: Unable to compile
>>>>>> mixed
>>>>>> C/Fortran code. (see attached log)
>>>>>>
>>>>>> The installation is failing because of a missing
>>>>>> /usr/local/amber11/lib/arpack.a file
>>>>>>
>>>>>> (see attached
>>>>>> log)
>>>>>> <Ambertools_configure_problems.txt><Ambertools_make_problems.txt>
>>>>>>
>>>>>> Please help!_______________________________________________
>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> 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
>>
>
>
>
> --
> 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 Fri May 14 2010 - 08:30:05 PDT
Custom Search