On 4/16/14, 8:23 AM, Cuauhtemoc Salazar wrote: > Dear Fink Users, > > After doing > fink -l install gcc > fink -l install openmpi > I get > mpic++ mpicc mpicxx mpiexec mpif77-vt mpif90-vt > mpifort-vt mpirun > mpic++-vt mpicc-vt mpicxx-vt mpif77 mpif90 mpifort > mpioutil > > As I would expect, I noticed that ‘mpifort’ and ‘mpif90’ are wrappers to > /sw/bin/gfortran > which in turn come from the Fink’s installation of gcc. > > Surprisingly, mpicc, mpic++ and all mpi-C-related wrappers are linked to the > Apple’s clang > /usr/bin/cc > and not to > /sw/bin/gcc > > I wonder if > - it is advisable and > - it is possible > to enforce Fink to use the C-compiler located under /sw > > With regards, > Temok > >
By design there is no /sw/bin/gcc unless you have ccache-default installed. Some packages require Xcode's compilers to build, In any case, it's problematic to use g++ from Fink's gcc48 on 10.9. The default there is to use libc++, but gcc48 uses libstc++, and they're not compatible. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
