This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:compiling_r [2011/12/07 16:00] hamish |
guide:compiling_r [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Installing R 2.14 from Source ====== | ====== Installing R 2.14 from Source ====== | ||
| - | This guide is written fun the Sun Tsessbe Cluster, login node. Its recommended that you make you use of temporary or scratch directory to do all the compilation in (i.e. ~/scratch or / | + | This guide is written fun the Sun Tsessbe Cluster, login node. Its recommended that you make you use of temporary or scratch directory to do all the compilation in (i.e. ~/scratch or / |
| - | Also note that for this guide, all binary and libraries are installed home directory, | + | If you dont have GCC installed |
| export PATH=/ | export PATH=/ | ||
| export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
| Line 20: | Line 20: | ||
| ===== Configure ===== | ===== Configure ===== | ||
| + | For a bare-bones installation | ||
| $ mkdir BUILD | $ mkdir BUILD | ||
| $ cd BUILD | $ cd BUILD | ||
| - | $ ../ | + | $ ../ |
| | | ||
| ===== Build / Make ===== | ===== Build / Make ===== | ||
| Line 40: | Line 41: | ||
| restore you .bashrc file | restore you .bashrc file | ||
| + | For you jobs to run on the worker nodes, you may need to copy some shared libraries to your lib directory | ||
| + | $ cd $HOME/lib | ||
| + | $ cp / | ||