/[MITgcm]/MITgcm_contrib/test_scripts/acesgrid/itrda_pgi_test_mpi
ViewVC logotype

Annotation of /MITgcm_contrib/test_scripts/acesgrid/itrda_pgi_test_mpi

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


Revision 1.2 - (hide annotations) (download)
Sat Jul 30 15:08:31 2005 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
remove old version ; the version currently used for testing has been
moved to MITgcm/tools/example_scripts/ACESgrid

1 edhill 1.1 #!/bin/bash
2     #
3     #PBS -q four
4     #PBS -N eh3_pgf77
5     #PBS -l nodes=2:ppn=1
6     #PBS -e /home/edhill/test_outp/eh3_pgi.stderr
7     #PBS -o /home/edhill/test_outp/eh3_pgi.stdout
8     #PBS -V
9    
10     if test -f /etc/profile.d/modules.sh ; then
11     . /etc/profile.d/modules.sh
12     fi
13     module add mpich/pgi
14    
15     HERE='/home/edhill/test_outp'
16     cd $HERE
17    
18     FC=pgf77
19     RUNIT=$HERE"/runit_"$FC
20     MF=$HERE"/mf_"$FC
21     cat $PBS_NODEFILE > $MF
22     NCPU=`wc -l $MF | awk '{print $1}'`
23     EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"
24    
25     cat << EOF > $RUNIT
26     #!/bin/bash
27    
28     $EXE > output.txt
29    
30     EOF
31     chmod a+x $RUNIT
32    
33     # cat << EOF > $HERE"/.cvspass"
34     # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
35     # EOF
36     TDIR="/net/itrda/scratch-5/edhill/tmp_"$FC
37     if test -e $TDIR ; then
38     rm -rf $TDIR
39     fi
40     mkdir $TDIR
41     cd $TDIR
42     cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co MITgcm > /dev/null 2>&1
43     # cvs co MITgcm
44     cd MITgcm/verification
45     OPTFILE="../tools/build_options/linux_ia32_"$FC"+mpi_itrda"
46     # ./testreport -j 2 -mpi -of $OPTFILE -command $RUNIT -a 'edhill@mitgcm.org'
47     ./testreport -j 2 -mpi -of $OPTFILE -command $RUNIT
48    

  ViewVC Help
Powered by ViewVC 1.1.22