| 3 |
# $Header$ |
# $Header$ |
| 4 |
# $Name$ |
# $Name$ |
| 5 |
|
|
| 6 |
echo 'source ~jmc/bin/intel_64.csh' |
#echo 'source ~jmc/bin/intel_v11.sh' |
| 7 |
source ~jmc/bin/intel_64.sh |
#source ~jmc/bin/intel_v11.sh |
| 8 |
|
echo 'source ~jmc/bin/intel_v12.sh' |
| 9 |
|
source ~jmc/bin/intel_v12.sh |
| 10 |
tst_list='mp2 ur4' |
tst_list='mp2 ur4' |
| 11 |
#tst_list='ur4' |
#tst_list='ur4' |
| 12 |
#tst_list='mp2' |
#tst_list='mp2' |
| 46 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
| 47 |
export KMP_STACKSIZE=400m |
export KMP_STACKSIZE=400m |
| 48 |
|
|
| 49 |
testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort+mpi_loc \ |
testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11+mpi_generic \ |
| 50 |
-command='mpirun -v -np TR_NPROC ./mitgcmuv' \ |
-devel -command='mpirun -v -np TR_NPROC ./mitgcmuv' \ |
| 51 |
-a jmc@mitgcm.org -nc > ../../tr_run_$tt.log 2>&1 |
-a jmc@mitgcm.org -nc > ../../tr_run_$tt.log 2>&1 |
| 52 |
|
|
| 53 |
#unset echo |
#unset echo |
| 62 |
|
|
| 63 |
if test $tt = 'ur4' ; then |
if test $tt = 'ur4' ; then |
| 64 |
|
|
| 65 |
testreport -MPI 3 -ur4 -of ../../linux_amd64_ifort+mpi_chk \ |
testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11+mpi_generic \ |
| 66 |
-nc -dd -nr > ../../tr_run_$tt.log 2>&1 |
-devel -nc -dd -nr > ../../tr_run_$tt.log 2>&1 |
| 67 |
|
|
| 68 |
set +x |
set +x |
| 69 |
echo '' ; echo ' remove */build/*.o */mitgcmuv' |
echo '' ; echo ' remove */build/*.o */mitgcmuv' |
| 72 |
echo '' |
echo '' |
| 73 |
set -x |
set -x |
| 74 |
|
|
| 75 |
testreport -MPI 3 -ur4 -of ../../linux_amd64_ifort+mpi_chk \ |
testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11+mpi_generic \ |
| 76 |
-match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \ |
-devel -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \ |
| 77 |
-a jmc@mitgcm.org -q >> ../../tr_run_$tt.log 2>&1 |
-a jmc@mitgcm.org -q >> ../../tr_run_$tt.log 2>&1 |
| 78 |
|
|
| 79 |
sed -n "/ email /,$ p" ../../tr_run_$tt.log |
sed -n "/ email /,$ p" ../../tr_run_$tt.log |