Skip to content
Snippets Groups Projects
Select Git revision
  • f2139653aed7d31bddd5d2a278839ed969c179fa
  • master default protected
  • tf2
  • tf2_pytorch
  • issue_3
  • issue_2
  • 2019a
  • juwels_2019a
  • jureca_2019_a
9 results

submit_job_jureca_python3.sh

Blame
  • user avatar
    Fahad Khalid authored
    JURECA job scripts now load the 2018b rather than using the default stage, as the DL frameworks are only available on 2018b.
    1c26d4fc
    History
    submit_job_jureca_python3.sh 554 B
    #!/usr/bin/env bash
    
    # Slurm job configuration
    #SBATCH --nodes=1
    #SBATCH --ntasks=1
    #SBATCH --ntasks-per-node=1
    #SBATCH --output=output_%j.out
    #SBATCH --error=error_%j.er
    #SBATCH --time=00:10:00
    #SBATCH --job-name=KERAS_MNIST_CNN
    #SBATCH --gres=gpu:1 --partition=develgpus
    #SBATCH --mail-type=ALL
    
    # Load the required modules
    module use /usr/local/software/jureca/OtherStages
    module load Stages/2018b
    module load GCC/7.3.0
    module load TensorFlow/1.12.0-GPU-Python-3.6.6
    module load Keras/2.2.4-GPU-Python-3.6.6
    
    # Run the program
    srun python -u mnist.py