-
Notifications
You must be signed in to change notification settings - Fork 26
Running on PIC
Ben Bond-Lamberty edited this page Apr 29, 2019
·
1 revision
This from Stephanie Waldhoff, who had some trouble.
Need to first load modules on PIC
module load git
module load svn/1.8.13
module load R/3.3.3
module load java/1.8.0_31
module load gcc/6.1.0
Building gcamdata on PIC, for GCAM 5.1 and above:
# From gcamdata directory
# Run R
> R
# At one point, devtools wasn’t loading properly, reinstalling glue fixed this.
# > install.packages(“glue”)
> install.packages("devtools")
Warning in install.packages("devtools") :
'lib = "/projects/ops/apps/rh6/R/3.3.3/lib64/R/library"' is not writable
Would you like to use a personal library instead? (y/n) y
Would you like to create a personal library
~/R/x86_64-pc-linux-gnu-library/3.3
to install packages into? (y/n) y
--- Please select a CRAN mirror for use in this session ---
HTTPS CRAN mirror
Selection: 63 (USA (OR))
> devtools::install_deps()
# Install All
> 1
> devtools::load_all()
> driver(write_outputs = FALSE, write_xml = TRUE)
# Assuming no errors…
> quit()