Skip to content

Commit

Permalink
exclude hyperion5(missing parallel), allocate more cores + change mem…
Browse files Browse the repository at this point in the history
…ory limits #866
  • Loading branch information
matyaskopp committed Apr 16, 2024
1 parent 92831be commit 6a2ccca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,9 @@ $(distro-make-all-XX): distro-make-all-%: Scripts/slurm_run_make-all.sh
CORPSIZE=$$(du -s --apparent-size Build/Sources-TEI/ParlaMint-$*.TEI.ana/|cut -f1); \
MEMEXP=$$(echo "$$CORPSIZE*4/1000000+40" | bc ); \
MEMREQ=$$( [ "$$MEMEXP" -lt "30" ] && echo -n 30 || echo -n $$MEMEXP ); \
CPUREQ=$$( [ "$$MEMREQ" -gt "250" ] && echo -n 14 || ( [ "$$MEMREQ" -gt "60" ] && echo -n 30 || echo -n 15 ) ); \
CPUREQ=$$( [ "$$MEMREQ" -gt "250" ] && echo -n 14 || ( [ "$$MEMREQ" -gt "120" ] && echo -n 42 || echo -n 24 ) ); \
echo "COMMAND: sbatch --job-name=pm$*-distro --mem=$${MEMREQ}G --cpus-per-task=$$CPUREQ Scripts/slurm_run_make-all.sh $*"; \
sbatch --job-name=pm$*-distro --mem=$${MEMREQ}G --cpus-per-task=$$CPUREQ Scripts/slurm_run_make-all.sh $*
sbatch --job-name=pm$*-distro --exclude=hyperion5--mem=$${MEMREQ}G --cpus-per-task=$$CPUREQ Scripts/slurm_run_make-all.sh $*



Expand Down

0 comments on commit 6a2ccca

Please sign in to comment.