/[MITgcm]/MITgcm_contrib/ecco_darwin/v4_3deg/readme.txt
ViewVC logotype

Diff of /MITgcm_contrib/ecco_darwin/v4_3deg/readme.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7 by dimitri, Sat Jan 25 00:25:46 2020 UTC revision 1.14 by dcarroll, Thu Feb 27 18:57:36 2020 UTC
# Line 4  Line 4 
4  # ========  # ========
5  # Get code  # Get code
6   cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm_code   cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm_code
  cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co MITgcm_contrib/ecco_darwin/v4_3deg  
  cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "03/22/18" MITgcm_contrib/darwin/pkg/darwin  
7   cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm/verification/tutorial_global_oce_biogeo   cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm/verification/tutorial_global_oce_biogeo
8     cvs co MITgcm_contrib/ecco_darwin/v4_3deg
9     cvs co MITgcm_contrib/ecco_darwin/v4_llc270
10     cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "03/22/18" MITgcm_contrib/darwin/pkg/darwin
11   cd MITgcm/pkg   cd MITgcm/pkg
12   ln -sf ../../MITgcm_contrib/darwin/pkg/darwin .   ln -sf ../../MITgcm_contrib/darwin/pkg/darwin .
13   cd ..   cd ..
# Line 15  Line 16 
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   ../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 ..
# Line 25  Line 27 
27   mkdir run   mkdir run
28   cd run   cd run
29   ln -sf ../build/mitgcmuv .   ln -sf ../build/mitgcmuv .
30     cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input/data* .
31     cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input_darwin/data* .
32   cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* .   cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* .
33   ln -sf ../verification/tutorial_global_oce_biogeo/input/*bin .   ln -sf ../verification/tutorial_global_oce_biogeo/input/bathy.bin .
34   rm lev_* shi_* tren_t*   ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/* .
  ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/runof* .  
  ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/*_2000 .  
  ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/*.0005184000 .  
35   ./mitgcmuv > output.txt   ./mitgcmuv > output.txt
36    
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    # Build and run MPI executable
43     cd build
44     rm *
45     cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/code/SIZE.h_mpi SIZE.h
46     ../tools/genmake2 -mpi -mo \
47      '../../MITgcm_contrib/ecco_darwin/v4_3deg/code ../../MITgcm_contrib/ecco_darwin/v4_llc270/code_darwin ../../MITgcm_contrib/ecco_darwin/v4_llc270/code'
48     make depend
49     make -j 8
50     cd ../run
51     ln -sf ../build/mitgcmuv .
52     cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input/data* .
53     cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input_darwin/data* .
54     cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* .
55     mv data_mpi data
56     ln -sf ../verification/tutorial_global_oce_biogeo/input/bathy.bin .
57     ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/* .
58     mpirun -np 8 ./mitgcmuv &
59     tail -f STDOUT.0000 | grep advcfl_W
60    
61    # ============================
62    # MATLAB code for computing volume, salt, salinity, and DIC budgets
63     cd ../../MITgcm_contrib/ecco_darwin/v4_3deg/
64     module load matlab
65     matlab
66    
67     if using gcmfaces, run budget_v4_3deg_with_gcmfaces.m
68     if not using gcmfaces, run budget_v4_3deg_without_gcmfaces.m

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22