-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrunning_instructions
More file actions
35 lines (23 loc) · 834 Bytes
/
running_instructions
File metadata and controls
35 lines (23 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
1. Open the working forlder in the terminal
2. For the first time use, one must set up a virtual enviroment. Run:
make virtual
This would have created a folder called "venv" that contains the necessary files for the Python virtual environment.
3. Activate the virtual environment by running:
source venv/bin/activate
4. Intstall the required modules into the virtual environment:
make mods
6. Run "Input_NetCDF.ipynb" to create inputs.
5. The main program is ready for compilation. Run to compile:
make
6. Run the solver using the created object files:
make exe
7. Create a visual output:
make visual
8. To perform the data fitting, run:
cd datafitting
./compile.sh
9. Open the notebook by typing:
jupyter notebook
Running it will produce a data fitting plot.
10. To deactivate a virtual environment, type:
deactivate