Skip to content

Install struphy on clusters#155

Open
max-models wants to merge 77 commits intodevelfrom
protected-install-on-clusters
Open

Install struphy on clusters#155
max-models wants to merge 77 commits intodevelfrom
protected-install-on-clusters

Conversation

@max-models
Copy link
Member

@max-models max-models commented Dec 16, 2025

  • Added private runners on TOK, Raven, Viper, and Pitagora.
  • Add script for loading the recommended module files for each cluster
  • Add CI job which installs the code on each cluster
  • Only run the CI job in a weekly scheduled pipeline (?)

The .github/scripts/install_and_test.sh script is executed only on the private runners, it installs, compiles and tests struphy. It can be executed manually too and should work on Raven/Viper/TOK/Pitagora

To simplify the installation on the clusters, I've added the following bash files in setup/:

  • modules.pitagora.sh
  • modules.raven.sh
  • modules.tok.sh
  • modules.viper.sh
  • modules.sh

The modules.MACHINE contain the variables MODULES_INTEL and MODULES_GCC which lists the modules needed for intel/gcc on the current machine.

The modules.sh detects which machine we are on, and helps you load or show the modules needed.

# Usage:
#   ./modules.sh [load|display]
#     load    - Loads the required modules for the detected system/compiler
#     display - Prints the module load command for the detected system/compiler

So for example, if you want to load the GCC modules (which is default), you just type:

source ./setup/modules.sh load
# or
source ./setup/modules.sh load gcc

To load the intel modules, you type:

source ./setup/modules.sh load intel

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.

1 participant