18 |
. /etc/profile.d/modules.sh |
. /etc/profile.d/modules.sh |
19 |
fi |
fi |
20 |
# Note: added "ulimit -s unlimited" in file "~/.bashrc" |
# Note: added "ulimit -s unlimited" in file "~/.bashrc" |
21 |
# to pass big test (the 2 fizhi-cs-* test) with MPI |
# to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI |
22 |
|
|
23 |
sfx='adm' |
sfx='adm' |
24 |
module add mpich/gnu |
module add mpich/intel |
25 |
OPTFILE="../tools/build_options/linux_ia32_g77+mpi_aces" |
OPTFILE="../tools/build_options/linux_ia32_ifort+mpi_aces" |
26 |
options='-adm -mpi' |
options='-adm -mpi -match 10' |
27 |
#- need this to get "staf": |
#- need this to get "staf": |
28 |
export PATH="$PATH:$HOME/bin" |
export PATH="$PATH:$HOME/bin" |
29 |
|
|
36 |
NCPU=`wc -l $MF | awk '{print $1}'` |
NCPU=`wc -l $MF | awk '{print $1}'` |
37 |
EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv_ad" |
EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv_ad" |
38 |
|
|
|
# cat << EOF > $HERE"/.cvspass" |
|
|
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
|
|
# EOF |
|
39 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
40 |
cd $TST_DIR |
cd $TST_DIR |
41 |
#- check for disk space: |
#- check for disk space: |
73 |
fi |
fi |
74 |
|
|
75 |
cd $gcmDIR/verification |
cd $gcmDIR/verification |
|
# avoid hanging in fizhi-cs-32x32x40 (due to I/O problems with g77) |
|
76 |
echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx |
echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx |
77 |
./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx |
./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx |
78 |
|
|