We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a393a1e commit d453aa5Copy full SHA for d453aa5
src/scripts/mknemo.d/sw
@@ -0,0 +1,34 @@
1
+#! /bin/bash
2
+#
3
+# https://zenodo.org/records/10766405
4
+# https://iopscience.iop.org/article/10.3847/1538-4365/ad36c8#new_tab
5
6
+
7
+git=1
8
+url=https://github.com/GiuliaMurgia03/Spectral-Weighting
9
+name=SpectralWeighting
10
11
+for arg in $*; do
12
+ export $arg
13
+done
14
15
+cd $NEMO/local
16
17
+if [ $git == 1 ]; then
18
+ if [ ! -d hypre ]; then
19
+ git clone $url hypre
20
+ fi
21
+ version=git
22
+else
23
+ echo no non-git
24
+ exit 1
25
+fi
26
27
+cd Spectral-Weighting
28
+git pull
29
30
+# @todo inherit compiler from $NEMOLIB/makedefs
31
+g++ -o $NEMOBIN/$name src/*.cpp -lcfitsio
32
33
+echo 'Spectral-Weighting installed as $NEMOBIN/$name'
34
+echo "SpectralWeighting git `date`" >> $NEMO/opt/mknemo.log
0 commit comments