Dear Stefan,
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).
All the best, Sandra
On 05.08.23 13:05, Stefan Dvoretskii wrote:
Hello all,
I am trying to use as much parallelism as possible on my computing grid. In this sense, I combine MPI+OpenMP. MPI processes are spawned fine, but OpenMP threads always amount to 1, no matter that I set local_num_threads correctly (https://nest-simulator.readthedocs.io/en/latest/hpc/slurm_script.html#set-lo...) as well as all SLURM variables. I am sure I have compiled nest with OpenMP too. 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?
Best regards,
Stefan Dvoretskii
NEST Users mailing list --users@nest-simulator.org To unsubscribe send an email tousers-leave@nest-simulator.org