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

Annotation of /MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mpi

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


Revision 1.5 - (hide annotations) (download)
Fri Jan 25 15:17:20 2008 UTC (16 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59p, checkpoint59o, checkpoint59n
Changes since 1.4: +21 -24 lines
- 1 less level in directory tree
- make scripts for various tests more similar.

1 jmc 1.1 #!/bin/bash
2     #
3 jmc 1.4 #PBS -q four-twelve
4 jmc 1.1 #PBS -N tst_ifc
5     #PBS -l nodes=2:ppn=2
6     #PBS -e /home/jmc/test_ACES/output/tst_ifc.stderr
7     #PBS -o /home/jmc/test_ACES/output/tst_ifc.stdout
8    
9 jmc 1.5 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mpi,v 1.4 2007/12/06 03:32:12 jmc Exp $
10 jmc 1.1 # $Name: $
11    
12 jmc 1.5 umask 0022
13     TST_DIR="/home/jmc/test_ACES/gcm_tests"
14     HERE='/home/jmc/test_ACES/output'
15     cd $HERE
16    
17 jmc 1.1 if test -f /etc/profile.d/modules.sh ; then
18     . /etc/profile.d/modules.sh
19     fi
20 jmc 1.5
21     sfx='ifc'
22 jmc 1.1 module add mpich/intel
23 jmc 1.5 OPTFILE="../tools/build_options/linux_ia32_ifort+mpi_aces"
24     options='-j 2 -mpi -match 10'
25 jmc 1.1
26 jmc 1.5 MF=$HERE"/mf_"$sfx
27 jmc 1.1 cat $PBS_NODEFILE | sort | uniq > $MF
28     NCPU=`wc -l $MF | awk '{print $1}'`
29     EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"
30    
31     # cat << EOF > $HERE"/.cvspass"
32     # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
33     # EOF
34 jmc 1.5 gcmDIR="MITgcm_$sfx"
35     cd $TST_DIR
36     if test -e $gcmDIR ; then
37     rm -rf $gcmDIR
38 jmc 1.1 fi
39 jmc 1.5 cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1
40 jmc 1.1 # cvs co MITgcm
41 jmc 1.5 /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
42     /usr/bin/find $gcmDIR -type f | xargs chmod g+r
43 jmc 1.1
44 jmc 1.5 cd $gcmDIR/verification
45     echo ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx
46     ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx
47 jmc 1.1

  ViewVC Help
Powered by ViewVC 1.1.22