-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

We've got what we thought would be a fairly standard OMPI (1.6.5)
install which is a single install built with GCC and then setting the
appropriate variables to use the Intel compilers when someone loads
our "intel" module:

$ module show intel
[...]
setenv           OMPI_CC icc
setenv           OMPI_CXX icpc
setenv           OMPI_F77 ifort
setenv           OMPI_FC ifort
setenv           OMPI_CFLAGS -xHOST -O3 -mkl=sequential
setenv           OMPI_FFLAGS -xHOST -O3 -mkl=sequential
setenv           OMPI_FCFLAGS -xHOST -O3 -mkl=sequential
setenv           OMPI_CXXFLAGS -xHOST -O3 -mkl=sequential

This works wonderfully, *except* when our director attempted to build
an F90 program with the Intel compilers that fails to build because
the mpi.mod F90 module was produced with gfortran rather than the
Intel compilers. :-(

Is there any way to avoid having to do parallel installs of OMPI with
GCC and Intel compilers just to have two different versions of these
files?

My brief googling hasn't indicated anything, and I don't see anything
in the mpif90 manual page (though I have to admit I've had to rush to
try and get this done before I need to leave for the day). :-(

cheers,
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlIVrpIACgkQO2KABBYQAh/GAQCggQGnc18kSfMcGle3a3pWZGgD
UQ8AoIz61uuOPj+TFJwSYMTaAtUBLk3J
=yJ6J
-----END PGP SIGNATURE-----

Reply via email to