Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:45:10 UTC

view on githubraw file Latest commit db787734 on 2006-12-12 22:23:41 UTC
db78773476 Chri*0001 #!/bin/sh
                0002 mpicommand=`which mpif90  >/dev/null 2>&1`
                0003 status=$?
                0004 if [ "$status" == "0" ]; then
                0005  mpicommand=`which mpif90`
                0006  mpibin=`echo $mpicommand  | sed s'z\(.*\)/[^/]*$z\1'z`
                0007  mpiroot=`echo $mpibin     | sed s'z\(.*\)/[^/]*$z\1'z`
                0008  mpi_idir=$mpiroot"/include"
                0009 else
                0010  mpi_idir=""
                0011 fi
                0012 echo $mpi_idir