Hi all,
I may have triggered this discussion about Mac gcc/gfortran problems
by my mail to Dave yesterday...
Thanks for the quick response.
YES, gcc/gfortran from macports solves all issues (after cleaning up
the mess left by all other attempts, or better, starting from
scratch). On OS 10.6.7, I succeeded using the gcc and gfortran 4.4.6
versions below:
gcc
Using built-in specs.
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.4.6/configure --prefix=/opt/local
--build=x86_64-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,java,fortran
--libdir=/opt/local/lib/gcc44 --includedir=/opt/local/include/gcc44
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--with-local-prefix=/opt/local --with-system-zlib --disable-nls
--program-suffix=-mp-4.4
--with-gxx-include-dir=/opt/local/include/gcc44/c++/
--with-gmp=/opt/local --with-mpfr=/opt/local --enable-stage1-checking
--enable-fully-dynamic-string
Thread model: posix
gcc version 4.4.6 (GCC)
and
gfortran
Using built-in specs.
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.4.6/configure --prefix=/opt/local
--build=x86_64-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,java,fortran
--libdir=/opt/local/lib/gcc44 --includedir=/opt/local/include/gcc44
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--with-local-prefix=/opt/local --with-system-zlib --disable-nls
--program-suffix=-mp-4.4
--with-gxx-include-dir=/opt/local/include/gcc44/c++/
--with-gmp=/opt/local --with-mpfr=/opt/local --enable-stage1-checking
--enable-fully-dynamic-string
Thread model: posix
gcc version 4.4.6 (GCC)
Any attempts with pre-built gnu compilers for Mac failed in my hands
(various binaries from
http://r.research.att.com/tools/ or
http://hpc.sourceforge.net/). I have sometimes used such binaries
successfully for other projects, but it seems to be a lottery.
My advice: make this clear in the documentation, without offending the
people who spend time to create binaries and offer them to the
community, of course...:-). And maybe add a short note on how to
ensure that the macports compilers are actually used (gcc_select for
those who have a mess of compilers like me for now...)
---regards---romain
On Tue, Apr 19, 2011 at 10:03 PM, David A Case <case.biomaps.rutgers.edu> wrote:
> Hi everyone:
>
> I'm starting to see comments (so far, sent to me personally) about
> compiler/OS combinations that fail for MacOSX. I hadn't looked at
> http://amberonmac.blogspot.com/ for a while, but that looks like some good
> info. But I'd like to get developers' input on known "good" combinations
> for gnu compilers (no intel, pgi, etc for now please).
>
> For example, in spite of Mengjuei's bad-mouthing of mac ports, I've never had
> problems there. For me, with Mac OS 10.6.6, I use mac ports gcc44 (i.e.
> /opt/local/bin/gcc-mp-4.4) and corresponding gfortran. I've never seen any
> problems, and downloading/installing them was supersimple, so I'd be tended to
> recommend that path.
>
> Mengjuei indicates that the gcc+gfortran package at hpc.sf.net works for him
> (no OS revision is indicated). The amberonmac blog cited above has pretty
> complete details.
>
> What else seems to work? Is anyone running 10.6.7? I am still afraid to
> upgrade, although with all the virtual machines around these days it probably
> would not be that bad.
>
> Also, if anyone is still at 10.5 and has recommendations there, I'd appreciate
> it. (Again: for me I went with mac ports from the very beginning, and never
> saw the problems other people are seeing.)
>
> Also, if you have examples of specific error messages that arise when "bad"
> compilers are used, we might try to keep a registry of those somewhere, to
> help people out who run into them.
>
> Comments from "real" mac people are welcome.
>
> ...thx...dac
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Apr 20 2011 - 07:30:04 PDT