9 |
# $Header$ |
# $Header$ |
10 |
# $Name$ |
# $Name$ |
11 |
|
|
12 |
umask 0022 |
# ACES-grid PBS-batch script for MPI test using ifort (default=v8) & mpich |
|
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
|
|
HERE='/home/jmc/test_ACES/output' |
|
|
cd $HERE |
|
13 |
|
|
14 |
if test -f /etc/profile.d/modules.sh ; then |
if test -f /etc/profile.d/modules.sh ; then |
15 |
. /etc/profile.d/modules.sh |
. /etc/profile.d/modules.sh |
16 |
fi |
fi |
17 |
|
# Note: added "ulimit -s unlimited" in file "~/.bashrc" |
18 |
|
# to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI |
19 |
|
|
20 |
|
umask 0022 |
21 |
|
#- to get case insensitive "ls" (and order of tested experiments) |
22 |
|
export LC_ALL="en_US.UTF-8" |
23 |
|
|
24 |
|
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
25 |
|
HERE='/home/jmc/test_ACES/output' |
26 |
|
cd $HERE |
27 |
|
|
28 |
sfx='ifc' |
sfx='ifc' |
29 |
module add mpich/intel |
module add mpich/intel |
30 |
OPTFILE="../tools/build_options/linux_ia32_ifort+mpi_aces" |
module add netcdf/3.6.1/icc |
31 |
options='-j 2 -mpi -match 10' |
export MPI_INC_DIR='/usr/local/pkg/mpich/mpich-intel/include/' |
32 |
|
OPTFILE="../tools/build_options/linux_ia32_ifort+mpi_aces" |
33 |
|
#OPTFILE="$HERE/linux_ia32_ifort+mpi_aces" |
34 |
|
options='-j 2 -mpi -match 10' |
35 |
|
|
36 |
checkOut=1 |
checkOut=1 |
37 |
#options="$options -nc" ; checkOut=0 |
#options="$options -nc" ; checkOut=0 |
42 |
NCPU=`wc -l $MF | awk '{print $1}'` |
NCPU=`wc -l $MF | awk '{print $1}'` |
43 |
EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv" |
EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv" |
44 |
|
|
|
# cat << EOF > $HERE"/.cvspass" |
|
|
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
|
|
# EOF |
|
45 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
46 |
cd $TST_DIR |
cd $TST_DIR |
47 |
#- check for disk space: |
#- check for disk space: |