Changes between Version 5 and Version 6 of cypress/Python


Ignore:
Timestamp:
08/19/15 14:13:39 (9 years ago)
Author:
cmaggio
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/Python

    v5 v6  
    218218We can communicate the SLURM parameters to the script using the appropriate SLURM environment variable.
    219219
    220 
    221 
    222 [[cypress/IntoToHpcWorkshop2015| Return to Workshop Homepage]]
    223 
     220{{{#!bash
     221#!/bin/bash
     222#SBATCH --qos=workshop          # Quality of Service
     223#SBATCH --partition=workshop    # Partition
     224#SBATCH --job-name=python       # Job Name
     225#SBATCH --time=00:01:00         # WallTime
     226#SBATCH --nodes=1               # Number of Nodes
     227#SBATCH --ntasks-per-node=1     # Number of tasks (MPI processes)
     228#SBATCH --cpus-per-task=15      # Number of threads per task (OMP threads)
     229
     230module load anaconda
     231python sum_primes.py $SLURM_CPUS_PER_TASK
     232}}}