Skip to content

Commit

Permalink
iridium exception (only 14 cores allowed to allocate...) #866
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskopp committed Apr 13, 2024
1 parent 4671fd0 commit 5569733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ $(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*6/1000000+10" | bc ); \
MEMREQ=$$( [ "$$MEMEXP" -lt "30" ] && echo -n 30 || echo -n $$MEMEXP ); \
CPUREQ=$$( [ "$$MEMREQ" -gt "60" ] && [ "$$MEMREQ" -lt "250" ] && echo -n 30 || echo -n 15 ); \
CPUREQ=$$( [ "$$MEMREQ" -gt "250" ] && echo -n 14 || ( [ "$$MEMREQ" -gt "60" ] && echo -n 30 || echo -n 15 ) ); \
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 $*

Expand Down

0 comments on commit 5569733

Please sign in to comment.