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

Annotation of /MITgcm/tools/example_scripts/ACESgrid/itrda_intel_test_mpi

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


Revision 1.7 - (hide annotations) (download)
Tue Aug 1 15:21:25 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.6: +3 -13 lines
no need for a RUNIT script since "testreport -mpi" now reconizes
 STDOUT.0000 as outputfile

1 edhill 1.1 #!/bin/bash
2     #
3 edhill 1.3 #PBS -q long
4 edhill 1.1 #PBS -N eh3_ifc
5 edhill 1.4 #PBS -l nodes=2:ppn=2
6 edhill 1.1 #PBS -e /home/edhill/test_outp/eh3_intel.stderr
7     #PBS -o /home/edhill/test_outp/eh3_intel.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/intel
14    
15     HERE='/home/edhill/test_outp'
16     cd $HERE
17    
18 edhill 1.6 FC=ifort
19 edhill 1.1 MF=$HERE"/mf_"$FC
20 edhill 1.4 cat $PBS_NODEFILE | sort | uniq > $MF
21 edhill 1.1 NCPU=`wc -l $MF | awk '{print $1}'`
22     EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"
23    
24     # cat << EOF > $HERE"/.cvspass"
25     # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
26     # EOF
27 edhill 1.5 umask 0022
28 edhill 1.2 TDIR="/net/ds-01/scratch-5/edhill/tmp_"$FC
29 edhill 1.1 if test -e $TDIR ; then
30     rm -rf $TDIR
31     fi
32     mkdir $TDIR
33     cd $TDIR
34     cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co MITgcm > /dev/null 2>&1
35     # cvs co MITgcm
36 edhill 1.5 /usr/bin/find $TDIR -type d | xargs chmod g+rxs
37     /usr/bin/find $TDIR -type f | xargs chmod g+r
38    
39 edhill 1.1 cd MITgcm/verification
40 edhill 1.6 OPTFILE="../tools/build_options/linux_ia32_"$FC"+mpi_aces"
41 jmc 1.7 # ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE" -a 'edhill@mitgcm.org'
42     echo ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE"
43     ./testreport -j 2 -mpi -of $OPTFILE -command "$EXE"
44 edhill 1.1

  ViewVC Help
Powered by ViewVC 1.1.22