oceanmodeling / ondemand-storm-workflow

Other
2 stars 1 forks source link

Running `singularity` workflow on other HPC platforms #17

Open SorooshMani-NOAA opened 1 year ago

SorooshMani-NOAA commented 1 year ago

So far the simple workflow implemented with Singularity containers and a Bash script is only tested on ParallelWorks platform. This needs to be tested on other HPC platforms as well. This Issue tracks problems related to that.

SorooshMani-NOAA commented 1 year ago

@WPringle I will soon share the Singularity images (.sif files) with you to test. Let's track all the issues (at high level) related to your tests here. Thanks again!

WPringle commented 1 year ago

@SorooshMani-NOAA You can put images on "Ensemble research collection" globus shared directory. You should have permissions to write.

SorooshMani-NOAA commented 1 year ago

@WPringle I have transferred the singularity images to your shared directory. In order to use them you need to download the https://github.com/oceanmodeling/ondemand-storm-workflow repo and switch to feature/singularity branch.

There is then a directory called singularity at the top level which includes image definitions as well as a scripts directory. In that scripts directory there is aworkflow.shand ainput.conffiles. In theory you should only modifyinput.confand runworkflow.sh` and the rest should be taken care of.

In input.conf file make sure to update:

Note that you need to make sure the HPC you're using has singularity command available. If it doesn't by default it might be under some module, that can for example be loaded by module load singularity or something like that.

Please let me know how it goes if you get the change to test this. Thanks!