...
- learn about OpenIFS input and output files.
- learn some switches to control OpenIFS.
- learn how to run the model in parallel.
- learn how to run the acceptability test.
Panel | ||||
---|---|---|---|---|
| ||||
|
...
ref_021_0144
This file is reference output for the model tests. The model can be run in 'reference' mode where it checks it is working correctly by comparing some mathematical norms against these files. Reference runs are described in more detail under 'Acceptance testing' below.
Panel | ||||
---|---|---|---|---|
| ||||
Use the |
Panel | ||||
---|---|---|---|---|
| ||||
Run the model:
What happens? |
...
Whenever the model fails, it will produce this traceback (controlled by DR_HOOK=1 in the job file).
Single process test
Panel | ||||
---|---|---|---|---|
| ||||
Copy the file
|
...
ifs.stat
is a small file that prints the model steps, time taken for each step and a 'norm' measure. This file can be usually ignored but is useful for debugging.
Panel | ||||
---|---|---|---|---|
| ||||
Look at the output from the model in the Look at the grib output files using the grib commands. |
...
These next short tests verify the model works correctly with either OpenMP parallel threading, MPI tasks and both and follow on from the serial tests above.
Panel | ||||
---|---|---|---|---|
| ||||
Edit the file Run Do the reported CPU times change? Use the |
...
to verify the model ran with 4 OpenMP threads.
Panel | ||||
---|---|---|---|---|
| ||||
Edit the file Change the line: Also, edit the fort.4 file and change Rerun the job: Do the reported CPU times change? |
...
The final step is to check the model is producing the numerical answers within acceptable limits, even if it runs the short tests above without failing. OpenIFS includes code that will compute internal statistical norms and compare against numbers supplied by ECMWF. The file: ref_021_0144
in the t21test
directory contains statistical norms computed by the model run at ECMWF.
Panel | ||||
---|---|---|---|---|
| ||||
To do the acceptance test, edit the namelists in
change the number of timesteps to 72 to run the model for 12 hours (assuming you have not changed the default timestep of 10mins at T21) and set the LREFOUT to TRUE:
|
...
e.g
NFP3DFS = 5,
MFP3DFS = 130, 135, 138, 155,
would output the temperature (130), vertical velocities (135), relative vorticity (138), divergence (155) on model levels.
Panel | ||||
---|---|---|---|---|
| ||||
Using the information above, try:
|
...