Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
module load cuda/7.5.18
install.packages('gpuR', dependencies=TRUE, repos='http://cran.rstudio.com/')

 

R-3.3.3 Installation

 

Pre-Requisite

No Format
Pre-Requisite
============
>>>>>>>>>>>Install xy to take care of lzma dependency >>>>>>>>>>>>>>>>>>>>>>>>>>
xz-5.3.3
tar -zxvf xz-5.2.3.tar.gz
./configure --prefix=/sw/library/xz/5.3.3
make -j3
make install
>>>>>>>>>>>>pcre>>>>>>>>>>>>>>>
pcre-8.39
bunzip2 pcre-8.39.tar.bz2
tar -xvf pcre-8.39.tar
./configure --enable-utf8 --prefix=/sw/pcre/8.39
make -j3
make install
>>>>>>>>curl>>>
wget https://curl.haxx.se/download/curl-7.53.1.tar.gz

./configure --prefix=/sw/misc/curl/7.53.1
make -j3
make install

>>>>>>bzip2>>>>>>>>>
got error related to bizp2
“/sw/library/bzip2/1.0.6/lib/libbz2.a: could not read symbols: Bad value”

>>
>>>>>>bzip2 fix>>>>>>>>>
cd /sw/library/bzip2/src/bzip2-1.0.6fpic
vi Makefile
CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) -fPIC
make  2>&1 | tee makeLog.txt
make install PREFIX=/sw/library/bzip2/1.0.6fpic  2>&1 | tee makeInstallLog.txt
>>>>>>>

Actual Installation

No Format
module purge
module load library/zlib/1.2.8
module load library/bzip2/1.0.6fpic
module load library/xz/5.3.3
module load pcre/8.39
module load misc/curl/7.53.1
module load ATLAS/3.9.39
module load jdk/1.8.0_66

./configure --prefix=/sw/R/3.3.3 '--with-cairo'  '--with-jpeglib' '--with-readline' '--with-tcltk'  '--with-blas' '--with-lapack' '--enable-R-profiling'  '--enable-R-shlib'  '--enable-memory-profiling' --enable-R-shlib  --enable-BLAS-shlib  LIBnn=lib64 JAVA_HOME=/sw/sdev/jdk/jdk1.8.0_66/jre    2>&1 | tee log.configure_R.txt

make  2>&1 | tee makeLog.txt


 

Ref: http://pj.freefaculty.org/blog/?p=315

Sample PBS jobs

Serial jobs

...