You are about to install OSCAR v1.3.1, the latest stable release. Follow the instructions below to set up OSCAR on your system.
WARNING:
The installation process of OSCAR, particularly the precompilation step, requires
at least 6GB of free memory. For optimal performance with OSCAR, we recommend having at least 16GB of free memory.
The following instructions assume that you are at least somewhat familiar with using a terminal interface.
Ensure your WSL subsystem has at least 6GB of free memory for the installation process, and ideally 16GB for optimal performance. The memory available to WSL is less than the total memory on your system. To adjust the memory allocation, follow the official WSL configuration instructions. You can view a sample .wslconfig file here.
After installing WSL, you should see the Ubuntu app in your start menu.
Step 2: Install Julia
WARNING:
Do not install the Windows version of Julia. Instead, install the Linux version of Julia inside WSL, following the steps below.
Open the Ubuntu app from your start menu (installed in Step 1).
OSCAR requires Julia 1.6.0 or higher. We recommend using the latest stable release of Julia.
We suggest installing Julia via juliaup for easy updates and version management. juliaup will automatically install the latest stable release of Julia and allows you to manage multiple Julia versions if needed.
To install Julia via juliaup, run the following command in your WSL terminal:
Install IJulia (and jupyter) by running the following command inside your Julia REPL:
usingPkg;Pkg.add("IJulia")
For more details, refer to the installation guide. If you encounter issues, you may need to explicitly build IJulia. Troubleshooting info can be found on the IJulia troubleshooting page.
To run tutorial Jupyter notebooks locally, you will need a browser installed in WSL. Ubuntu installs browsers via Snap, but Snap is disabled in WSL. To install a browser (e.g., Firefox), follow these instructions.
Start Jupyter by running the following in your Julia REPL:
usingIJulia;notebook()
Your web browser should open with the Jupyter interface, where “Jupyter” is displayed in the upper-left corner, and a file explorer appears below. Locate and open the tutorial notebook of your interest. You might see a pop-up with the message “Kernel not found” or “Kernel error”. You can resolve this by selecting a different Julia kernel from the notebook’s kernel menu.