Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The model will expect to find a file called fort.4 in the same directory as the executable. This script copies the executable from make/cce-opt/oifs/bin.

If the run works you will see output like:

Code Block
...
signal_drhook(SIGSYS=31): New handler installed at 0x4d06cf; old preserved at 0x0
MPL_BUFFER_METHOD:  2  17:09:08 STEP    1 H=   0:10 +CPU=  0.276
           STEP  0
  1 16:03:46 STEP## EC_MEMINFO    01 H= ccbppn01  0:00 +CPU=  3.598
309   16:03:46 STEP 206   1 H=   0:10 +CPU=  0.535
  16530 16:03:47 STEP   190 2 H=  16080 0:20 +CPU=  0.537
1188   16:03:48 STEP  35807   61171  3 H=   0:30 +CPU=.2   0.5370 s/p
   1617:0309:4808 STEP    42 H=   0:4020 +CPU=  0.527
280
           STEP    2 16:03:49 STEP    5 H=   0:50 +CPU=  0.526
   16:03:49 STEP    6 H=   1:00 +CPU=  0.530:## EC_MEMINFO    1 ccbppn01     309     206       0     16530     190    16011    1188     35740   61170      0.2   0.0 s/p
  17:09:08 STEP    3 H=   0:30 +CPU=  0.268
           STEP    3 :## EC_MEMINFO    1 ccbppn01     309     206       0     16530     190    16008    1188     35734   61170      0.2   0.0 s/p
  17:09:09 STEP    4 H=   0:40 +CPU=  0.264
           STEP    4 :## EC_MEMINFO    1 ccbppn01     309     206       0     16530     190    15966    1188     35695   61170      0.2   0.0 s/p
  17:09:09 STEP    5 H=   0:50 +CPU=  0.268
           STEP    5 :## EC_MEMINFO    1 ccbppn01     309     206       0     16530     190    16008    1188     35734   61171      0.2   0.0 s/p
  17:09:09 STEP    6 H=   1:00 +CPU=  0.004
           STEP    6 :## EC_MEMINFO    1 ccbppn01     309     206       0     16530     190    16008    1188     35734   61171      0.2   0.0 s/p

This test runs only 6 timesteps.

...

Panel
bgColor#f0f0ff
titleTasks - Enable OpenMP

Edit the file run.ppn and change the line: export NTHREADS=1 to NTHREADS=42

Run ./run.ppn as above.

Do the reported CPU times change?

Use the grib_ls command to look at grib output files - what do you notice?

...

Code Block
NUMBER OF THREADS                 42

to verify the model ran with 4 OpenMP threads.

Panel
bgColor#f0f0ff
titleTasks - Enable MPI

 Edit the file run.ppn and change NTHREADS back to 1.

Change the line: NPROC=1 to NPROC=42.

Also, edit the fort.4 file and change NPROC to 42.

Rerun the job:
     ./run.ppn

Do the reported CPU times change?

...

Look in the NODE_001.01 output file for the line: "NPROC =     4 2"  to verify that two MPI tasks was used.

...

The model can also be set to use NPROC=4 and 2 and NTHREADS=4 to 2 to use a total of 4 processes. However, this would require a computer with at least 16 4 cores.

Acceptance testing

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.

...