ExaFEL / exafel_project

ExaFEL project to be included in CCTBX modules
https://exafel.github.io/docs
0 stars 2 forks source link

Shifter submission code in mp.py calls <nproc> from srun and not sbatch #3

Open mlxd opened 7 years ago

mlxd commented 7 years ago

The multiprocess submission code reads the incorrect file for substitution.

```self.srun_contents = self.substitute(self.srun_contents, "<nproc>",
  str(self.params.shifter.nproc))```

should be

self.srun_contents = self.substitute(self.sbatch_contents, "<nproc>", str(self.params.shifter.nproc))