/[MITgcm]/MITgcm/tools/example_scripts/csail/test_baudelaire
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/csail/test_baudelaire

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5 by jmc, Sun Jan 16 01:17:45 2011 UTC revision 1.6 by jmc, Wed Jan 19 23:48:14 2011 UTC
# Line 15  export LC_ALL="en_US.UTF-8" Line 15  export LC_ALL="en_US.UTF-8"
15  #  Turn off stack limit for FIZHI & AD-tests  #  Turn off stack limit for FIZHI & AD-tests
16  ulimit -s unlimited  ulimit -s unlimited
17  #  MPI test (for now, only with gfortran)  #  MPI test (for now, only with gfortran)
 #if test $MPI = 1 ; then  
18     export MPI_GCC_DIR=/srv/software/gcc/gcc-packages/gcc-4.4.5/mpich2/mpich2-1.3     export MPI_GCC_DIR=/srv/software/gcc/gcc-packages/gcc-4.4.5/mpich2/mpich2-1.3
19     export MPI_INC_DIR=$MPI_GCC_DIR/include     export MPI_INC_DIR=$MPI_GCC_DIR/include
20     export PATH="$PATH:$MPI_GCC_DIR/bin"     export PATH="$PATH:$MPI_GCC_DIR/bin"
 #fi  
21    
22  #- method to acces CVS:  #- method to acces CVS:
23   # export CVSROOT='/u/gcmpack'   # export CVSROOT='/u/gcmpack'
# Line 142  do Line 140  do
140  #-- set MPI command:  #-- set MPI command:
141    if test $MPI = 1 ; then    if test $MPI = 1 ; then
142      if test $typ = 'mpa' ; then      if test $typ = 'mpa' ; then
143        #EXE="mpirun -np 2 ./mitgcmuv_ad"        EXE="mpirun -np TR_NPROC ./mitgcmuv_ad"
       EXE="mpirun -np XX ./mitgcmuv_ad"  
144      else      else
145        #EXE="mpirun -np 2 ./mitgcmuv"        EXE="mpirun -np TR_NPROC ./mitgcmuv"
       EXE="mpirun -np XX ./mitgcmuv"  
146      fi      fi
147    fi    fi
148    
# Line 177  do Line 173  do
173      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
174    fi    fi
175    if test $MPI = 1 ; then echo " (EXE='$EXE')"    if test $MPI = 1 ; then echo " (EXE='$EXE')"
    #comm="$comm -mpi -command \"\$EXE\""  
176      comm="$comm -MPI 6 -command \"\$EXE\""      comm="$comm -MPI 6 -command \"\$EXE\""
177    else echo '' ; fi    else echo '' ; fi
178    if test "x$option" != x ; then comm="$comm $option" ; fi    if test "x$option" != x ; then comm="$comm $option" ; fi

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22