Request to Increase WLS License Baseline Usage
AnsweredDear Gurobi Support Team,
I am using MATLAB and the Gurobi-MATLAB interface to run multiple optimization tasks on our university's HPC cluster, and the sbatch is as follows:
#!/bin/bash
#SBATCH -J 1N192C-B
#SBATCH -p fat_genoa
#SBATCH -t 100:00:00
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 190
#SBATCH --mem-per-cpu 3G
module load 2023
module load matlab-support-packages/1.0
module load MATLAB/2024a
module load Gurobi/10.0.1-GCCcore-12.3.0
export GRB_LICENSE_FILE=$HOME/gurobi.lic
matlab -batch "run('${HOME}/Rotterdam_Bush/NSGA_Opt_N60_Ite10000.m'); exit;"
The core of the script runs a MATLAB program that makes use of `parfor` for parallelism. Inside the `parfor` loop, each worker constructs and solves Gurobi models independently. This setup is necessary because the optimization is highly compute-intensive, and parallelization over 100+ cores significantly reduces the runtime.
However, the WLS baseline of 2 concurrent sessions results in frequent errors such as:
Gurobi error 10030: Too many sessions, 5 active sessions for a baseline of 2
Could you please provide any suggestions to address this issue? Do you think increasing the WLS usage baseline can solve this problem?
Please let me know if you require further information or usage logs. I would greatly appreciate your support in enabling me to run my research efficiently.
Best regards,
Dingshan
-
Yes, increasing the baseline usage is the way to go here. We will handle this internally in a ticket.
Thanks,
Matthias0
Please sign in to leave a comment.
Comments
1 comment