Running multiple slurm tasks
回答済みHi,
I am trying to run 50 gurobi tasks simultaneously on cluster. This is what my batch file looks like:
#!/bin/bash
#SBATCH --partition common
#SBATCH --mem=8G # Memory limit for each tasks (in GBs)
#SBATCH --array=1-50
#SBATCH -o outfile_%j.out # File to which STDOUT will be written
#SBATCH -e errfile_%j.err # File to which STDERR will be written
python run.py $SLURM_ARRAY_TASK_ID
Gurobi optimization is used in python file "run.py". However, I kept encountering this error "
gurobipy.GurobiError: Too many sessions, 5 active sessions for a baseline of 2"
How do I make it run 50 tasks simultaneously? I am using a free academic license (WLS).
Thanks!
0
-
正式なコメント
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi,
I will create a ticket for you.
For the future: How do I obtain a free academic license for a cluster or a shared computer lab?
The cluster admin can set up an appropriate license.Cheers,
David0
投稿コメントは受け付けていません。
コメント
2件のコメント