An license error occured when submitting a sbatch routine in slurm
Mostrar comentarios más antiguos
Hi, I am a new for slurm. I want to ask for 2 nodes (per nodes with 48 workers) to run my parfor code test.m, however a license error occured, such as:
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -9
The hostid of your computer ("20001107fe80 80615f04fae5 80615f04fae6") does not match the hostid of the license file (20000307fe80).
To run on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2020b/9
Diagnostic Information:
Feature: MATLAB
License path: /public/home/hpc175001007/.matlab/R2020b_licenses/license_ln01_8174359_R2020b.lic:/public/home/hpc175001007/MATLAB/R2020b/licenses/license.dat:/public/home/hpc175001007/MATLAB/R2020b/licenses
Licensing error: -9,57.
my test.m is
clear
clc
%parpool(48);
n=10000000;
t1 = clock;
a = zeros(n,1);
parfor i=1:n
a(i) = i;
end
t2 = clock;
ti = etime(t2,t1);
save par_timei ti
and my sbatch routine is
#!/bin/bash
#SBATCH -o Lammps.%j.out
#SBATCH -J matlabJOB
#SBATCH -p cpuQ
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=48
cd /public/home/hpc175001007/workpath/code/
matlab -nodesktop -nosplash -r test
Anyone can help me with this?
Respuesta aceptada
Más respuestas (1)
Aiswarya Subramanian
el 2 de Dic. de 2020
0 votos
Hello!
The best way to resolve a License Manager Error -9 is by reactivating MATLAB with the activation client. Kindly refer to the following link to do this:
-Aiswarya
Categorías
Más información sobre Third-Party Cluster Configuration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!