👌 IMPROVE: Avoid using sed
to add $HQ_CPUS
#2
Labels
improvement
Improving already existing features
sed
to add $HQ_CPUS
#2
To avoid the current bash escaping that adds single quotes around every command and argument, I added a bit of hacky
sed
logic:aiida-hyperqueue/aiida_hyperqueue/scheduler.py
Lines 150 to 153 in 3f38f17
If/when it's possible to avoid the single quotes around all items in the
srun
line, we can e.g. simply add this to thesrun
command of the computer setup.However, we should probably not add this option at all when running on multiple nodes. I haven't tested this so far.
The text was updated successfully, but these errors were encountered: