[mpich-discuss] RHEL5 yum build doesn't have mpif90?

Adams, Jeb jeba at amgen.com
Wed Aug 17 10:19:40 CDT 2011


Hello,

I am trying to enable MPICH2 on a RHEL5 server farm for NONMEM use. Users (self included) will never run as root on this machine. I do have sudo and used that to install from yum:

sudo yum install mpich2.x86_64

yum info has the following:
[usto-sapp-nmm02 3] ~ > yum info mpich2
Loaded plugins: security
Installed Packages
Name       : mpich2
Arch       : x86_64
Version    : 1.2.1p1
Release    : 1.el5
Size       : 7.4 M
Repo       : installed
Summary    : A high-performance implementation of MPI
URL        : http://www.mcs.anl.gov/research/projects/mpich2
License    : MIT
Description: MPICH2 is a high-performance and widely portable implementation of
           : the MPI standard. This release has all MPI-2.1 functions and
           : features required by the standard with the exeption of support for
           : the "external32" portable I/O format.  The mpich2 binaries in this
           : RPM packages were configured to use the default process manager
           : 'MPD' using the default device 'ch3'. The ch3 device was configured
           : with support for the nemesis channel that allows for shared-memory
           : and TCP/IP sockets based communication.  This build also include
           : support for using '/usr/sbin/alternatives' and/or the 'module
           : environment' to select which MPI implementation to use when
           : multiple implementations are installed.

After install and configuring secret words and what not, we noticed mpif90 didn't seem to exist. NONMEM is a FORTRAN compiled, so that's a must. mpich2version looks like it got built:

[usto-sapp-nmm02 7] ~ > mpich2version
MPICH2 Version:         1.2.1p1
MPICH2 Release date:    Unknown, built on Wed Aug 18 16:08:05 UTC 2010
MPICH2 Device:          ch3:nemesis
MPICH2 configure:       --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-sharedlibs=gcc --enable-f90 --with-device=ch3:nemesis --sysconfdir=/etc/mpich2-x86_64 --includedir=/usr/include/mpich2-x86_64 --libdir=/usr/lib64/mpich2/lib --datadir=/usr/share/mpich2 --mandir=/usr/share/man/mpich2 --docdir=/usr/share/mpich2/doc --htmldir=/usr/share/mpich2/doc --with-java=/etc/alternatives/java_sdk F90=gfortran F77=gfortran CFLAGS=-m64 -O2 -fPIC CXXFLAGS=-m64 -O2 -fPIC F90FLAGS=-m64 -O2 -fPIC FFLAGS=-m64 -O2 -fPIC LDFLAGS=-Wl,-z,noexecstack MPICH2LIB_CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic MPICH2LIB_CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic MPICH2LIB_F90FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic MPICH2LIB_FFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
MPICH2 CC:      gcc -m64 -O2 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2
MPICH2 CXX:     c++ -m64 -O2 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2
MPICH2 F77:     gfortran -m64 -O2 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2
MPICH2 F90:     gfortran -m64 -O2 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2

But which mpif90 returns nothing and locate mpif90 only returns documentation.

[usto-sapp-nmm02 10] ~ > locate mpif90
/etc/alternatives/mpif90-man
/etc/mpich2-x86_64/mpif90.conf
/usr/share/man/man1/mpif90.1.gz
/usr/share/man/mpich2/man1/mpif90.1.gz

Any next steps would be appreciated!

Jeb Adams, Research Operations Manager
PKDM IS Liaison
~~~~~~~~~~~~~~~~~~
jeba at amgen.com
805.313.5022
PKDM IS Portal



More information about the mpich-discuss mailing list