Newline missing in generated batch script
Bug description / feature request:
When running struphy with -b
but not with likwid. The batch_script.sh
is incorrectly generated.
- Newline missing between "# Run command added by Struphy" and "srun ..."
- The srun command is now run with
srun -n str(mpi)
which means struphy will be run with the number of cores that are speciefied by--mpi X
and NOT by the number of cores that are specified in the batch script. This is not how it was set up previously.- Which method is preferred?
Expected behavior:
There should be a newline...
Proposed solution:
I will add an \n
in console/run.py