r-spatialecology / gwdg_hpc_guide

Guide How to use the GWDG HPC
https://r-spatialecology.github.io/gwdg_hpc_guide/
2 stars 0 forks source link

wait argument during collection of jobs #14

Open mhesselbarth opened 8 months ago

mhesselbarth commented 8 months ago

Since rslurm v0.3.2 the wait argument must be set to FALSE when collecting the jobs. Not sure how new this argument is, but ran into issues with it currently

get_slurm_out(sjob, outtype = "raw", wait = FALSE)
bitbacchus commented 8 months ago

Hm, this seems to be odd... are you sure your job had finished successfully? What does get_job_status(sjob) say?

mhesselbarth commented 8 months ago

Oh I don't really submit the jobs directly from the session itself, but only use it to write the batch script. And then copy and past first the script and later the RDS files. I think that's why I need to set the FALSE