# Instructions to get Absoft Pro Fortran for # Mac OSX, 32 and 64-bit Linux systems # to work with MPICH version 1.2.4 # These instructions assume that the Absoft compilers will # be used to compile both the FORTRAN 77 and Fortran90 parts # of MPICH. If you have a symbolic link in /usr/bin between # g77 and f77, then g77 will be used to compile the FORTRAN # 77 code and the build will fail. # Download mpich.tar.gz using a web browser from: ftp://ftp.mcs.anl.gov/pub/mpi/mpich.tar.gz # From the command line use: ftp ftp.mcs.anl.gov # Use anonymous as the user and your email address # for the password. Then cd to /pub/mpi: cd /pub/mpi # make sure that binary transfer mode is set: bin # get the tar.gz file: get mpich.tar.gz # Unpack mpich.tar.gz like this: tar -xzvf mpich.tar.gz # Change your directory to mpich-1.2.4: cd mpich-1.2.4 # Force all Fortran object file symbols to be in lower case # and have trailing underscores (for compatibility with the # rest of the Absoft supplied libraries) and do the same for # mpich by setting these environment variables: export F90="f90 -YEXT_NAMES=LCS -YEXT_SFX=_" export FC="f77 -f -N15" # Configure and set the install directory for MPICH # /me is your home directory # /mpich is the name of the directory where MPICH will be # installed in to: ./configure --prefix=/home/me/mpich # Build mpich by typing make: make # Install mpich by typing make install: make install