Skip to content

Environment file naming convention #67

@kvrigor

Description

@kvrigor

For context (all emphasis mine):

  1. Marco's original post

The ".2025" in default.2025.env kind of breaks machine independency, or at least—depending on the number's meaning—it'll often not be consistent with the "stage" of other machines.

Is it the STAGE, the thing that is specific for JSC? I am trying to bring this into Marvin (using the gompi version, which is at the moment at 2024a). Any objections against this?

I think it should not be part of the name. If no other ideas from anyone right now, I'll think of something (and propose as a commit).

  1. My reply

2025 is originally associated with the JSC software stage, and here I thought to expand its meaning to the default stable software stack for some machine X this year. This relates to an important issue: how do we decide on the update schedule of the TSMP2 software stack? This is another big discussion but I would postpone it for now.

  1. Marco's response

So 2025 means the same as stage? Even as we now have STAGE==2024a for Marvin and 24.04 for Ubuntu?

Adding it to the env filename is no good, because, given the dot separator, awk'ing the Ubuntu case breaks positions (vielleicht important for the WFE).

I'll regard it as a sort of release then… but we have actual releases for that. I'd rather like to see the default sourcing of default.env (no number) and update the number in jsc.2025.gnu.openmpi, uni-bonn.2024a.gnu.openmpi (potential commit upcoming) and ubuntu.24.04.gnu.openmpi… oh no! the Stage is only known after sourcing the script (and the awk issue)! This is one of those problems I alluded to! (But to be fair, I did not solve that for the Marvin case either.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions