Introduction
Introduction Statistics Contact Development Disclaimer Help
tprofiling.sh - Granular.jl - Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log
Files
Refs
README
LICENSE
---
tprofiling.sh (661B)
---
1 #!/bin/bash
2
3 # Optionally use this script to launch profiling.jl with different Julia
4 # optimization levels. Defaults are --optimize=2, --math-mode=ieee.
5
6 declare -a arr=(\
7 "--procs 1 --optimize=1 --math-mode=ieee" \
8 "--procs 1 --optimize=2 --math-mode=ieee" \
9 "--procs 1 --optimize=3 --math-mode=ieee" \
10 "--procs 1 --optimize=1 --math-mode=fast" \
11 "--procs 1 --optimize=2 --math-mode=fast" \
12 "--procs 1 --optimize=3 --math-mode=fast")
13
14 for flags in "${arr[@]}"; do
15 julia --color=yes $flags profiling.jl
16 mv profiling-cpu.pdf "profiling-cpu.$flags.pdf"
17 mv profiling-memory-usage.pdf "profiling-memory-usage.$flags.pdf"
18 done
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.