-
Notifications
You must be signed in to change notification settings - Fork 65
Documentation for using Julia with CURC OpenOnDemand #436
Copy link
Copy link
Open
Labels
Difficulty-HardAn issue that requires > 1 hour to addressAn issue that requires > 1 hour to addressPriority-mediumNot urgent, but should be addressedNot urgent, but should be addressedQuestionFurther information is requestedFurther information is requestedenhancementNew feature or request, lower priorityNew feature or request, lower priority
Description
Activity
Metadata
Metadata
Assignees
Labels
Difficulty-HardAn issue that requires > 1 hour to addressAn issue that requires > 1 hour to addressPriority-mediumNot urgent, but should be addressedNot urgent, but should be addressedQuestionFurther information is requestedFurther information is requestedenhancementNew feature or request, lower priorityNew feature or request, lower priority
I recently got started with using Julia through CURC OpenOnDemand's VS Code-Server, and there are a couple of tips that I picked up along the way (thanks to the CURC staff) that might be useful to other users. I've detailed my workflow for getting started with Julia below:
Install the Julia extension for VS Code, and set the executable path to CURC's Julia installation.
Notes: The extension ID is:
julialang.language-julia. To set the path, go to the installed extension and select "Extension settings". Under theRemote [ondemand.rc.colorado.edu]user profile, edit the entry for "Julia: Executable Path". Several versions of Julia are stored in/curc/sw/julia, and you can set the executable path as/curc/sw/julia/<version>/bin/julia.Activate the Julia REPL in the bash terminal using the same executable path (
/curc/sw/julia/<version>/bin/julia)Store Julia environments (or Projects) in the
/projects/<user>/software/juliadirectoryNotes: Julia installations can take up a lot of space, and exceed the limits in your
/home/<user>directory. To create a new Julia environment or activate an existing one, activate the Julia REPL, enter package manager mode using the]symbol, and typeactivate /projects/<user>/software/julia/<project name>.Relocate
.juliadirectory to/projectsdirectory and update depot path withThis prevents your Julia cache from filling up your home directory