Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jinghuazhao committed May 4, 2024
1 parent 8734b7f commit 624f99f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 22 deletions.
17 changes: 10 additions & 7 deletions docs/csd3-gcc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@

module load gcc/11 geos-3.6.2-gcc-5.4.0-vejexvy gettext-0.19.8.1-gcc-5.4.0-5iqkv5z pcre2-10.20-gcc-5.4.0-tcuhtrb texlive
module load image-magick-7.0.5-9-gcc-5.4.0-d4lemcc
module load ceuadmin/glpk/4.57 ceuadmin/icu/70.1
module load ceuadmin/brotli/1.0.9 ceuadmin/glpk/4.57 ceuadmin/icu/70.1 ceuadmin/jq/1.6 protobuf-3.4.0-gcc-5.4.0-zkpendv
module load ceuadmin/NLopt/2.7.1

export version=4.4.0
IFS=\. read major minor1 minor2 <<<${version}
export prefix=/rds/project/jmmh2/rds-jmmh2-public_databases/software
export R_LIBS=${prefix}/R-gcc11
export rds=/rds/project/jmmh2/rds-jmmh2-public_databases/software
export prefix=${CEUADMIN}/R
export dest=${version}-gcc11
export R_LIBS=${rds}/R-gcc11
cd ${prefix}
mkdir R-${version}-gcc11
mkdir ${dest}
wget -qO- https://cran.r-project.org/src/base/R-${major}/R-${version}.tar.gz | \
tar xvfz - -C R-${version}-gcc11 --strip-components=1
cd R-${version}-gcc11
./configure --prefix=${prefix}/${version}-gcc11 --with-pcre2 --enable-R-shlib
tar xvfz - -C ${dest} --strip-components=1
cd ${dest}
./configure --prefix=${prefix}/${dest} --with-pcre2 --enable-R-shlib
make
make install
16 changes: 8 additions & 8 deletions docs/csd3-icelake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ module load ceuadmin/nettle/2.7.1 texlive

export version=4.4.0
IFS=\. read major minor1 minor2 <<<${version}
export prefix=/rds/project/jmmh2/rds-jmmh2-public_databases/software
export R_LIBS=${prefix}/R-icelake
export rds=/rds/project/jmmh2/rds-jmmh2-public_databases/software
export prefix=$CEUADMIN/R
export dest=${version}-icelake
export R_LIBS=${rds}/R-icelake
cd ${prefix}
mkdir R-${version}-icelake
mkdir ${dest}
wget -qO- https://cran.r-project.org/src/base/R-${major}/R-${version}.tar.gz | \
tar xvfz - -C R-${version}-icelake --strip-components=1
cd R-${version}-icelake
export prefix=/usr/local/Cluster-Apps/ceuadmin/R
./configure --prefix=${prefix}/${version}-icelake --with-pcre2 --enable-R-shlib
tar xvfz - -C ${dest} --strip-components=1
cd ${dest}
./configure --prefix=${prefix}/${dest} --with-pcre2 --enable-R-shlib
make
make install

function legacy()
{
Expand Down
17 changes: 10 additions & 7 deletions docs/csd3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
module load gcc/9 geos-3.6.2-gcc-5.4.0-vejexvy gettext-0.19.8.1-gcc-5.4.0-5iqkv5z pcre2-10.20-gcc-5.4.0-tcuhtrb texlive
module load image-magick-7.0.5-9-gcc-5.4.0-d4lemcc
module load ceuadmin/brotli/1.0.9 ceuadmin/glpk/4.57 ceuadmin/icu/70.1 ceuadmin/jq/1.6 protobuf-3.4.0-gcc-5.4.0-zkpendv
module load ceuadmin/NLopt/2.7.1

export prefix=/rds/project/jmmh2/rds-jmmh2-public_databases/software
export R_LIBS=${prefix}/R
cd ${prefix}
export version=4.4.0
IFS=\. read major minor1 minor2 <<<${version}
export rds=/rds/project/jmmh2/rds-jmmh2-public_databases/software
export prefix=$CEUADMIN/R
export dest=${version}
export R_LIBS=${rds}/R
cd ${prefix}
mkdir ${dest}
wget -qO- https://cran.r-project.org/src/base/R-${major}/R-${version}.tar.gz | \
tar xvfz -
cd R-${version}
./configure --prefix=${prefix}/${version} --with-pcre2 --enable-R-shlib
tar xvfz - -C ${dest} --strip-components=1
cd ${dest}
./configure --prefix=${prefix}/${dest} --with-pcre2 --enable-R-shlib
make
make install
Rscript -e 'update.packages(checkBuilt=TRUE,ask=FALSE)'

function pre_4.3.3()
Expand Down

0 comments on commit 624f99f

Please sign in to comment.