add threads
This commit is contained in:
parent
9d66c09c6e
commit
c56c7d7573
14
tugas3_16thread.sh
Normal file
14
tugas3_16thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=16
|
||||
ulimit -s unlimited
|
||||
./a.out
|
14
tugas3_1thread.sh
Normal file
14
tugas3_1thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=1
|
||||
ulimit -s unlimited
|
||||
./a.out
|
14
tugas3_2thread.sh
Normal file
14
tugas3_2thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=2
|
||||
ulimit -s unlimited
|
||||
./a.out
|
14
tugas3_32thread.sh
Normal file
14
tugas3_32thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=32
|
||||
ulimit -s unlimited
|
||||
./a.out
|
14
tugas3_4thread.sh
Normal file
14
tugas3_4thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=4
|
||||
ulimit -s unlimited
|
||||
./a.out
|
14
tugas3_64thread.sh
Normal file
14
tugas3_64thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=64
|
||||
ulimit -s unlimited
|
||||
./a.out
|
14
tugas3_8thread.sh
Normal file
14
tugas3_8thread.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --time=00:01:10
|
||||
#SBATCH --job-name=Gabriel
|
||||
|
||||
whoami
|
||||
hostname
|
||||
$(date +%Y%m%d_%H%M%S%Z)
|
||||
|
||||
gfortran -fopenmp tugas3.f90
|
||||
export OMP_NUM_THREADS=8
|
||||
ulimit -s unlimited
|
||||
./a.out
|
Loading…
Reference in New Issue
Block a user