1 |
#! /usr/bin/env bash |
#! /usr/bin/env bash |
2 |
|
|
3 |
##REM #PBS -S /bin/bash |
#PBS -S /bin/bash |
4 |
##REM #PBS -NaMITgcm_ifort |
#PBS -N MITgcm_ifort |
5 |
##REM #PBS -l ncpus=2 |
#PBS -l ncpus=2 |
6 |
##REM # PBS -l mem=7776MB |
## PBS -l mem=7776MB |
7 |
##REM #PBS -l walltime=4:00:00 |
#PBS -l walltime=4:00:00 |
8 |
##REM #PBS -j oe |
#PBS -j oe |
9 |
##REM # PBS -W group_list=g12345 |
#PBS -W group_list=g26167 |
10 |
##REM # PBS -m e |
## PBS -m e |
11 |
|
|
12 |
echo -n "Setting up modules... " |
echo -n "Setting up modules... " |
13 |
. /opt/modules/default/init/bash |
. /usr/share/modules/init/bash |
14 |
module purge |
module purge |
|
### OLD! module load modules scsl.1.5.0.0 intel-comp.8.1.024 mpt.1.11-85 |
|
15 |
module load modules scsl.1.5.0.0 intel-comp.9.0.027 mpt.1.12.0.0 |
module load modules scsl.1.5.0.0 intel-comp.9.0.027 mpt.1.12.0.0 |
16 |
echo "done" |
echo "done" |
17 |
|
|
18 |
echo -n "Getting MITgcm from cvs perver... " |
echo -n "Getting MITgcm from cvs perver... " |
19 |
cd /nobackup2/edhill |
cd /nobackup1/edhill |
20 |
test -e MITgcm && rm -rf MITgcm |
test -e MITgcm && rm -rf MITgcm |
21 |
export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
22 |
cvs co MITgcm > /dev/null 2>&1 |
cvs co MITgcm > /dev/null 2>&1 |
26 |
|
|
27 |
cd MITgcm/verification/ |
cd MITgcm/verification/ |
28 |
./testreport -mpi \ |
./testreport -mpi \ |
29 |
-of=/nobackup2/edhill/MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_nas -pc \ |
-of=/nobackup1/edhill/MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_nas -pc \ |
30 |
-command '(mpirun -np 2 ./mitgcmuv ; sleep 2 ; cp STDOUT.0000 output.txt)' \ |
-command '(mpirun -np 2 ./mitgcmuv ; sleep 2 ; cp STDOUT.0000 output.txt)' \ |
31 |
-j 16 -a edhill@mitgcm.org |
-j 16 -a edhill@mitgcm.org |
32 |
|
|