Commit 0f386fed authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

clean up...


Former-commit-id: 60e37bf675af667a40652d4b78ba9c6b0189501b
parent 2cc52d96
This diff is collapsed.
#!/bin/bash
# Set the default OpenMP behaviour
export OMP_WAIT_POLICY=PASSIVE
# Clear up the memory first
./memhog `free -g | grep Mem | awk '{print int(0.9*$2)}'`
# loop over number of CPUs
for cpu in {16..48}
do
# Set some environment variables for OpenMP
export OMP_NUM_THREADS=$cpu
export OMP_THREAD_LIMIT=$cpu
# export OMP_CPU_AFFINITY="0-47"
# export OMP_PROC_BIND=TRUE
# "large"
# ./test -r 100 -t $cpu -b "100 100 100" -N 3558892 -c snap_C09/Coordinates.txt.gz -s "50 50 50" -p 0 -h snap_C09/SmoothingLength.txt.gz -m 6.138 -z 800 > snap_C09_${cpu}.dump
# "small"
./test -r 1000 -t $cpu -b "1400 1400 1400" -N 74240 -c small/Coordinates.txt.gz -s "700 700 700" -p 0 -h small/SmoothingLength.txt.gz -m 470 -z 400 > small_${cpu}.dump
done
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