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

Diff of /MITgcm/tools/example_scripts/ACESgrid/itrda_gnu_test_mpi

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

revision 1.7 by edhill, Fri Jul 28 14:47:22 2006 UTC revision 1.8 by jmc, Tue Aug 1 15:21:25 2006 UTC
# Line 16  HERE='/home/edhill/test_outp' Line 16  HERE='/home/edhill/test_outp'
16  cd $HERE  cd $HERE
17    
18  FC=g77  FC=g77
 RUNIT=$HERE"/runit_"$FC  
19  MF=$HERE"/mf_"$FC  MF=$HERE"/mf_"$FC
20  cat $PBS_NODEFILE | sort | uniq > $MF  cat $PBS_NODEFILE | sort | uniq > $MF
21  NCPU=`wc -l $MF | awk '{print $1}'`  NCPU=`wc -l $MF | awk '{print $1}'`
22  EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"  EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"
23    
 cat << EOF > $RUNIT  
 #!/bin/bash  
   
 $EXE  
   
 cp STDOUT.0000 output.txt  
   
 EOF  
 chmod a+x $RUNIT  
   
24  # cat << EOF > $HERE"/.cvspass"  # cat << EOF > $HERE"/.cvspass"
25  # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=  # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
26  # EOF  # EOF
# Line 49  cvs -d :pserver:cvsanon@mitgcm.org:/u/gc Line 38  cvs -d :pserver:cvsanon@mitgcm.org:/u/gc
38    
39  cd MITgcm/verification  cd MITgcm/verification
40  OPTFILE="../tools/build_options/linux_ia32_"$FC"+mpi_aces"  OPTFILE="../tools/build_options/linux_ia32_"$FC"+mpi_aces"
41  # ./testreport -j 2 -mpi -of $OPTFILE -command $RUNIT -a 'edhill@mitgcm.org'  # ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE" -a 'edhill@mitgcm.org'
42  ./testreport -j 2 -mpi -of $OPTFILE -command $RUNIT  echo ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE"
43    ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE"
44    

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

  ViewVC Help
Powered by ViewVC 1.1.22