Skip to content

Commit

Permalink
Update oasis.py
Browse files Browse the repository at this point in the history
Quote from oasis source code:

                 WRITE(nulprt1,*) '        ***WARNING*** load balancing analysis : '
                 WRITE(nulprt1,*) '        Since v5.0, a third parameter is required '
                 WRITE(nulprt1,*) '        Default value 0 used for time statistic and land balancing analysis '
  • Loading branch information
JanStreffing authored Nov 23, 2024
1 parent 828b398 commit c6b6cdf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/esm_runscripts/oasis.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ def __init__(
exec_entry = str(len(coupled_execs)) + exec_entry
self.namcouple += [" $NBMODEL", " " + str(exec_entry), " $END"]
self.namcouple += [" $RUNTIME", " " + str(runtime), " $END"]
# seb-wahl: add lucia support
if lucia:
self.namcouple += [" $NLOGPRT", " " + "1 -1", " $END"]
if mct_version >= (5, 0):
self.namcouple += [" $NLOGPRT", " " + str(debug_level) + " 0 1", " $END"]
else:
self.namcouple += [" $NLOGPRT", " " + "1 -1", " $END"]
else:
self.namcouple += [" $NLOGPRT", " " + str(debug_level), " $END"]
if mct_version >= (4, 0):
Expand Down

0 comments on commit c6b6cdf

Please sign in to comment.