- Notify downtime in MS Team, need to mention about the R update as well.
- Make a note of all servers default R version -->
ll /usr/bin/R
- Need to restore the default versions after R update.
- Check the active sessions.
- Notify in MS Team that the downtime has started.
- Suspend all the active sessions -->
rstudio-server suspend-all
- Stop RStudio -->
rstudio-server stop
- Update R with -->
yum install --enablerepo="rhel-7-server-optional-rpms" R
- Finally restart RStudio server -->
rstudio-server restart
- Check the new R version with -->
R
- After update make all server default R versions as previous.
- Open RStudio server and check new version is there or not.
- Go to the following link https://sourceforge.net/projects/openblas/files/v0.3.3/OpenBLAS%200.3.3%20version.tar.gz
- Download the file and extract the file in /mnt (For ease of use, we are keeping it on /mnt)
- Create a directory in /opt/OpenBLAS
- Go to that extracted file and export the following.
- export OPENBLAS_NUM_THREADS=7
- export GOTO_NUM_THREADS=7
- export OMP_NUM_THREADS=7
- sudo make
- sudo make PREFIX=/opt/OpenBLAS install
- Confirm that all files came in /opt/OpenBLAS
- Next step is to rename libRblas.so for that,Go to /opt/vanillaR/R-3.4.3/lib64/R/lib and rename libRblas.so to libRblas.so_back
- For renaming use mv libRblas.so libRblas.so_back command
- Now we need to softlink, for that do, ln -s /opt/OpenBLAS/lib/libopenblas.so /opt/R-3.4.3/lib64/R/lib/libRblas.so
- Confirm whether the OpenBLAS is linked by benchmark test.