Running Databank on LUMI #362
comcon1
started this conversation in
Show and tell
Replies: 2 comments 1 reply
|
I tried this, but when running sbatch -J nmldb run.sh nml_compute_databank --maicos -r 0-10 I get error FATAL: "nml_compute_databank": executable file not found in $PATH Is there some path definer missing? |
1 reply
|
First, this can be simplified to use pypi package (but use github if you want the latest or branch). name: base
channels:
- conda-forge
- defaults
dependencies:
- python==3.11
- git
- pip
- gromacs
- pip:
- fairmd-lipidsSecond, the shell paths NMLDB_ prefix should become FMDL_ prefix Finally, the prefix was changed for CLI also |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Databank computations can be run on LUMI in the following way now.
Make Singularity container with cotainr:
For that, we need conda-YAML environment description, let's name it
e1.yml:And then run
It will create
sif-file with a container for further running on the nodes.Creating Database on /scratch
cd /scratch/project_123456789/ git clone https://github.com/NMRlipids/BilayerDataPopulating Database with symlinks using a simple bash-script:
In the
srcof this script, we put the path where trajectories are stored, so that we make symlinks from it. The last two commands informs databank that everything is stored locally. We will not allow him then to download anything. It will modifyREADME.yamlfiles, so do not commit them. But it is optional. Databank should know by itself that file is downloaded and skip downloading.Setting up runner configuration and run
You can make
run.shslurm script as following. I use 2 cores just in case. Probably 1 is also enough.Then we can run it as, for example,
sbatch -J nmldb run.sh nml_compute_databank --maicos -r 0-10. All the databank CLI commands are available here. They will be called from inside singularity container.It is meaningful to set parallel run within ranges as following:
So, now, everyone who has access to LUMI can try my settings.
Wrap up
You can commit JSON files by
You should, of course, checkout a branch from your own fork to be able to commit.
After you are done for now, it's recommended to clean up. This command is used to clean up everything in all the subfolders which is not tracked.
All the intermediate files which have been created -- they will eat your disk quota if not removed. It will also remove all the symlinks so do not forget to populate if you want to start working again.
All reactions