/[MITgcm]/MITgcm/verification/cpl_aim+ocn/run_cpl_test_itrda
ViewVC logotype

Diff of /MITgcm/verification/cpl_aim+ocn/run_cpl_test_itrda

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

revision 1.6 by jmc, Sun Jul 2 22:12:37 2006 UTC revision 1.7 by jmc, Mon Jul 17 01:34:23 2006 UTC
# Line 19  fi Line 19  fi
19  kpr=$1  kpr=$1
20  dir=`pwd`  dir=`pwd`
21    
22  #- only works from a 3 nodes PBS bach session ( qsub -I -l nodes=3:p4 )  #- only works from a 3 nodes PBS bach session ( qsub -I -l nodes=3 )
23  #  on myrinet cluster:  #  on ACES cluster (tested on itrda).
24  #xx=`hostname | sed 's/[0-9]/X/g'`  # need to be on one computer node,
25  #if test $xx != 'myrinet-X-XX'  #  and with the correct module loaded (i.e, one of the 3):
26  #then  # > module load mpich/gnu
27  #  echo ' hostname='`hostname`  # > module load mpich/intel
28  #  echo 'for now, works only on myrinet cluster'  # > module load mpich/pgi
 #  exit 9  
 #fi  
29  if test 'dummy'$PBS_NODEFILE = 'dummy'  if test 'dummy'$PBS_NODEFILE = 'dummy'
30  then  then
31    echo ' $PBS_NODEFILE not defined'    echo ' $PBS_NODEFILE not defined'
# Line 125  fi Line 123  fi
123    
124  if test $kpr = 2  if test $kpr = 2
125  then  then
126      /bin/rm -r -f rank_0 rank_1 rank_2
127      echo 'CP dir:' input_cpl '->' rank_0
128    cp -p -r input_cpl rank_0    cp -p -r input_cpl rank_0
   cp -p -r input_ocn rank_1  
   cp -p -r input_atm rank_2  
129    
130      echo 'CP dir:' input_ocn '->' rank_1
131      cp -p -r input_ocn rank_1
132    cd rank_1    cd rank_1
133    ./IMPORT_INPUT_FILES    ./prepare_run
134    cd $dir    cd $dir
135    
136      echo 'CP dir:' input_atm '->' rank_2
137      cp -p -r input_atm rank_2
138    cd rank_2    cd rank_2
139    ./SHARE_OCN_GRID '../rank_1'    ./prepare_run
   ./IMPORT_INPUT_FILES  
140    cd $dir    cd $dir
141    
142  fi  fi

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

  ViewVC Help
Powered by ViewVC 1.1.22