Skip to content

Merge latest developments from GEOMAR into release#1138

Merged
mandresm merged 201 commits intoreleasefrom
geomar_dev
Mar 31, 2025
Merged

Merge latest developments from GEOMAR into release#1138
mandresm merged 201 commits intoreleasefrom
geomar_dev

Conversation

@seb-wahl
Copy link
Contributor

Hi
this will merge mostly FOCIOIFS related developments.
Still contains the bug described by @joakimkjellsson in #1137

seb-wahl and others added 30 commits December 6, 2022 13:12
…have been made

updated nemo4 example standalone runscripts.
uncomment compiler_mpi in blogin.yaml again
Copy link
Contributor

@mandresm mandresm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all looks great and not problematic. The changes in the src need though to be tested more extensively. Consequently, what I will do will be to create a new branch from this one, and merge almost everything but the changes in src. The changes in src can be then tested more throughly in this PR.

blogin:
add_export_vars:
- "LAPACK_LIB='-mkl=sequential'"
- "LAPACK_LIB='-qmkl=sequential'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seb-wahl, can you explain why this flag needs the extra q? I'm curious to understand why is it now needed in HLRN.

#)
script_file.write(
f'#!{self.config.get("sh_interpreter", "/bin/bash")} -l\n'
f'#!{self.config.get("sh_interpreter", "/bin/bash")}\n'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot recall well why, but this breaks stuff in other machines. Suggest to remove it from here as you have it done currently and put it back in the other machines you don't use under sh_interpreter. I'll take care of that.

Comment on lines +551 to +553
#script_file.write(
# f'#!{self.config.get("sh_interpreter", "/bin/bash")} -l\n'
#)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#script_file.write(
# f'#!{self.config.get("sh_interpreter", "/bin/bash")} -l\n'
#)

if mct_version >= (5, 0):
self.namcouple += [" $NLOGPRT", " " + str(debug_level) + " 0 1", " $END"]
# LUCIA (load balancing) is done differently in MCT 5.0
if mct_version >= (5,0):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if mct_version >= (5,0):
if mct_version >= (5, 0):

if mct_version >= (5,0):
# In MCT5 you set X Y Z, where X refers to verbosity, Y to timing info and Z to load balancing
# Here: Set X = debug_level, Y = 0 (no info), Z = 1 (activate load balancing)
self.namcouple += [" $NLOGPRT", " " + str(debug_level) + " 0 1 ", " $END"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
self.namcouple += [" $NLOGPRT", " " + str(debug_level) + " 0 1 ", " $END"]
self.namcouple += [" $NLOGPRT", " " + str(debug_level) + " 0 1", " $END"]

):
# Not the rstas.nc soft link to the last, but the actual one for the
# branch-off date
if gconfig["run_number"] == 1 and config["lresume"] and gconfig["jobtype"] == "prepcompute" and config.get("norestart", "F") == "F":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if gconfig["run_number"] == 1 and config["lresume"] and gconfig["jobtype"] == "prepcompute" and config.get("norestart", "F") == "F":
if (
gconfig["run_number"] == 1
and config["lresume"]
and gconfig["jobtype"] == "prepcompute"
and config.get("norestart", "F") == "F"
):

mandresm added a commit that referenced this pull request Feb 14, 2025
mandresm added a commit that referenced this pull request Feb 14, 2025
@mandresm
Copy link
Contributor

Prior to merging "updating" this with release or merging this into release make sure to merge this #1299

@mandresm mandresm merged commit 3edb67b into release Mar 31, 2025
10 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants