You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-10Lines changed: 46 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,22 +26,36 @@ This directory contains four files: BingClaw5.6.1_singlesource.tar setrun.py Pal
26
26
27
27
Here we outline the steps required to perform a simulation of the Storegga slide using BingClaw on a Linux system.
28
28
29
-
We will need clawpack (version 5.6.1), python3, LAPACK and BLAS.
29
+
We will need clawpack (version 5.6.1), gfortran, python3, LAPACK and BLAS.
30
30
31
31
If you do not have LAPACK and BLAS, the code can be obtained from https://github.com/Reference-LAPACK/lapack Follow the instructions for compilation and you should end up with libraries liblapack.a and librefblas.a. You will need to modify a Makefile to point to these files.
32
32
You will also need HDF5. If you have superuser rights, then LAPACK, BLAS, and HDF5 are all installed using
33
33
34
+
```
34
35
sudo apt-get install libblas-dev liblapack-dev
35
-
sudo apt-get install libhdf5-serial-dev
36
-
36
+
sudo apt-get install libhdf5-serial-dev
37
+
```
38
+
If you get a message of the form *E: Unable to locate package libhdf5-dev* then you will most likely have to update apt-get, e.g.
39
+
```
40
+
sudo apt-get update -y
41
+
sudo apt-get install -y libhdf5-dev
42
+
```
43
+
Should gfortran be lacking from your system, this is installed using
44
+
```
45
+
sudo apt install gfortran
46
+
```
37
47
38
48
If you do not have python3 and do not have superuser rights to your Linux, you can type
and with the correct path for the HDF5 library, e.g.:
86
114
115
+
```
87
116
-I/usr/include/hdf5/serial
117
+
```
88
118
89
119
You should then be able to compile BingClaw5.6.1 using the following sequence:
90
120
91
-
sh compile_src.sh
121
+
```
122
+
sh compile_src.sh
123
+
```
92
124
93
125
This generates the executable *bin/BingClaw5.6.1*
94
126
95
127
Finally, create a directory in which you want to run BingClaw Save the file setrun.py in it and make sure that the lines with "PaleoNorthAtlantic.tt3" and "storegga_ini.tt3" point to the correct location. (You will have to (g)unzip the file PaleoNorthAtlantic.tt3.gz before running the program.)
96
128
97
129
Execute the setrun.py file using
98
130
131
+
```
99
132
python setrun.py
133
+
```
100
134
101
135
We then execute the BingClaw program you have just compiled, and this should be generate the required output.
102
136
@@ -110,6 +144,8 @@ In the directory *BingClaw_fortfile_display_example* we present a simple solutio
110
144
The file Makefile.nonmodules requires the following line to allow it to compile in situations described on this page:
0 commit comments