Skip to content

Commit 2442b1c

Browse files
committed
Change from distributed tasks to async.
- Update deploy script with omfit/omas locations
1 parent de9f1fa commit 2442b1c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

deploy/perlmutter/deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
command -v module >/dev/null 2>&1 || source /usr/share/lmod/lmod/init/bash
33
module load julia/1.11.4
44

5+
# Set up OMFIT and OMAS which is needed for the DIII-D study
6+
export FUSE_OMFIT_HOST="localhost"
7+
export FUSE_OMFIT_ROOT="/global/common/software/m3739/perlmutter/OMFIT-CAKE"
8+
export FUSE_OMAS_ROOT="/global/common/software/m3739/perlmutter/FUSE_OMAS"
9+
510
basedir="/global/common/software/m3739/perlmutter/fuse"
611

712
fuse_env=`curl -s https://api.github.com/repos/ProjectTorreyPines/FUSE.jl/releases/latest | jq -r .name`

src/cases/D3D.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Distributed
1+
22

33
"""
44
case_parameters(::Val{:D3D}, shot::Int;
@@ -104,7 +104,7 @@ function case_parameters(::Val{:D3D}, shot::Int;
104104
end
105105
Base.run(`chmod +x $omfit_sh`)
106106
Base.run(`chmod +x $omas_sh`)
107-
task = @spawn Base.run(`$omfit_sh`)
107+
task = @async Base.run(`$omfit_sh`)
108108
Base.run(`$omas_sh`)
109109
wait(task)
110110
else

0 commit comments

Comments
 (0)