#!/bin/bash # # Compile with GFORTRAN. # gfortran -fopenmp schedule_openmp.f # mv a.out schedule # # Request 2 threads. # echo "Run with 2 threads." export OMP_NUM_THREADS=2 ./schedule > schedule_local_gfortran_output.txt # # Discard the executable. # rm schedule # echo "Program output written to schedule_local_gfortran_output.txt"