Commit 947c0df4 authored by Oisin Robinson's avatar Oisin Robinson
Browse files

Merge branch 'master' of git.ichec.ie:training/sohpc-training-2021

parents a6b4917b 75b7eaf2
#!/bin/bash
#SBATCH --partition=CourseDevQ
#SBATCH --reservation=SOHPCCourse
#SBATCH --nodes=1
#SBATCH --time=00:05:00
#SBATCH --job-name=cprofile
#SBATCH --account=course
#SBATCH --output=cprofile.log
echo -e "\n##########"
# File to read
D=EDITME.py
echo "File used = " $D
echo -e "##########\n"
# TODO: Enter cProfile command to generate profile on specific file
python "EDITME" $D
echo -e "\n##########"
echo "End of evolve exercise"
echo -e "##########\n"
import numpy as np
import time
from out_of_line._API_add import ffi, lib
from API_ool_add._API_add import ffi, lib
t0=time.time()
a = np.arange(0,200000,0.1)
......
......@@ -12,7 +12,7 @@ echo -e "\n##########"
# Declare dataset
D=bottle_large.dat
D=bottle.dat
echo "Dataset used = " $D
echo -e "##########\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment