-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Uwe Fechner
committed
Mar 15, 2024
1 parent
787607d
commit 3b7df15
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
if [[ $(basename $(pwd)) == "bin" ]]; then | ||
cd .. | ||
fi | ||
|
||
if [[ $HOSTNAME == "tuxedi" ]]; then | ||
sudo performance.sh | ||
fi | ||
|
||
# instead of 8, use the number of fast CPU cores you have | ||
GCT="--gcthreads=7,1" | ||
|
||
julia_version=$(/home/ufechner/.juliaup/bin/julia --version | awk '{print($3)}') | ||
julia_major=${julia_version:0:3} | ||
branch=$(git rev-parse --abbrev-ref HEAD) | ||
|
||
if test -f "bin/kps-image-${julia_major}-${branch}.so"; then | ||
echo "Found system image!" | ||
julia -J bin/kps-image-${julia_major}-${branch}.so -t 8,1 $GCT --project | ||
else | ||
sudo chrt -r 70 /home/ufechner/.juliaup/bin/julia --project -t 7,1 $GCT | ||
# julia --project | ||
fi |