killer-orval06.oar 407 B

12345678910111213141516171819
  1. #!/bin/bash
  2. #OAR -l /core=12,walltime=0:15
  3. #OAR -O openmp-timing-%jobid%.out
  4. #OAR -E openmp-timing-%jobid%.err
  5. # à éditer ( vérifier monitoring pour sélectionner un noeud )
  6. #OAR -p network_address = 'orval06'
  7. echo "Debut du job ${OAR_JOB_ID}"
  8. #echo "compilation du programme "
  9. #make
  10. for i in 4 8 16
  11. do
  12. export OMP_NUM_THREADS=$i
  13. echo "Nombre de threads : ${i}"
  14. ./timingopenmp
  15. done
  16. exit $?