|
1 | 1 | # On GA's OMEGA cluster |
2 | 2 |
|
| 3 | + !!! note |
| 4 | + FUSE should only be run on `somega` or on a worker node, never on the `omega` login nodes. |
| 5 | + |
3 | 6 | ## FUSE module |
4 | 7 |
|
5 | 8 | If you only intend to use FUSE and don't plan to develop the source code, release versions of FUSE |
@@ -31,37 +34,18 @@ The FUSE module does several things: |
31 | 34 | start a Jupyter session and select the desired kernels. There is a kernel with 1 thread meant |
32 | 35 | for the login nodes and 10 & 16 threads for the worker nodes. |
33 | 36 | !!! warning |
34 | | - **Problem**: There's a bug that may occur when a new user first launches one of these |
| 37 | + **Potential Problem**: There's a bug that may occur when a new user first launches one of these |
35 | 38 | Julia + FUSE Jupyter kernels. |
36 | | - In your terminal, you will see output about precompiling IJulia, which is expected. |
| 39 | + In your terminal, you may see output about precompiling IJulia, which is expected. |
37 | 40 | Once the precompilation is done, it will report `Starting kernel event loops` but then the |
38 | 41 | kernel may hang and your notebook may not work. It is unclear why this happens, but it is |
39 | 42 | only the first time for each user. |
40 | 43 |
|
41 | | - **Solution**: Restart the kernel. Occasionally this needs to be done twice, perhaps if you |
| 44 | + **Solution**: The latest installations on Omega seemed to have fixed this issue, but if it happens, |
| 45 | + restart the kernel. Occasionally this needs to be done twice, perhaps if you |
42 | 46 | restart too quickly and the precompilation was not finished. In any case, if the problem |
43 | 47 | does not resolve after restarting the kernel twice, reach out to the FUSE developers. |
44 | 48 |
|
45 | | -## Running Julia/FUSE via VScode |
46 | | - |
47 | | -The simplest way to start using FUSE is with [VScode and remote SHH connection](https://code.visualstudio.com/docs/remote/ssh-tutorial) to Omega. |
48 | | - |
49 | | -To do this: |
50 | | - |
51 | | -* Open a remote connection to Omega |
52 | | - |
53 | | -* Install the `Julia` and the `Jupyter` VScode extensions in on Omega |
54 | | - |
55 | | -* Open the `Code > Settings... > Settings` menu |
56 | | - |
57 | | - * Select the `Remote [SSH: omega]` tab |
58 | | - |
59 | | - * Search for `julia executable` in the search bar |
60 | | - |
61 | | - * Edit the `julia: Executable Path` to `/fusion/projects/codes/julia/fuse/julia_with_fuse` |
62 | | - |
63 | | -Now Julia scripts and notebooks can be run directly from this remote VScode session. |
64 | | - |
65 | 49 | ## Connecting to a Jupyter-lab server running on OMEGA from your laptop |
66 | 50 |
|
67 | 51 | 1. Connect to `omega` and launch `screen` |
@@ -139,6 +123,26 @@ Keep in mind that each worker node on Omega has 128 CPUs |
139 | 123 |
|
140 | 124 | Here we will use the `FUSE.parallel_environment("omega", ...)` call. |
141 | 125 |
|
| 126 | +## Running Julia/FUSE via VScode |
| 127 | + |
| 128 | +You can use [VScode and remote SHH connection](https://code.visualstudio.com/docs/remote/ssh-tutorial) to run Julia and FUSE on Omega. |
| 129 | + |
| 130 | +To do this: |
| 131 | + |
| 132 | +* Open a remote connection to Omega |
| 133 | + |
| 134 | +* Install the `Julia` and the `Jupyter` VScode extensions in on Omega |
| 135 | + |
| 136 | +* Open the `Code > Settings... > Settings` menu |
| 137 | + |
| 138 | + * Select the `Remote [SSH: omega]` tab |
| 139 | + |
| 140 | + * Search for `julia executable` in the search bar |
| 141 | + |
| 142 | + * Edit the `julia: Executable Path` to `/fusion/projects/codes/julia/fuse/julia_with_fuse` |
| 143 | + |
| 144 | +Now Julia scripts and notebooks can be run directly from this remote VScode session. |
| 145 | + |
142 | 146 | ## Using Revise on Omega |
143 | 147 | When working on omega it seems ones need to manually trigger revise to pick up code changes: |
144 | 148 | ``` |
|
0 commit comments