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 ?
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 ?