Skip to content

Run IGM on Curnagl with SLURM #19

Description

@pjacquet1977

On Curnagl you can run IGM by sending a job via SLURM.

For this you need to specify the directory where your input data are located:

PATH='/scratch/pjacquet/tests/examples/OptIGM/'

Then, you can run IGM as follows:

/work/CTR/CI/DCSR/rfabbret/default/pjacquet/igm_venv_gpu/bin/igm_run --param_file=$PATH"params.json" --lncd_input_file=$PATH"input.nc"

The problem is that IGM will also look for the file "make_steps.py" in the folder "modules_custom".

If this folder located in the same directory as your input data, then it does not work because it does not find it. Not that it works if we do NOT use SLURM but simply run IGM interactively from '/scratch/pjacquet/tests/examples/OptIGM/'.

The error message states that we can put a copy of the file "make_steps.py" in the directory "igm/igm/modules/process/". I've tried and but it does not work with SLURM, and furthermore this is not very nice since one cannot make a "git pull" afterward.

Should we set PYTHONPATH to include the working directory ? or specify the folder modules_custom as an option of IGM ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions