/[MITgcm]/MITgcm_contrib/mlosch/cs32test/README
ViewVC logotype

Contents of /MITgcm_contrib/mlosch/cs32test/README

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


Revision 1.1 - (show annotations) (download)
Sat Mar 10 14:26:27 2007 UTC (17 years, 1 month ago) by mlosch
Branch: MAIN
CVS Tags: HEAD
add some instruction/script for running the test

1 #!/bin/csh
2 # rough instruction for building and running the test and compare a
3 # cubed sphere with 96 tiles and no holes to a cubed sphere with 91 tiles
4 # and 5 missing tiles. Basically you can use this file as a script after
5 # modifying a the variable myFavoriteOptfile and maybe commenting in a few
6 # lines.
7 # The configuration is based on verification/global_ocean.cs32x15 but with
8 # seaice instead of thsice.
9 # The test starts from a pickup files of the 2nd time steps to have non-zero
10 # velocities etc at the very beginnning of the integration. The momentum
11 # forcing is specified as stress, but only because I did not have the correct
12 # winds interpolated to the sphere. In order to use winds, change the
13 # appropriate flag in code/EXF_OPTIONS.h (#define ALLOW_ATM_WIND) and use
14 # the stresses as input (will be wrong but for one timestep it just means too
15 # little wind).
16 #
17 set myFavoriteOptfile = '../../../../MITgcm/tools/build_options/darwin_ppc_g77'
18 #cvs co MITgcm_code (or the entire code if you must)
19 #cvs co MITgcm_contrib/mlosch/cs32test
20 cd MITgcm_contrib/mlosch/cs32test
21 mkdir build_s96t
22 cd build_s96t
23 ../../../../MITgcm/tools/genmake2 -of $myFavoriteOptfile -rootdir ../../../../MITgcm -mods "../s96t ../code"
24 make depend
25 make
26 cd ../
27 mkdir build_s91t
28 cd build_s91t
29 ../../../../MITgcm/tools/genmake2 -of $myFavoriteOptfile -rootdir ../../../../MITgcm -mods "../s91t ../code"
30 make depend
31 make
32 cd ../
33 #
34 mkdir run
35 cd run
36 ln -s ../input/* .
37 # this one works and gives a reasonable result
38 ../build_s96t/mitgcmuv > output.s96t
39 # this one gives NaNs after the first timestep
40 ../build_s91t/mitgcmuv > output.s91t

  ViewVC Help
Powered by ViewVC 1.1.22