/[MITgcm]/MITgcm/tools/example_scripts/ACESgrid/aces_test_adm_mpi
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_adm_mpi

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

revision 1.2 by jmc, Tue Jun 2 19:58:20 2009 UTC revision 1.3 by jmc, Mon Jun 15 02:32:22 2009 UTC
# Line 18  if test -f /etc/profile.d/modules.sh ; t Line 18  if test -f /etc/profile.d/modules.sh ; t
18      . /etc/profile.d/modules.sh      . /etc/profile.d/modules.sh
19  fi  fi
20  # Note: added "ulimit -s unlimited" in file "~/.bashrc"  # Note: added "ulimit -s unlimited" in file "~/.bashrc"
21  #   to pass big test (the 2 fizhi-cs-* test) with MPI  #   to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI
22    
23  sfx='adm'  sfx='adm'
24  module add mpich/gnu  module add mpich/intel
25  OPTFILE="../tools/build_options/linux_ia32_g77+mpi_aces"  OPTFILE="../tools/build_options/linux_ia32_ifort+mpi_aces"
26  options='-adm -mpi'  options='-adm -mpi -match 10'
27  #- need this to get "staf":  #- need this to get "staf":
28  export PATH="$PATH:$HOME/bin"  export PATH="$PATH:$HOME/bin"
29    
# Line 36  cat $PBS_NODEFILE | sort | uniq > $MF Line 36  cat $PBS_NODEFILE | sort | uniq > $MF
36  NCPU=`wc -l $MF | awk '{print $1}'`  NCPU=`wc -l $MF | awk '{print $1}'`
37  EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv_ad"  EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv_ad"
38    
 # cat << EOF > $HERE"/.cvspass"  
 # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=  
 # EOF  
39  gcmDIR="MITgcm_$sfx"  gcmDIR="MITgcm_$sfx"
40  cd $TST_DIR  cd $TST_DIR
41  #- check for disk space:  #- check for disk space:
# Line 76  else Line 73  else
73  fi  fi
74    
75  cd $gcmDIR/verification  cd $gcmDIR/verification
 # avoid hanging in fizhi-cs-32x32x40 (due to I/O problems with g77)  
76  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx
77  ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx  ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx
78    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22