16 |
# Build executable |
# Build executable |
17 |
mkdir build |
mkdir build |
18 |
cd build |
cd build |
19 |
../tools/genmake2 -mo '../../MITgcm_contrib/ecco_darwin/v4_3deg/code ../../MITgcm_contrib/ecco_darwin/v4_llc270/code_darwin ../../MITgcm_contrib/ecco_darwin/v4_llc270/code' |
../tools/genmake2 -ieee -mo \ |
20 |
|
'../../MITgcm_contrib/ecco_darwin/v4_3deg/code ../../MITgcm_contrib/ecco_darwin/v4_llc270/code_darwin ../../MITgcm_contrib/ecco_darwin/v4_llc270/code' |
21 |
make depend |
make depend |
22 |
make -j 8 |
make -j 8 |
23 |
cd .. |
cd .. |
37 |
# ============================== |
# ============================== |
38 |
# Compare to verification output |
# Compare to verification output |
39 |
diff output.txt ../../MITgcm_contrib/ecco_darwin/v4_3deg/results/output.txt |
diff output.txt ../../MITgcm_contrib/ecco_darwin/v4_3deg/results/output.txt |
40 |
|
|
41 |
|
|
42 |
|
# ============================ |
43 |
|
# Build and run MPI executable |
44 |
|
cd build |
45 |
|
rm * |
46 |
|
cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/code/SIZE.h_mpi SIZE.h |
47 |
|
../tools/genmake2 -mpi -mo \ |
48 |
|
'../../MITgcm_contrib/ecco_darwin/v4_3deg/code ../../MITgcm_contrib/ecco_darwin/v4_llc270/code_darwin ../../MITgcm_contrib/ecco_darwin/v4_llc270/code' |
49 |
|
make depend |
50 |
|
make -j 8 |
51 |
|
cd ../run |
52 |
|
mpirun -np 8 ./mitgcmuv |