Versions Compared

Key

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

...

No Format
module load library/atlas/3.10.2
module load jdk/1.8.0_66

./configure --prefix=/sw/R/R-3.2.3 --with-blas="-L/sw/library/atlas/3.10.2/my_build_dir/lib -lptf77blas -lpthread -latlas" --with-lapack --enable-R-shlib  --enable-BLAS-shlib LIBnn=lib64 JAVA_HOME=/sw/sdev/jdk/jdk1.8.0_66   2>&1 | tee log.configure_R

make  2>&1 | tee log.make_R
make check 2>&1 | tee log.makeCheck_R

make  install 2>&1 | tee log.make_install_R.txt
cp -rp library lib include doc m4 modules po tests tools  
cp -rp library lib include doc m4 modules po tests tools  ../R-3.2.3/
>>>>>>>>>
module display R/3.2.3
-------------------------------------------------------------------
/sw/com/modulefiles/R/3.2.3:
module-whatis     Set up environment for R version 3.2.3
conflict     R/3.0.2
conflict     R/3.2.0
conflict     R/3.2.3old
module         load jdk/1.8.0_66
module         load library/gdal/1.9.2
module         load library/proj/4.8.0
module         load library/geos/3.4.2
module         load jags/4.0.1
module         load library/atlas/3.10.2
prepend-path     PATH /sw/R/R-3.2.3/bin
prepend-path     PATH /sw/R/R-3.2.3/lib64/R/bin
prepend-path     LD_LIBRARY_PATH /sw/R/R-3.2.3/lib64/R/lib
prepend-path     INCLUDE /sw/R/R-3.2.3/lib64/R/include
prepend-path     MANPATH /sw/R/R-3.2.3/share/man
-------------------------------------------------------------------
>>>>>>>>

module load R/3.2.3
wget https://cran.r-project.org/src/contrib/pbkrtest_0.4-6.tar.gz
module load R/3.2.3
install.packages('lme4', dependencies=TRUE, repos='http://cran.rstudio.com/')
install.packages("/tmp/pbkrtest_0.4-6.tar.gz", repos=NULL)
install.packages('caret', dependencies=TRUE, repos='http://cran.rstudio.com/')

...

Rmpi

No Format
module load mpi/openMPI/1.8.5-gcc4.9.0
R CMD INSTALL --configure-args="--with-Rmpi-include=/sw/openMPI/1.8.5-gcc4.9.0/include --with-Rmpi-libpath=/sw/openMPI/1.8.5-gcc4.9.0/lib/openmpi --with-Rmpi-type=OPENMPI" /tmp/Rmpi_0.6-5.tar.gz

 

Sample PBS jobs

Serial jobs

...