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

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_pgi_mpi

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

revision 1.5 by jmc, Fri Jan 25 15:17:20 2008 UTC revision 1.6 by jmc, Thu May 22 22:32:48 2008 UTC
# Line 23  module add mpich/$sfx Line 23  module add mpich/$sfx
23  OPTFILE="../tools/build_options/linux_ia32_pgf77+mpi_aces"  OPTFILE="../tools/build_options/linux_ia32_pgf77+mpi_aces"
24  options='-mpi -match 10'  options='-mpi -match 10'
25    
26    checkOut=1
27    #options="$options -nc" ; checkOut=0
28    #options="$options -q"  ; checkOut=0
29    
30  MF=$HERE"/mf_"$sfx  MF=$HERE"/mf_"$sfx
31  cat $PBS_NODEFILE | sort | uniq > $MF  cat $PBS_NODEFILE | sort | uniq > $MF
32  NCPU=`wc -l $MF | awk '{print $1}'`  NCPU=`wc -l $MF | awk '{print $1}'`
# Line 33  EXE="mpirun -machinefile $MF -v -np $NCP Line 37  EXE="mpirun -machinefile $MF -v -np $NCP
37  # EOF  # EOF
38  gcmDIR="MITgcm_$sfx"  gcmDIR="MITgcm_$sfx"
39  cd $TST_DIR  cd $TST_DIR
40  if test -e $gcmDIR ; then  if test $checkOut = '1' ; then
41      rm -rf $gcmDIR    if test -e $gcmDIR ; then
42         rm -rf $gcmDIR
43      fi
44      cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1
45    # cvs co MITgcm
46      /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
47      /usr/bin/find $gcmDIR -type f | xargs chmod g+r
48    else
49      if test -e $gcmDIR/verification ; then
50         echo "dir $gcmDIR exist"
51      else
52         echo "no dir $gcmDIR/verification => exit"
53         exit
54      fi
55  fi  fi
 cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1  
 #  cvs co MITgcm  
 /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs  
 /usr/bin/find $gcmDIR -type f | xargs chmod g+r  
56    
57  cd $gcmDIR/verification  cd $gcmDIR/verification
58  echo ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx  echo ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx

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

  ViewVC Help
Powered by ViewVC 1.1.22