-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Don't use julia v1.10.1 on omega; it has a certificate problem and can't update its registry. v1.10.0 works. To change versions:
juliaup add 1.10.0
juliaup default 1.10.0
-
First, follow steps 1-8 of the instructions for getting started with FUSE on the OMEGA cluster but change the path from
/fusion/ga/projects/ird/ptp/to/fusion/projects/sparc/detach_ctrl/. The end of the path from$USERonward can stay the same. Instead of being added to theptpgroup, you should be added to thesparc_detach_ctrlgroup.

-
Clone the SD4SOLPS repos. Setting up SSH keys with GitHub is needed for this.
git clone git@github.com/JuliaFusion/EFIT.jl EFIT
git clone git@github.com:ProjectTorreyPines/OMAS.jl OMAS
git clone git@github.com:ProjectTorreyPines/GGDUtils.jl GGDUtils
git clone git@github.com:ProjectTorreyPines/SOLPS2IMAS.jl SOLPS2IMAS
git clone git@github.com:ProjectTorreyPines/SynthDiag.jl SynthDiag
git clone git@github.com:ProjectTorreyPines/SD4SOLPS.jl SD4SOLPS
- Register the cloned projects with julia. For each REPO in EFIT, OMAS, GGDUtils, SOLPS2IMAS, SynthDiag, SD4SOLPS (the order matters):
cd <REPO>
julia
] dev .
- Add other dependencies in julia
] add YAML
] add Plots
] add Unitful
] add Interpolations
] add ArgParse
- Clone the samples with dvc so the tests will run. For each in GGDUtils/samples, SynthDiag/samples, SOLPS2IMAS/samples, SD4SOLPS/samples
/fusion/projects/sparc/detach_ctrl/$USER/miniconda3/bin/conda install -c conda-forge dvc
/fusion/projects/sparc/detach_ctrl/$USER/miniconda3/bin/conda install -c conda-forge dvc-ssh # In both of these, I'm not sure if `-c conda-forge` is needed.
cd <path that has dvc samples>
dvc pull
- Run tests. In each path of EFIT, OMAS, GGDUtils, SOLPS2IMAS, SynthDiag, SD4SOLPS:
cd path
julia
using Revise
include("test/runtests.jl")
and it should work. Using Revise is not required at this stage but it's probably a habit that will save headaches later, so you might as well get started now.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation