I read from the NHR documentation that OpenMP is not slurm-aware and srun is not used for purely OpenMP code. If so, how can we fix the cpu frequency while executing the script? The relevant code in the job script I am using is given below:
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_PLACES=cores
export OMP_PROC_BIND=close
echo "Running benchmark for $SLURM_CPUS_PER_TASK threads"
./stream $SLURM_CPUS_PER_TASK