BwUniCluster2.0/Software/R/Rstan: Difference between revisions
< BwUniCluster2.0 | Software | R
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<pre> |
<pre> |
||
⚫ | |||
# Get sources |
|||
⚫ | |||
cd ~/src |
|||
⚫ | |||
$ 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 |
|||
⚫ | |||
</pre> |
</pre> |
Revision as of 15:03, 21 April 2021
Installation instructions
Consider starting an interactive job for compiling. Copy and paste the following to your shell.
$ mkdir -p ~/.R $ 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