/[MITgcm]/MITgcm/verification/lab_sea/README
ViewVC logotype

Diff of /MITgcm/verification/lab_sea/README

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

revision 1.13 by dimitri, Wed Mar 31 01:27:39 2004 UTC revision 1.18 by jmc, Mon Mar 10 01:35:17 2014 UTC
# Line 36  More pkg/seaice test experiments, config Line 36  More pkg/seaice test experiments, config
36  high-resolution global cube-sphere domains are described  high-resolution global cube-sphere domains are described
37  in MITgcm_contrib/high_res_cube/README_ice.  in MITgcm_contrib/high_res_cube/README_ice.
38    
   
39  Using testscript to test sea-ice code  Using testscript to test sea-ice code
40  =====================================  =====================================
41    
42  Running the testscript experiment:  Running the testscript experiment:
43    cd MITgcm/verification    cd MITgcm/verification
44    ./testreport -t lab_sea    ./testreport -t lab_sea [-of my_platform_optionFile]
45    
46  Note that fairly large differences in accuracy occur across different  Note that fairly large differences in accuracy occur across different
47  platforms.  For example, testscript comparisons between g77 (Linux)  platforms.  For example, testscript comparisons between g77 (Linux)
# Line 56  g d e n  d  n  x  n  .  n  x  n  .  n  x Line 55  g d e n  d  n  x  n  .  n  x  n  .  n  x
55    
56  Y Y Y Y  8 10  9 11 10  9 11 13 10  9  8  8  9  8  9  8  9 FAIL  lab_sea  Y Y Y Y  8 10  9 11 10  9 11 13 10  9  8  8  9  8  9  8  9 FAIL  lab_sea
57    
58    Instructions for generating and running a 1-CPU experiment
59    ==========================================================
60    
 Instructions for generating 1-CPU and 2-CPU executables  
 =======================================================  
   
 Generating 1-CPU executable:  
61    cd MITgcm/verification/lab_sea    cd MITgcm/verification/lab_sea
   mkdir build  
   cd build  
   ../../../tools/genmake2  
   make clean  
   make depend  
   make  
   mv mitgcmuv mitgcmuv_1  
62    
63  Generating 2-CPU executable:  Configure and compile the code:
64    cd ../code    cd build
65    \mv SIZE.h SIZE.h_1    ../../../tools/genmake2 -mods ../code [-of my_platform_optionFile]
   \mv SIZE.h_mpi SIZE.h  
   ../../../tools/genmake2 -mpi  
   make clean  
66    make depend    make depend
67    make    make
68    mv mitgcmuv mitgcmuv_2x1    cd ..
   
69    
70  Instructions for running Experiment 1  To run:
71  =====================================    cd run
72      ln -s ../input/* .
73      ln -s ../build/mitgcmuv .
74      ./mitgcmuv > output.txt
75      cd ..
76    
77  This is a 1-cpu, 10-hour integration used to make sure that all  There is comparison output in the directory:
78  the files are available and that the sea-ice model compiles and    results/output.txt
 runs.  The reading of atmospheric forcing files and the computation  
 of open-water bulk fluxes are carried out within pkg/seaice.  
   
 To run Experiment 1:  
   cd ../input  
   ./mitgcmuv_1 >&! output.txt  
79    
80  Use matlab script lookat_exp1.m to compare the output  Use matlab script lookat_ice.m to compare the output
81  of exp1 with that from checkpoint51f sea-ice code:   with that from checkpoint51f sea-ice code:
82    cd ../../../verification/lab_sea/matlab    cd ../../../verification/lab_sea/matlab
83    matlab    matlab
84    lookat_ice    lookat_ice
85    
86    Instructions for generating and running a 2-CPU experiment
87    ==========================================================
88    
89  Instructions for running Experiment 2    cd MITgcm/verification/lab_sea
 =====================================  
90    
91  This is a 2-cpu, 10-hour integration.  Configure and compile the code:
92      cd build
93      ../../../tools/genmake2 -mpi -mods ../code [-of my_platform_optionFile]
94      ln -s ../code/SIZE.h_mpi SIZE.h
95      make depend
96      make
97      cd ..
98    
99  To run Experiment 2:  To run:
100    cd ../../../verification/lab_sea/input    cd run
101    mpirun -np 2 mitgcmuv_2x1    ln -s ../input/* .
102      mpirun -np 2 ../build/mitgcmuv
103      cd ..
104    
105    Instructions for testing useExfYearlyFields (Note: might not be up-to-date)
106    ===========================================
107    
108      cd MITgcm/verification/lab_sea/build
109      \rm *
110      \cp ../code/* .
111      sed 's/undef EXF_V/define EXF_V/' \
112          ../../../pkg/exf/EXF_OPTIONS.h > EXF_OPTIONS.h
113      ../../../tools/genmake2
114      make depend
115      make -j
116      cd ../run
117      \rm *
118      \cp ../input/* .
119      \mv v10m.labsea1979 v10m.labsea_1979
120      \mv u10m.labsea1979 u10m.labsea_1979
121      \mv flo.labsea1979 flo.labsea_1979
122      \mv prate.labsea1979 prate.labsea_1979
123      \mv tair.labsea1979 tair.labsea_1979
124      \mv fsh.labsea1979 fsh.labsea_1979
125      \mv qa.labsea1979 qa.labsea_1979
126      \mv SSS_monthly.labsea1979 SSS_monthly.labsea_1979
127      \ln -sf v10m.labsea_1979 v10m.labsea_1978
128      \ln -sf u10m.labsea_1979 u10m.labsea_1978
129      \ln -sf flo.labsea_1979 flo.labsea_1978
130      \ln -sf prate.labsea_1979 prate.labsea_1978
131      \ln -sf tair.labsea_1979 tair.labsea_1978
132      \ln -sf fsh.labsea_1979 fsh.labsea_1978
133      \ln -sf qa.labsea_1979 qa.labsea_1978
134      \ln -sf SSS_monthly.labsea_1979 SSS_monthly.labsea_1978
135      \ln -sf v10m.labsea_1979 v10m.labsea_1980
136      \ln -sf u10m.labsea_1979 u10m.labsea_1980
137      \ln -sf flo.labsea_1979 flo.labsea_1980
138      \ln -sf prate.labsea_1979 prate.labsea_1980
139      \ln -sf tair.labsea_1979 tair.labsea_1980
140      \ln -sf fsh.labsea_1979 fsh.labsea_1980
141      \ln -sf qa.labsea_1979 qa.labsea_1980
142      \ln -sf SSS_monthly.labsea_1979 SSS_monthly.labsea_1980
143      \mv data.exf_YearlyFields data.exf
144      \mv data_YearlyFields data
145      sed 's/tics = .TRUE./tics = .FALSE./' ../input/data.pkg > data.pkg
146      ../build/mitgcmuv >& output.txt &

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.22