-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinuxsetup.html
More file actions
301 lines (246 loc) · 11.7 KB
/
linuxsetup.html
File metadata and controls
301 lines (246 loc) · 11.7 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Setting up FISPACT-II on Linux</title>
<meta name="description" content="FISPACT-II Linux Setup">
<meta name="author" content="Thomas Stainer">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/white.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<style>
.pdf-page{
background: #fff;
max-height: 727px;
}
body > div.reveal.slide.center.has-vertical-slides.has-horizontal-slides.ready > div.slides > section:nth-child(n) > div:nth-child(1) > section{
top: 14px !important;
}
.topright {
position: relative;
}
.topright img {
position: absolute;
top: 0px;
right: 0px;
}
.bottomleft {
position: relative;
}
.bottomleft img {
position: fixed;
width: 135% !important;
margin: 0 !important;
padding: 0 !important;
bottom: -35px;
left: -155px;
}
.nomargin {
margin: 0px 0px 0px 0px !important;
}
</style>
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- title page -->
<section id="title">
<div>
<!-- <div style="text-align: left;margin-left:-20px"> -->
<h4>Installation & Setup</h4>
<p><i><font color="red">Linux</font></i></p>
<!-- </div> -->
</div>
</section>
<!-- Introduction page -->
<!-- <section id="intro">
<div>
<div style="text-align: left;margin-left:-20px">
<ul>
<li>Command line tool only</li>
<li>Use via <i><b>Terminal</b></i></li>
<li>Binary executable program driven via input files</li>
<li>Produces output files (text, TAB and JSON formats)</li>
</ul>
</div>
</div> -->
</section>
<!-- System page -->
<section id="system">
<div>
<div style="text-align: left;margin-left:-20px">
<h4>Supported Systems</h4>
<ul>
<li><b>Ubuntu</b> (recommended) - 16.04, 17.10, 18.04</li>
<li>Supports <b>Alpine</b>, <b>CentOS</b>, <b>Debian</b>, <b>OpenSUSE</b>, <b>Fedora</b>, <b>ScientificLinux</b>, and more</li>
<li>Full tested and supported list <a href="https://fispact.ukaea.uk/wiki/Docker_images">here</a></li>
</ul>
</div>
</div>
</section>
<!-- Requirements page -->
<!-- <section id="Requirements">
<div>
<div style="text-align: left;margin-left:-20px">
<h4>Requirements</h4>
<ul>
<li>Requires various nuclear data libraries to run</li>
<li>Supports <b>TENDL</b>, <b>ENDF/B</b>, <b>IRDFF</b>, <b>EAF</b> and more...</li>
<li>All available for download <a href="https://fispact.ukaea.uk/nuclear-data/downloads/">here</a></li>
</ul>
<p>Download and install <i><font color="red">cross section</font></i>, <i><font color="green">decay</font></i>, and <i><font color="blue">fission yield</font></i> libraries to perform calculations</p>
</div>
</div>
</section> -->
<!-- Installation page -->
<section id="installation">
<div>
<h4>Installation</h4>
<div style="text-align: center; font-size: 22px;">
<p>Make an installation directory (anywhere you like)</p>
<pre><code class="shell" data-trim data-noescape contenteditable>$ mkdir -p /home/user/FISPACT-II/v4.0</code></pre>
<p>Locate the binary for your system from the FISPACT-II files</p>
<pre><code class="shell" data-trim data-noescape contenteditable>$ ls
bin getting_started index.html
manual.pdf nuclear_data system_tests.tar.bz2
$ ls bin/ubuntu/18.04/ifort18
compress_xs_endf extract_xs_endf fispact
compress_xs_endf-4.0.0 extract_xs_endf-4.0.0 fispact-4.0.0
</code></pre>
<p>Copy the binary to a directory of your choosing (recommend <i>ifort</i>)</p>
<pre><code class="shell" data-trim data-noescape contenteditable>$ cp bin/ubuntu/18.04/ifort18/* /home/user/FISPACT-II/v4.0/</code></pre>
<p>Setup alias/environment variable for FISPACT-II</p>
<pre><code class="shell" data-trim data-noescape contenteditable>$ export FISPACT=/home/user/FISPACT-II/v4.0/fispact</code></pre>
</div>
</div>
</section>
<!-- Installation page -->
<section id="installation2">
<div>
<h4>Nuclear data installation</h4>
<div style="text-align: center; font-size: 30px;">
<p>Copy and extract nuclear data to installation directory</p>
<pre><code class="shell" data-trim data-noescape contenteditable>$ mkdir -p /home/user/FISPACT-II/nuclear_data
$ cp nuclear_data/*.tar.bz2 /home/user/FISPACT-II/nuclear_data
$ cd /home/user/FISPACT-II/nuclear_data
$ for file in *.tar.bz2; do tar xvjf $file; done
$ cd -
</code></pre>
<p>Setup alias/environment variable for nuclear data</p>
<pre><code class="shell" data-trim data-noescape contenteditable>$ export NUCLEAR_DATA=/home/user/FISPACT-II/v4.0/nuclear_data</code></pre>
</div>
</div>
</section>
</div> <!-- End slides -->
</div> <!-- End reveal -->
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<script>
// Configuration for Reveal
Reveal.initialize({
// Display presentation control arrows
controls: true,
// Help the user learn the controls by providing hints, for example by
// bouncing the down arrow when they first encounter a vertical slide
controlsTutorial: true,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout: 'bottom-right',
// Visibility rule for backwards navigation arrows; "faded", "hidden"
// or "visible"
controlsBackArrows: 'faded',
// Display a presentation progress bar
progress: false,
// Set default timing of 2 minutes per slide
defaultTiming: 120,
// Display the page number of the current slide
slideNumber: '',
// Push each slide change to the browser history
history: false,
// Enable keyboard shortcuts for navigation
keyboard: true,
// Enable the slide overview mode
overview: true,
// Vertical centering of slides
center: true,
// Enables touch navigation on devices with touch input
touch: true,
// Loop the presentation
loop: false,
// Change the presentation direction to be RTL
rtl: false,
// Randomizes the order of slides each time the presentation loads
shuffle: false,
// Turns fragments on and off globally
fragments: true,
// Flags if the presentation is running in an embedded mode,
// i.e. contained within a limited portion of the screen
embedded: false,
// Flags if we should show a help overlay when the questionmark
// key is pressed
help: true,
// Flags if speaker notes should be visible to all viewers
showNotes: false,
// Global override for autoplaying embedded media (video/audio/iframe)
// - null: Media will only autoplay if data-autoplay is present
// - true: All media will autoplay, regardless of individual setting
// - false: No media will autoplay, regardless of individual setting
autoPlayMedia: null,
// Number of milliseconds between automatically proceeding to the
// next slide, disabled when set to 0, this value can be overwritten
// by using a data-autoslide attribute on your slides
autoSlide: 0,
// Stop auto-sliding after user input
autoSlideStoppable: true,
// Use this method for navigation when auto-sliding
autoSlideMethod: Reveal.navigateNext,
// Enable slide navigation via mouse wheel
mouseWheel: false,
// Hides the address bar on mobile devices
hideAddressBar: true,
// Opens links in an iframe preview overlay
// Add `data-preview-link` and `data-preview-link="false"` to customise each link
// individually
previewLinks: false,
// Transition style
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Transition speed
transitionSpeed: 'default', // default/fast/slow
// Transition style for full page slide backgrounds
backgroundTransition: 'fade', // none/fade/slide/convex/concave/zoom
// Number of slides away from the current that are visible
viewDistance: 3,
// Parallax background image
parallaxBackgroundImage: '', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
// Parallax background size
parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px"
// Number of pixels to move the parallax background per slide
// - Calculated automatically unless specified
// - Set to 0 to disable movement along an axis
parallaxBackgroundHorizontal: null,
parallaxBackgroundVertical: null,
// The display mode that will be used to show slides
display: 'block',
math: {
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
},
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/math/math.js', async: true }
]
});
</script>
</body>
</html>