Direkt zum Inhalt | Direkt zur Navigation

Personal tools

Sektionen
You are here: Home » Users » Tutorials » Tutorial of OASIS3 » Compiling and running tutorial with a ping-pong exchange of the coupling fields

Compiling and running tutorial with a ping-pong exchange of the coupling fields

Recompile OASIS3 in monoprocessor in oasis3/util/make_dir (i.e. without the CPP key option use_oasis_para).

At each coupling exchange, "model1" should now send the field "FSENDOCN" to "model2", which should receive it as "FRECVATM", send "FSENDATM" to "model1", which should receive it as "FRECVOCN"; "model1" should also output to a file the field "FOCNWRIT", which is the same field than "FSENDOCN". The aim is now to perform a ping-pong exchange of the coupling fields.

 

  • Modify the namcouple and the source codes to reproduce a ping-pong exchange of the coupling fields without using restart files. Be careful about what you specify for the LAG. Be also aware that if you do not change the SEQ values, you will have a deadlock. (see section 4.8.2 of User Guide for more details).
  • Keep your results by renaming /work_tutorial into /work_tutorial_D
  • Visually compare the results with the non-parallel case A
© Copyright ENES Portal 2011