cca.job.tmpl 642 B

123456789101112131415161718192021222324252627282930313233343536
  1. #! /usr/bin/env bash
  2. #PBS -N b_<EXPID>_<DIAG>
  3. #PBS -q nf
  4. #PBS -l EC_billing_account=<ACCOUNT>
  5. #PBS -l EC_total_tasks=1
  6. #PBS -l EC_threads_per_task=12
  7. #PBS -l EC_hyperthreads=1
  8. #PBS -l walltime=05:00:00
  9. #PBS -j oe
  10. #PBS -o <OUT>/log/barakuda_<EXPID>_<DIAG>.out
  11. ##PBS -l EC_memory_per_task=24GB
  12. # -------- CONFIG
  13. module unload PrgEnv-cray
  14. module unload PrgEnv-intel
  15. module unload PrgEnv-gnu
  16. module unload python
  17. module load PrgEnv-intel
  18. module load cray-snplauncher
  19. module load nco netcdf
  20. module load python/2.7.12-01
  21. set -e
  22. mkdir <OUT>/log || true
  23. cd <BARAKUDA_TOPDIR>
  24. export OMP_NUM_THREADS=$EC_threads_per_task
  25. mpiexec -n 1 <CMD>