tugas3-openMP/with_reduction.sh
gabrielkheisa 599f6846ce add
2022-11-14 14:26:50 +07:00

12 lines
200 B
Bash

#!/bin/bash
#SBATCH --nodes=1
#SBATCH --time=00:01:10
#SBATCH --job-name=Gabriel
whoami
hostname
gfortran -fopenmp with_reduction.f90 -o with_reduction.x
export OMP_NUM_THREADS=4
./with_reduction.x