tladeras’s avatartladeras’s Twitter Archive—№ 4,478

      1. TIL: cpus-per-task in SLURM is what you need to set to get {doMC} code to run on multiple cores. So if you want to allocate 20 cores to your doMC code, set cpus-per-task=20. I'm pretty dense sometimes...but the SLURM terminology is pretty obtuse.
    1. …in reply to @tladeras
      I was setting tasks-per-node=20 previously and I was running the same code (not in parallel) to 20 different CPUs. This wasn't right. There's always something to learn.
  1. …in reply to @tladeras
    Granted, this is code that was running on HTCondor before, so mapping the request allocation to SLURM wasn't immediately obvious to me.