From f7a01090ec2ff9747df68c4d046c03b819014919 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Thu, 14 Mar 2024 22:18:50 +0100 Subject: [PATCH] Update project and CI --- .github/workflows/CI.yml | 2 +- Project.toml | 2 +- bin/run_julia | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 235b095..ab5a3e6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -33,7 +33,7 @@ jobs: arch: x64 version: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} diff --git a/Project.toml b/Project.toml index 97f6571..8e63387 100644 --- a/Project.toml +++ b/Project.toml @@ -20,7 +20,7 @@ YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6" KiteModels = "0.5.2" KiteUtils = "0.5" NLsolve = "4.5" -Observables = "0.3, 0.4" +Observables = "0.3, 0.4, 0.5" Parameters = "0.12" Plots = "1.29" StaticArrayInterface = "1.5" diff --git a/bin/run_julia b/bin/run_julia index a876c2b..e63ac80 100755 --- a/bin/run_julia +++ b/bin/run_julia @@ -8,13 +8,16 @@ if [[ $HOSTNAME == "tuxedi" ]]; then sudo performance.sh fi +# instead of 8, use the number of fast CPU cores you have +GCT="--gcthreads=8,1" + julia_version=$(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 1 --project + julia -J bin/kps-image-${julia_major}-${branch}.so -t 16 $GCT --project else - julia --project + julia --project -t 16 $GCT fi