I have done all of what you describe, and still only one OpenMP thread is being used on each node. (I set all above listed variables to 16 threads)
For reproducibility: I attach my SLURM batch script and the simulation script. I use NEST 3.4 compiled with openmp and mpi, and Intel(R) MPI Library for Linux* OS, Version 2019 Update 12 Build 20210429 (id: e380127cb).
Have you tried setting the OMP variable in your batch script?
Something like:
export OMP_NUM_THREADS=<No. of threads>
You should do this before your srun call to the nest script and in
combination to setting the local_num_threads, as well as the right
value for -c (or --cpus-per-task).
I use slightly modified izhikevich neurons with stdp
synapses. Can the model specifics be the cause of
underutilizing available threads? Or is there something
else in the system that could be the reason for that?
--
Dr. Sandra Diaz Pier
Simulation & Data Lab Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Jülich
Office: +49 2461 61-8913
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Stefan Müller
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens,
Prof. Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------