-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/9/12 8:08 AM, Smith, Phillip R. wrote: > I'd like to build OpenMPI using icc and ifort as the compilers. > > Is there a way to get fink to use the Intel compilers rather than > fink's defaults? > > Thanks! > > -Ross-= > >
Not automatically, but you can do a bit of editing and try it out. 1) Set yourself up a local openmpi package description along the lines of http://finkers.wordpress.com/2009/07/24/creating-local-packages/ 2) Check what OpenMPI accepts to adjust its build parameters. Fink's package (on 10.7, anyway) uses the following ConfigureParams: - --prefix=/sw --prefix=/sw --datadir=/sw/share/doc - --sysconfdir=/sw/etc/openmpi --sharedstatedir=/sw/var/openmpi/shared - --localstatedir=/sw/var/openmpi/local --libdir=/sw/lib/openmpi - --includedir=/sw/include --infodir=/sw/share/info - --mandir=/sw/share/man --enable-shared --enable-static FFLAGS=-O3 - --with-devel-headers F77=gfortran-fsf-4.6 FC=gfortran-fsf-4.6 so you can most likely replace "gfortran-fsf-4.6" with "ifort" in the F77 and FC entries of the ConfigureParams in your local openmpi.info . If it honors the CXX and CC environment variables, you can probably add SetCC: icc and SetCXX: <whatever the Intel g++ compiler executable is> lines to the the .info file. For more information take a look at http://www.finkproject.org/doc/packaging/index.php, and feel free to post back if you've got any questions along the way. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8z8K4ACgkQB8UpO3rKjQ+OIACfdgQ1/rRVSgkwt3E38AmlaKQi kckAn2Mz0deqJHPp8CVuQ+7K5Emmj1G8 =a+E3 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners