Skip to content
Snippets Groups Projects
Commit cf900c68 authored by Matthias Keck's avatar Matthias Keck
Browse files

Delete run.sh

parent 194ee2d8
Branches
No related tags found
No related merge requests found
#!/bin/bash
#SBATCH --nodes=1 # Job läuft auf einem einzelnen Node
#SBATCH --ntasks=1 # Ein einzelner Task
#SBATCH --mem=64G # 4GB RAM anfordern
#SBATCH --gres=gpu:1 # Eine GPU anfordern
#SBATCH --cpus-per-task=8 # 4 CPU-Kerne anfordern
#SBATCH --time=04:00:00 # Maximale Laufzeit: 2 Stunden
# Kopiere das Python-Skript auf den Rechenknoten
sbcast benchmark.py /zpool1/slurm_data/anhnd/test.py
# Führe das Python-Skript mit absolutem Pfad aus und leite die Ausgabe ins Home-Verzeichnis um
srun python3.11 /zpool1/slurm_data/anhnd/test.py > ~/projekt/matze/job_output_${SLURM_JOB_ID}.log 2>&1
#Lösche die .py-Datei nach der Berechnung, um Speicherplatz zu sparen
srun rm /zpool1/slurm_data/anhnd/test.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment