faq > RE: Error when running main process on grid
Mar 9, 2018  10:03 AM | Juha Pajula - VTT Technical Research Centre of Finland Ltd / Tampere University of Technology
RE: Error when running main process on grid
Originally posted by Nobody:
Thank you very much for replying! 

We use just SLURM. The error file in the scripts folder reads:

/var/lib/slurm-llnl/slurmd/job177034/slurm_script: 2: /var/lib/slurm-llnl/slurmd/job177034/slurm_script: module: not found
slurmstepd: *** JOB 177034 ON small29 CANCELLED AT 2018-02-21T10:05:09 ***


As I understand it, module is used to set up the enviroment, here Matlab, but Matlab is already set up. 

However, any help would really be appreciated. 

Best

You can fix this by commenting the following line out from the file gridParser.m:
dlmwrite(file_name, 'module load matlab','-append','delimiter',''); 

Then the running script does not try to load matlab module before it starts the matlab process.

-Juha Pajula




Threaded View

TitleAuthorDate
Nobody Feb 21, 2018
Juha Pajula Feb 21, 2018
Nobody Feb 22, 2018
RE: Error when running main process on grid
Juha Pajula Mar 9, 2018