Difference between revisions of "BwUniCluster2.0/Software/R/Rstan"
< BwUniCluster2.0 | Software | R
(→Installation instructions) |
(→Installation instructions) |
||
Line 5: | Line 5: | ||
<pre> |
<pre> |
||
+ | # Load the R software module, e.g. |
||
+ | module load math/R/3.6.3 |
||
+ | # Prepare .R directory (if it does not already exists) |
||
+ | mkdir -p ~/.R |
||
+ | # to Makevars |
||
− | |||
+ | echo "CXX14=icpc" >>~/.R/Makevars |
||
− | $ mkdir -p ~/.R |
||
+ | echo "CXX14FLAGS=-O3 -fPIC -std=c++14 -axCORE-AVX512,CORE-AVX2,AVX -xSSE4.2 -fp-model strict -qopenmp" >> ~/.R/Makevars |
||
− | $ echo "CXX14=icpc" >>~/.R/Makevars |
||
− | $ echo "CXX14FLAGS=-O3 -fPIC -std=c++14 -axCORE-AVX512,CORE-AVX2,AVX -xSSE4.2 -fp-model strict -qopenmp" >> ~/.R/Makevars |
||
− | $ module load math/R/3.6.3 |
||
Revision as of 15:09, 21 April 2021
Installation instructions
Consider starting an interactive job for compiling. Copy and paste the following to your shell.
# Load the R software module, e.g. module load math/R/3.6.3 # Prepare .R directory (if it does not already exists) mkdir -p ~/.R # to Makevars echo "CXX14=icpc" >>~/.R/Makevars echo "CXX14FLAGS=-O3 -fPIC -std=c++14 -axCORE-AVX512,CORE-AVX2,AVX -xSSE4.2 -fp-model strict -qopenmp" >> ~/.R/Makevars