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

Diff of /MITgcm/tools/example_scripts/ACESgrid/test_aces_pgi_mpi

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

revision 1.17 by jmc, Wed May 7 16:16:04 2014 UTC revision 1.18 by jmc, Thu May 8 18:44:03 2014 UTC
# Line 22  echo " running on: "`hostname` Line 22  echo " running on: "`hostname`
22    
23  dNam='acesgrid'  dNam='acesgrid'
24  HERE="$HOME/test_$dNam"  HERE="$HOME/test_$dNam"
25  SavD="$HERE/send"  OUTP="$HERE/output"; SavD="$HERE/send"
26  SEND="ssh login $SavD/mpack"  SEND="ssh login $SavD/mpack"
27  TST_DIR="/scratch/jm_c/test_$dNam"  TST_DIR="/scratch/jm_c/test_$dNam"
28    
# Line 39  else Line 39  else
39  fi  fi
40    
41  sfx='pgi'  sfx='pgi'
42    addExp=''
43   module add pgi   module add pgi
44   module add mvapich   module add mvapich
45  #module add mvapich2  #module add mvapich2
# Line 49  sfx='pgi' Line 50  sfx='pgi'
50  dAlt=`date +%d` ; dAlt=`expr $dAlt % 3`  dAlt=`date +%d` ; dAlt=`expr $dAlt % 3`
51  if [ $dAlt -eq 1 ] ; then options="$options -fast" ; fi  if [ $dAlt -eq 1 ] ; then options="$options -fast" ; fi
52    
 #- keep a copy of MPI_MFILE:  
 cp -p $PBS_NODEFILE $HERE"/output/mf_"$sfx  
   
53  checkOut=2  checkOut=2
54  #options="$options -nc" ; checkOut=1  #options="$options -nc" ; checkOut=1
55  #options="$options -q"  ; checkOut=0  #options="$options -q"  ; checkOut=0
56    
57  addExp=0  #- keep a copy of MPI_MFILE:
58    cp -p $PBS_NODEFILE $OUTP"/mf_"$sfx
59    
60  cvsArg="-d :pserver:cvsanon@mitgcm.org:/u/gcmpack"  cvsArg="-d :pserver:cvsanon@mitgcm.org:/u/gcmpack"
61  gcmDIR="MITgcm_$sfx"  gcmDIR="MITgcm_$sfx"
62  cd $TST_DIR  cd $TST_DIR
# Line 105  if [ $checkOut -eq 2 ] ; then Line 105  if [ $checkOut -eq 2 ] ; then
105    fi    fi
106  # cvs co MITgcm  # cvs co MITgcm
107    cvs $cvsArg co -P -d $gcmDIR MITgcm > /dev/null 2>&1    cvs $cvsArg co -P -d $gcmDIR MITgcm > /dev/null 2>&1
108    if [ $addExp -ge 1 ]; then    for exp2add in $addExp ; do
109     echo " add dir: offline_cheapaml (from Contrib:verification_other)"     echo " add dir: $exp2add (from Contrib:verification_other)"
110     ( cd $gcmDIR/verification ; cvs $cvsArg co -P -d offline_cheapaml \     ( cd $gcmDIR/verification ; cvs $cvsArg co -P -d $exp2add \
111                    MITgcm_contrib/verification_other/offline_cheapaml > /dev/null 2>&1 )                    MITgcm_contrib/verification_other/$exp2add > /dev/null 2>&1 )
112    fi    done
113    /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs    /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
114    /usr/bin/find $gcmDIR -type f | xargs chmod g+r    /usr/bin/find $gcmDIR -type f | xargs chmod g+r
115  fi  fi

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.22