1: Installation
To the extent there is anyone interested in this code at all, I expect they will be relatively new to Julia. This first tutorial just gives my reccomendations to how to get going with Julia and install this package.
Install Julia
I recommend using a tool called juliaup to get started. It helps install Julia and keeps track of installed Julia versions and makes the julia command available from a terminal.
On macOS or Linux, open a terminal and run:
curl -fsSL https://install.julialang.org | shOn Windows, open PowerShell and run:
winget install julia -s msstoreThese commands install Juliaup. After the installer finishes, restart your terminal so that the julia and juliaup commands are available.
Select Julia 1.11.6
Julia 1.11.6 is recommended for working with this package. Technically the package should support any version after 1.10, but I have tested 1.11.6 mostly since it is the most recent available on the high-performance-computing cluster I have used.
Install and select Julia 1.11.6 with:
juliaup add 1.11.6
juliaup default 1.11.6Then check your Julia version from the command line:
julia --versionInstall FermiSea
Start Julia:
juliaThen add FermiSea:
import Pkg
Pkg.add("FermiSea")To make startup a little faster when you actually try and run a script, you can also run
Pkg.precompile()Some of the tutorial and interactive scripts use extra packages for plotting, time stepping, mesh generation, and Literate.jl output. Add those as needed:
Pkg.add(["CairoMakie", "Gmsh", "Interpolations", "Literate", "OrdinaryDiffEqSSPRK"])Verify the installation
From the same Julia session, load the package:
using FermiSeaTo run the test suite from the command line:
julia -e 'import Pkg; Pkg.test("FermiSea")'