Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] question about OMPI_MPIF90
From: Steve Heistand (steve.heistand_at_[hidden])
Date: 2011-12-20 15:28:49


so from what Ive seen all over the interwweb the OMPI_MPIF77/90 environment variables are able to
override the default compilers when using the mpif77/mpif90 wrappers.
But from what I have seen the F90 one doesnt seem to.

Using 1.4.3 and 1.4.4 for example:

bridge3:heistand% mpif90 -v
Version 11.1
bridge3:heistand% setenv OMPI_MPIF90 test
bridge3:heistand% mpif90 -v
Version 11.1

bridge3:heistand% setenv OMPI_MPIF90 gfortran
bridge3:heistand% mpif90 -v
Version 11.1

(didnt change what the wrapper used.)
but for F77:

bridge3:heistand% mpif77 -v
Version 11.1

bridge3:heistand% setenv OMPI_MPIF77 gfortran
bridge3:heistand% mpif77 -v
Using built-in specs.
Target: x86_64-suse-linux

this one works just fine.

so Im confused.

any comments/suggestions?

thanks

steve

-- 
************************************************************************
 Steve Heistand                           NASA Ames Research Center
 SciCon Group                             Mail Stop 258-6
 steve.heistand_at_[hidden]  (650) 604-4369  Moffett Field, CA 94035-1000
************************************************************************
 "Any opinions expressed are those of our alien overlords, not my own."