Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
962 commits
Select commit Hold shift + click to select a range
87cf62d
First attempt at new Tensorflow.
owainkenwayucl Jun 14, 2018
1858428
Bazel 0.14.1
owainkenwayucl Jun 14, 2018
cd8e455
R 3.5.0: additional packages script updated with correct ROOT module.
balston Jun 14, 2018
b9321e9
I misunderstood.
owainkenwayucl Jun 14, 2018
052a92e
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 14, 2018
1ee8de0
_ not -
owainkenwayucl Jun 14, 2018
4bb4e71
I am genuinely losing the will to live.
owainkenwayucl Jun 14, 2018
615ae51
When you have meaningless commands typos are hard to spot.
owainkenwayucl Jun 14, 2018
c2a63d8
Tensorflow 1.8 installer.
owainkenwayucl Jun 14, 2018
6f11032
...
owainkenwayucl Jun 14, 2018
5a05f45
Typo
owainkenwayucl Jun 14, 2018
c3e5cc1
_ not -
owainkenwayucl Jun 14, 2018
be7f47e
Cuba 4.2 for Mathematica 11.3 build script.
balston Jun 14, 2018
f13aede
Added bison and gperf modules needed by qt.
balston Jun 14, 2018
27726c5
Remove kludge (use wrappers instead).
owainkenwayucl Jun 14, 2018
144aef0
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 14, 2018
2b3a3e0
Cuda 9.0
owainkenwayucl Jun 14, 2018
0a015bd
Typo.
owainkenwayucl Jun 14, 2018
d0f1899
Need to make scripts executable.
owainkenwayucl Jun 14, 2018
acf46b4
R 3.5.0 MPI packages build script.
balston Jun 14, 2018
7336ec3
Adds Elk 4.0.15
ikirker Jun 14, 2018
394c6c5
Adds forgotten make.inc patch for Elk 4.0.15
ikirker Jun 14, 2018
930c9f0
Fixed install path for elk 4.0.15
ikirker Jun 14, 2018
383db29
Elk 4.0.15: removes make.inc line that would use wrong libs
ikirker Jun 14, 2018
97a4e7a
R 3.5.0 additional packages script updated to use mpi/openmpi/3.0.0/g…
balston Jun 19, 2018
634de72
R 3.5.0 MPI packages script updated to use mpi/openmpi/3.0.0/gnu-4.9.2.
balston Jun 19, 2018
7629b9c
Tensorflow 1.8.0 build script.
owainkenwayucl Jun 19, 2018
f234f8c
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 19, 2018
e10a6ec
Automake build script. Needed by EPACTS.
balston Jun 19, 2018
231a10b
Forgot to make it executable!
balston Jun 19, 2018
4a2bdf4
Corected source archive location.
balston Jun 19, 2018
90b9b8d
Decrease number of qs user has to answer.
owainkenwayucl Jun 19, 2018
a88da86
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 19, 2018
e94c39b
Added -y to the wrong command. :(
owainkenwayucl Jun 19, 2018
7277357
Adds Go compiler 1.10.3
ikirker Jun 8, 2018
97dd43c
Bugfix: errunset-proofing tools_inc.sh
ikirker Jun 19, 2018
d779a8a
Adds Sambamba 0.6.7 bindist
ikirker Jun 19, 2018
a647084
Adds Samblaster 0.1.24
ikirker Jun 19, 2018
c603588
Hopefully this should be the last two.
owainkenwayucl Jun 19, 2018
9285d66
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 19, 2018
ec6d247
Bugfix: more errexit-proofing in tools_inc.sh
ikirker Jun 19, 2018
7a853a3
EPACTS build script.
balston Jun 19, 2018
378cba7
Local GPU Tensorflow build.
owainkenwayucl Jun 20, 2018
49d6521
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 20, 2018
ae83a7b
Add note saying this doesn't work.
owainkenwayucl Jun 20, 2018
87a5a9d
Makefile with options for USER-INTEL
owainkenwayucl Jun 20, 2018
175c0d1
Remove -g
owainkenwayucl Jun 20, 2018
e3b1875
Remove -g
owainkenwayucl Jun 20, 2018
a4a5223
Adds sambamba 0.5.1
ikirker Jun 20, 2018
2bb73bb
Clean old install.
owainkenwayucl Jun 20, 2018
41ff40a
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 20, 2018
df6bfd2
Set name.
owainkenwayucl Jun 20, 2018
15a7d05
STAR-CD Version 4.28.050 build script.
balston Jun 20, 2018
7173898
Updated ICE version number.
balston Jun 20, 2018
042763f
Patchs for optimised versions.
owainkenwayucl Jun 21, 2018
d80e34b
Optimised versions.
owainkenwayucl Jun 21, 2018
e541ba1
Added Term::ReadKey to perl modules
heatherkellyucl Jun 21, 2018
87d40f0
Correct path for GPU lib makefile.
owainkenwayucl Jun 21, 2018
92bc45e
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jun 21, 2018
994863a
Deeptools install script
owainkenwayucl Jun 21, 2018
e9e75f4
I need to wake up.
owainkenwayucl Jun 21, 2018
1a056b3
Don't use bundle - clashes.
owainkenwayucl Jun 21, 2018
19bcd0b
Use a pseudo-venv.
owainkenwayucl Jun 21, 2018
94ff0d9
That option was breaking things and unecessary
owainkenwayucl Jun 21, 2018
e8a663a
I messed up :(
owainkenwayucl Jun 21, 2018
e783a9a
I really really really hate python
owainkenwayucl Jun 21, 2018
d55e042
I swear this is the worst language ever invented.
owainkenwayucl Jun 21, 2018
a59dab8
Gromacs 2018.2
owainkenwayucl Jun 22, 2018
1455d8b
Newer compiler.
owainkenwayucl Jun 22, 2018
2a8c64c
Adds FFTW 3.3.8 with Intel MPI
ikirker Jun 22, 2018
c890095
Fixes module generation for fftw-3.3.8
ikirker Jun 26, 2018
4033fb9
Adds FFTW-specific variables to module for fftw-3.3.8
ikirker Jun 26, 2018
1cadb9d
Fixes up config options for FFTW 3.3.8-impi
ikirker Jun 26, 2018
b14bd8d
Cuba 4.2: version of Mathematica downgraded to 11.0.1.
balston Jul 2, 2018
c7b5e84
Corrects paths for module in FFTW 3.3.8
ikirker Jul 2, 2018
f5138e0
List of xorg package versions
heatherkellyucl Jul 6, 2018
2951e70
Added buildscript and wrapper list for Picard 2
heatherkellyucl Jul 11, 2018
93482ad
Change to "$@" and shellchecks
heatherkellyucl Jul 11, 2018
fd8367b
Adds libxc 4
ikirker Jul 11, 2018
3f60623
Add mkl (needed by clm4.5) to build.
owainkenwayucl Jul 12, 2018
ec883d9
Make Intel reqs generic.
owainkenwayucl Jul 12, 2018
0b59aaa
I have no idea how this worked before.
owainkenwayucl Jul 12, 2018
42f2056
Clearer messages.
owainkenwayucl Jul 12, 2018
91e05a0
Do builds in the same way for core netcdf
owainkenwayucl Jul 12, 2018
19a35e3
Added ninja buildscript
heatherkellyucl Jul 17, 2018
5596cea
Added ninja to python-shared list instead of standalone buildscript
heatherkellyucl Jul 18, 2018
17d5b0a
Add fortran libs.
owainkenwayucl Jul 18, 2018
12a0c0e
Undo change.
owainkenwayucl Jul 18, 2018
03fb0d7
Patch to build plink2
owainkenwayucl Jul 20, 2018
b08c53c
Plink 2.0 build script
owainkenwayucl Jul 20, 2018
3952abe
No avx2 on Legion.
owainkenwayucl Jul 20, 2018
2735a21
:(
owainkenwayucl Jul 20, 2018
74a5513
hopspack mkl.
owainkenwayucl Jul 20, 2018
9f4a99f
CMAKE
owainkenwayucl Jul 20, 2018
623d1f8
Manually edit CMakeCache.txt ahead of time.
owainkenwayucl Jul 20, 2018
608f0cd
Install libs as well.
owainkenwayucl Jul 20, 2018
9e2f88b
Install libraries too.
owainkenwayucl Jul 20, 2018
7d09093
Patch for xorg's build.sh (util/modular)
heatherkellyucl Jul 23, 2018
07bba57
Missing tabs in patch
heatherkellyucl Jul 23, 2018
44d73dc
Trailing space
heatherkellyucl Jul 23, 2018
a2962a5
Xorg luit patch file
heatherkellyucl Jul 24, 2018
1cc0091
Added finding correctly-named mesa tarball to patch
heatherkellyucl Jul 25, 2018
0489068
Added finding correctly-named mesa tarball to patch
heatherkellyucl Jul 25, 2018
25b018b
Tabs
heatherkellyucl Jul 25, 2018
b00f559
New HDF5
owainkenwayucl Jul 26, 2018
c811318
Corrected version number.
owainkenwayucl Jul 26, 2018
00b5e4d
Better install path.
owainkenwayucl Jul 26, 2018
ab77226
.gz => .bz2
owainkenwayucl Jul 26, 2018
e21d83e
set -e
owainkenwayucl Jul 26, 2018
c730026
better temp build location.
owainkenwayucl Jul 26, 2018
e5f874d
Added llvm 6.0.1 buildscript
heatherkellyucl Jul 26, 2018
2f82bfc
Removes pandas from Pypy list due to segfaults in testing
ikirker Jul 30, 2018
2c32a42
Python 3.7.0
owainkenwayucl Jul 31, 2018
919b14d
Script for python 3.7.0 bundle.
owainkenwayucl Jul 31, 2018
c8efff3
Make paths more sane.
owainkenwayucl Jul 31, 2018
14f8590
Link LLVM single shared library
heatherkellyucl Jul 31, 2018
bfd3e9f
No longer need to pin pysam for pysamstats.
owainkenwayucl Jul 31, 2018
7d48680
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Jul 31, 2018
8c5e8a6
Correct versioning.
owainkenwayucl Jul 31, 2018
a56044d
Set INSTALL_PREFIX after the compiler module is loaded
heatherkellyucl Jul 31, 2018
8e5e021
Added mako to python lists
heatherkellyucl Jul 31, 2018
e4a69b7
Adds OpenMPI 3.1.1 with Intel and GCC compilers
ikirker Jul 31, 2018
bb92929
HYPRE
owainkenwayucl Aug 1, 2018
9393c47
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Aug 1, 2018
690bec9
Add /src
owainkenwayucl Aug 1, 2018
dde0797
New, hopefully fixed OpenMPI
owainkenwayucl Aug 1, 2018
cdd602c
Put MPI in the path.
owainkenwayucl Aug 1, 2018
88db734
First attempt at PGPLot
owainkenwayucl Aug 1, 2018
117994c
Fortran FIRST
owainkenwayucl Aug 1, 2018
76bdbac
One day I'll get this right.
owainkenwayucl Aug 1, 2018
6b0c1ea
OK, C bindings don't work.
owainkenwayucl Aug 1, 2018
8df392c
Regex pypi package
owainkenwayucl Aug 3, 2018
9d0f691
Regex
owainkenwayucl Aug 3, 2018
f4d2c28
MPI4PY 3.0.0 installer.
owainkenwayucl Aug 8, 2018
35840dc
QCFTOOL v2 beta
owainkenwayucl Aug 8, 2018
4704312
First draft of CP2K 6.1 buildscript, needs appropriate archfile
ikirker Aug 8, 2018
a5859f9
Julia 0.7.0
owainkenwayucl Aug 9, 2018
0d6b548
Correct directory to extract to.
owainkenwayucl Aug 9, 2018
7ff565d
Julia 1.0.0.
owainkenwayucl Aug 9, 2018
4106db7
Correct sha256
owainkenwayucl Aug 9, 2018
ef5a648
Chicken Scheme installer.
owainkenwayucl Aug 13, 2018
5dc3934
-p not -
owainkenwayucl Aug 13, 2018
16b4f46
rlwrap package.
owainkenwayucl Aug 14, 2018
53a3c87
Need to generate configure script.
owainkenwayucl Aug 14, 2018
203bbda
Fortran runtime for ext libs.
owainkenwayucl Aug 16, 2018
7f4fe11
Need fortran runtime for reax and meam
owainkenwayucl Aug 16, 2018
06e3f98
Adds OpenBLAS 0.3.2
ikirker Aug 16, 2018
814cdb8
Corrects OpenBLAS 0.3.2 module gen
ikirker Aug 16, 2018
b3ea866
Corrects permissions on OpenBLAS module dir
ikirker Aug 16, 2018
4326aa2
New optional packages.
owainkenwayucl Aug 16, 2018
703d93c
Merge branch 'master' of github.com:UCL-RITS/rcps-buildscripts
owainkenwayucl Aug 16, 2018
80277c8
Clear out old install
owainkenwayucl Aug 16, 2018
52c714f
Copy-paste error
owainkenwayucl Aug 16, 2018
095d018
Adds libxc 4.2.3 with GNU compilers
ikirker Aug 16, 2018
6472a7b
Adds VT (git version) install
ikirker Aug 17, 2018
98dd4e7
Added GULP getengine patch
heatherkellyucl Aug 20, 2018
560ff98
Added GULP 4.5 buildscript
heatherkellyucl Aug 20, 2018
4964d39
Missing -i in patch command
heatherkellyucl Aug 20, 2018
4cc7ca2
Was setting INSTALL_PREFIX at the top as well
heatherkellyucl Aug 21, 2018
6b4b47a
Renamed patches to include version of GULP they are for; updated buil…
heatherkellyucl Aug 21, 2018
45a751b
Patch for Chemshell library version of gulp 4.5
heatherkellyucl Aug 21, 2018
34e0e00
Added Tcl/Tk buildscript
heatherkellyucl Aug 22, 2018
851157a
Archive variable mismatch
heatherkellyucl Aug 22, 2018
394e9be
Added ChemShell standalone buildscript
heatherkellyucl Aug 22, 2018
2844e17
Wrong extension on tar file
heatherkellyucl Aug 22, 2018
340ee1f
Listed wrong location for validate.log
heatherkellyucl Aug 22, 2018
e09544f
Added buildscript for GULP with libgulp for ChemShell
heatherkellyucl Aug 22, 2018
47ed16c
Has to make library only (as no lapack...)
heatherkellyucl Aug 22, 2018
72ce547
Added ChemShell-mpi-libgulp buildscript
heatherkellyucl Aug 23, 2018
f3756d4
Loaded mpi module, included gulp version in path
heatherkellyucl Aug 23, 2018
9829e1b
Serial GNU Arpack (for potential Octave build).
owainkenwayucl Aug 23, 2018
ab66b2a
Don't need - in the type.
owainkenwayucl Aug 23, 2018
e617bd8
GCC version.
owainkenwayucl Aug 24, 2018
84e3696
Make sure gcc install doesn't overwrite intel one.
owainkenwayucl Aug 24, 2018
b796784
Tag as serial
owainkenwayucl Aug 24, 2018
7e1a2d6
Don't edit modules when not yet awake
owainkenwayucl Aug 24, 2018
0375b8d
Oh this bodes badly.
owainkenwayucl Aug 24, 2018
424ee0d
OpenBlas
owainkenwayucl Aug 24, 2018
7b44b8a
First Octave attempt.
owainkenwayucl Aug 24, 2018
e3b445d
Convert to require for deps.
owainkenwayucl Aug 24, 2018
134b7d3
Switch to threading
owainkenwayucl Aug 24, 2018
720379e
Switch to threading
owainkenwayucl Aug 24, 2018
647ac5b
Clear old install.
owainkenwayucl Aug 24, 2018
329e994
Added group restriction to chemshell installs
heatherkellyucl Aug 28, 2018
b1ec9a4
Adds Global Arrays 5.7 (skips tests)
ikirker Aug 31, 2018
eea33b8
USE_THREAD not USE_THREADS
owainkenwayucl Sep 3, 2018
095c247
Clear out old install
owainkenwayucl Sep 3, 2018
df1f74f
OK, so you can't build without threads and with OMP
owainkenwayucl Sep 3, 2018
05809c7
Serial arpack
owainkenwayucl Sep 3, 2018
f22b9d3
Serial Suitesparse
owainkenwayucl Sep 3, 2018
86f1a20
LLVM 3.3 for Octave jit
owainkenwayucl Sep 4, 2018
aebfb9e
Faster build.
owainkenwayucl Sep 4, 2018
aefe351
Switch to serial OpenBLAS.
owainkenwayucl Sep 4, 2018
82b1626
MRtrix: version 3.0 RC3 build script. Only configure step to check al…
balston Sep 5, 2018
da8ef95
MRtrix 3.0 RC3: added build and test steps to build script as configu…
balston Sep 5, 2018
53523d9
R 3.5.1: build script.
balston Sep 5, 2018
4f66b5f
R 3.5.1: forgot to updated MD5 in build script!
balston Sep 5, 2018
909f37b
MRtrix 3.0RC3: updated for installation in /shared/ucl/apps.
balston Sep 5, 2018
ad1ee8d
R 3.5.1: additional packages script updated.
balston Sep 6, 2018
bbad8af
Properly cleans environment for GA 5.7
ikirker Sep 6, 2018
9c94657
ROOT 5.34.36 build script for R 3.5.1
balston Sep 6, 2018
6ec91f0
Fixes module generation for GA 5.7
ikirker Sep 6, 2018
1b57ec5
R 3.5.1 additional packages script updated to require ROOT 5.34.36.
balston Sep 7, 2018
9d97bd9
R 3.5.1 MPI build script updated.
balston Sep 7, 2018
3571b50
R 3.5.1 MPI install script updated to try and fix Rmpi install errors.
balston Sep 7, 2018
d8b5ef5
R 3.5.1 buld script - updaed ROOT module version.
balston Sep 10, 2018
47f943d
Updated build script for udunits for version 2.2.26. Sources for vers…
balston Sep 11, 2018
e061ebb
R 3.5.1 build script updated for udunits 2.2.26.
balston Sep 11, 2018
c1900bd
R 3.5.1 additional packages script updated for udunits 2.2.26.
balston Sep 11, 2018
d50a2ed
R 3.5.1 MPI install scipt updated for udunits 2.2.26.
balston Sep 11, 2018
b0b1d0e
Added DL_POLY 4.09 buildscript
heatherkellyucl Sep 13, 2018
a06e0b8
Made sure install dir created and copy in without extra directory in …
heatherkellyucl Sep 13, 2018
e3658f7
Adds GA 8-byte integer variant
ikirker Sep 13, 2018
81a87c4
Fixes module generation for GA versions
ikirker Sep 13, 2018
468452c
Tephra2: 2.0 build script.
balston Sep 13, 2018
0fd2ab8
AstroBEAR makefile.inc
owainkenwayucl Sep 13, 2018
20045d9
Tephra2 2.0: corrected path to run-inversion-UCL script.
balston Sep 13, 2018
688c64d
Merge branch 'master' of https://github.com/UCL-RITS/rcps-buildscripts
balston Sep 13, 2018
864af5f
Added buildscript for plumed 2.4.2 (inc intel2018)
heatherkellyucl Sep 13, 2018
49a7cfa
No longer necessary to include -fopenmp for the tests to link (and ma…
heatherkellyucl Sep 14, 2018
4e554b0
Removed defunct comment
heatherkellyucl Sep 14, 2018
bd22328
We still do need to pin pysam
owainkenwayucl Sep 17, 2018
95f530b
Disable pip cache.
owainkenwayucl Sep 17, 2018
2a182af
Testing Python 3.7 bundle.
owainkenwayucl Sep 17, 2018
3ca4fcc
Cyvcf2
owainkenwayucl Sep 17, 2018
09bf429
Drop down to Intel 2017 compilers for pointer issues
owainkenwayucl Sep 19, 2018
30644df
Fix comments.
owainkenwayucl Sep 19, 2018
0b4b1b2
Updated to use fp-model precise instead, which works
heatherkellyucl Sep 21, 2018
106a0cd
Should be able to go up to sse4.2 as the minimum
heatherkellyucl Sep 21, 2018
2d3efd4
boost 1.63: get non MPI version to install in correct directory.
balston Sep 21, 2018
cfdb154
Use MKL instead of OpenBLAS for Intel toolchain
heatherkellyucl Sep 21, 2018
e9602b0
SAC: build script usinf Matlab R2018a.
balston Oct 1, 2018
442ab67
SAC: Cannot build with R2018a so trying R2016b.
balston Oct 1, 2018
2406156
SAC: also needed to change install prefix!
balston Oct 1, 2018
637fa14
SAC: coukldn't build with Matlab R2018a so used R2016b instead.
balston Oct 1, 2018
4a16e92
Adds DFTB+ 18.2 (Intel compilers & MPI)
ikirker Oct 2, 2018
b6fd010
Corrects permissions on DFTB+ 18.2 module dir
ikirker Oct 2, 2018
c7c08fe
TractoR 3.2.5 build script.
balston Oct 3, 2018
ccd3071
TractoR 3.2.5: fixed problem where install directory wasn't created b…
balston Oct 3, 2018
7a2a863
CMG Reservoir Simulation Software build script.
balston Oct 9, 2018
2115807
CMG: Forgot to add the name of the installer archive to the end of th…
balston Oct 9, 2018
8c13663
Magma and VG build scripts.
owainkenwayucl Oct 10, 2018
8918140
Jansson
owainkenwayucl Oct 10, 2018
612d188
other download location
owainkenwayucl Oct 10, 2018
0124748
Jansson reqs.
owainkenwayucl Oct 10, 2018
a81c6eb
Correct versioning
owainkenwayucl Oct 10, 2018
4047fbe
Update the version of afni
owainkenwayucl Oct 11, 2018
0183eae
Add seaborn to the shared packages list.
owainkenwayucl Oct 16, 2018
db148b2
R 3.5.1: individual packaage install script updated.
balston Oct 18, 2018
cdf8368
R 3.5.1: update additional packages script to set up ~/.R/Makevars fo…
balston Oct 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
107 changes: 107 additions & 0 deletions CPMD_Intel_MPI_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
#!/usr/bin/env bash

###############################################
# Installing CPMD: MPI with Intel compilers
#
# by Brian Alston, May 2017
#
# Using Ian's require function to load modules
#
# Will need modules: see list of modules below.

VERSION=${VERSION:-4.1}
PLATFORM=${PLATFORM:-INTEL-MPI}
INSTALL_PREFIX=${INSTALL_PREFIX:-/shared/ucl/apps/CPMD/$VERSION/Intel-MPI}
SRC_ARCHIVE_CPMD=${SRC_ARCHIVE_CPMD:-cpmd-v$VERSION.tar.gz}
SRC_ARCHIVE_CPMD2CUBE=${SRC_ARCHIVE_CPMD2CUBE:-cpmd2cube.tar.gz}
SRC_ARCHIVE_LOCATION=${SRC_ARCHIVE_LOCATION:-/shared/ucl/apps/CPMD/sources/}
PATCHES="patch_3808-3812.txt patch_3812-3813.txt patch_3815-3816.txt"
LOG_LOCATION=${LOG_LOCATION:-~/Software/CPMD}

export PATH=$INSTALL_PREFIX/bin:$PATH

dirname=$(dirname $0 2>/dev/null || pwd)
INCLUDES_DIR=${INCLUDES_DIR:-${dirname}/includes}
source ${INCLUDES_DIR}/module_maker_inc.sh
source ${INCLUDES_DIR}/require_inc.sh

require rcps-core/1.0.0
require compilers/intel
require mpi/intel

if [ ! -f $SRC_ARCHIVE_LOCATION/$SRC_ARCHIVE_CPMD ]
then
echo ""
echo "***** ERROR: Cannot find CPMD archive"
echo ""
echo "You need to download the CPMD source archive from the CPMD download portal"
echo "(http://cpmd.org/download) using your license login. Note: both Latest"
echo "Distribution and pathes are needed. Also the additional packages: "
echo "cpmd2cube.tar.gz."
echo "Place them somewhere in your file-system and set the SRC_ARCHIVE_*"
echo "variables appropriately."
echo ""
exit 1
fi


temp_dir=`mktemp -d -p /dev/shm`
cd $temp_dir

# Firstly CPMD

echo "***** Building CPMD ..."

# Unpack source archive, apply patches and configure for building in install location.

tar xvzf $SRC_ARCHIVE_LOCATION/$SRC_ARCHIVE_CPMD
cd CPMD

for p in $PATCHES
do
echo "Applying patch $p ..."
patch -p0 < $SRC_ARCHIVE_LOCATION/$p
done

INSTALL_LOC=$INSTALL_PREFIX
mkdir -p $INSTALL_LOC
./configure.sh -DEST=$INSTALL_LOC LINUX-X86_64-INTEL-MPI

cd $INSTALL_LOC

# Need to fix Makefile before building on Legion/Grace/Thomas

cp Makefile Makefile_orig
sed -e '/CPP =/s/-C//' -e '/FC = /s/mpif90/mpiifort/' -e '/LD =/s/mpif90/mpiifort/' Makefile_orig > Makefile

# Build in install location.

echo "Compiling ..."
make 2>&1 | tee $LOG_LOCATION/CPMD_build.log_`date +%d.%m.%Y-%H.%M`

echo ""
echo "***** Building cpmd2cube ..."

# Unpack source archive, and configure for building in install location.

cd $temp_dir
tar xvzf $SRC_ARCHIVE_LOCATION/$SRC_ARCHIVE_CPMD2CUBE
cd cpmd2cube
mkdir -p $INSTALL_LOC/cpmd2cube

./Configure -DEST=$INSTALL_LOC/cpmd2cube -m Linux-PC-IFORT

cd $INSTALL_LOC/cpmd2cube

# Need to fix Makefile before building on Legion/Grace/Thomas

cp Makefile Makefile_orig
sed -e '/^LFLAGS/s/-i-static/-static-intel/' Makefile_orig > Makefile

# Build in install location

echo "Compiling cpmd2cube ..."
make 2>&1 | tee $LOG_LOCATION/cpmd2cube_build.log_`date +%d.%m.%Y-%H.%M`
mv cpmd2cube.x cutcube.x trimcube.x ../bin

echo "Finished."
61 changes: 61 additions & 0 deletions Cuba-4.2_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/usr/bin/env bash

###############################################
# Installing Cuba 4.2
#
# by Brian Alston, 2018
#
# Numerical integration library for Mathematica 11.0.1
#
# Updated July 2018 to downgrade version of Mathematica
#
# Note: 11.1 is the most recent version of Mathematica
# that Cuba will work with. It is NOT compatible with
# 11.2 or 11.3 see IN03009733
#
# Will need modules: gcc-libs/4.9.2, compilers/gnu/4.9.2
# qt/5.4.2/gnu-4.9.2, xorg-utils/X11R7.7, mathematica/11.0.1

VERSION=${VERSION:-4.2}
VER=`echo $VERSION | sed 's/\.//'`
INSTALL_PREFIX=${INSTALL_PREFIX:-/shared/ucl/apps/Cuba/${VERSION}_gnu-4.9.2_Math-11.0.1}
MD5=${MD5:-a3eb0751d4872a3f86401694bc5bedae}
SRC_ARCHIVE=${SRC_ARCHIVE:-http://www.feynarts.de/cuba/Cuba-${VERSION}.tar.gz}

export PATH=$INSTALL_PREFIX/bin:$PATH

dirname=$(dirname $0 2>/dev/null || pwd)
INCLUDES_DIR=${INCLUDES_DIR:-${dirname}/includes}
source ${INCLUDES_DIR}/module_maker_inc.sh
source ${INCLUDES_DIR}/require_inc.sh

require gcc-libs/4.9.2
require compilers/gnu/4.9.2
require bison/3.0.4/gnu-4.9.2
require gperf/3.0.4/gnu-4.9.2
require qt/5.4.2/gnu-4.9.2
require xorg-utils/X11R7.7
require mathematica/11.0.1

temp_dir=`mktemp -d -p /dev/shm`

cd $temp_dir

wget $SRC_ARCHIVE

CHECKSUM=`md5sum Cuba-${VERSION}.tar.gz | awk '{print $1}'`

if [[ "$MD5" == "$CHECKSUM" ]]
then
tar xvzf Cuba-${VERSION}.tar.gz
cd Cuba-${VERSION}
./configure --prefix=${INSTALL_PREFIX}
make
make check
make install

else
echo "***** Hash mismatch,"
echo " Expected: $MD5"
echo " Got: $CHECKSUM"
fi
51 changes: 51 additions & 0 deletions EPACTS-3.3.0_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env bash

###############################################
# Installing EPACTS 3.3.0
#
# by Brian Alston, June 2018
#
# Using Ian's require function to load modules
#
#

VERSION=${VERSION:-3.3.0}
INSTALL_PREFIX=${INSTALL_PREFIX:-/shared/ucl/apps/EPACTS/${VERSION}}
SRC_ARCHIVE=${SRC_ARCHIVE:- https://github.com/statgen/EPACTS.git}

export PATH=$INSTALL_PREFIX/bin:$PATH

dirname=$(dirname $0 2>/dev/null || pwd)
INCLUDES_DIR=${INCLUDES_DIR:-${dirname}/includes}
source ${INCLUDES_DIR}/module_maker_inc.sh
source ${INCLUDES_DIR}/require_inc.sh

require gcc-libs/4.9.2
require compilers/gnu/4.9.2
require r/recommended
require gnuplot/5.0.1
require groff/1.22.3/gnu-4.9.2
require autoconf/2.69
require automake/1.16.1

temp_dir=`mktemp -d -p /dev/shm`
# temp_dir='/home/ccspapp/Software/EPACTS'
echo "Building in $temp_dir ..."
cd $temp_dir
module list
read -p "Press [Enter] key to start ..."

cd $temp_dir

git clone $SRC_ARCHIVE

cd EPACTS
aclocal
autoconf
automake --add-missing
./configure --prefix=$INSTALL_PREFIX
make

# No make check provided.

make install
39 changes: 39 additions & 0 deletions Gurobi-7.5.1_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/bin/bash

# This script installs Gurobi Optimizer 7.5.1
# Brian Alston October 2017

VERSION=${VERSION:-7.5.1}
INSTALL_PREFIX=${INSTALL_PREFIX:-/shared/ucl/apps/Gurobi}
SRC_ARCHIVE=${SRC_ARCHIVE:-http://packages.gurobi.com/7.5/gurobi${VERSION}_linux64.tar.gz}
MD5=${MD5:-4ec7147562cc5d63b1790019064cd723}

set -e
startDir=`pwd`
mkdir -p /dev/shm/Gurobi
temp_dir=`mktemp -d -p /dev/shm/Gurobi`

cd $temp_dir
wget $SRC_ARCHIVE
ARCHIVE=`basename $SRC_ARCHIVE`
CHECKSUM=`md5sum ${ARCHIVE}| awk '{print $1}'`

if [ "$MD5" == "$CHECKSUM" ]
then

# Unpack the archive in the correct location.

mkdir -p $INSTALL_PREFIX
cd $INSTALL_PREFIX
tar xvzf $temp_dir/$ARCHIVE

# Set up client license file for UCL.

echo "TOKENSERVER=lic-gurobi.ucl.ac.uk" > gurobi.lic

else
echo "Hash mismatch."
echo "Expected: $MD5"
echo "Got: $CHECKSUM"
fi

41 changes: 41 additions & 0 deletions Lynx-2.8.9_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env bash

###############################################
# Installing Lynx 2.8.9
#
# by Brian Alston, March 2018
# Udated 4th May for 2.8.9dev.17
#
# Will need modules: rcps-core/1.0.0

VERSION=${VERSION:-2.8.9dev.17}
VER=`echo $VERSION | sed 's/\.//'`
INSTALL_PREFIX=${INSTALL_PREFIX:-/shared/ucl/apps/Lynx/$VERSION}
MD5=${MD5:-8a8f442138c17bb5ce225218e45eb8f2}
SRC_ARCHIVE=${SRC_ARCHIVE:-http://invisible-island.net/datafiles/release/lynx-cur.tar.gz}
LOCAL_ARCHIVE=${LOCAL_ARCHIVE:-lynx-cur.tar.gz}
export PATH=$INSTALL_PREFIX/bin:$PATH

temp_dir=`mktemp -d -p /dev/shm`

cd $temp_dir

wget $SRC_ARCHIVE

CHECKSUM=`md5sum $LOCAL_ARCHIVE | awk '{print $1}'`

if [[ "$MD5" == "$CHECKSUM" ]]
then
tar xvzf $LOCAL_ARCHIVE
cd lynx$VERSION
./configure --prefix=/shared/ucl/apps/Lynx/$VERSION --with-ssl 2>&1 | tee configure-log
make 2>&1 | tee make-log
make install 2>&1 | tee make_install-log
make install-help 2>&1 | tee -a make_install-log
make install-doc 2>&1 | tee -a make_install-log

else
echo "***** Hash mismatch,"
echo " Expected: $MD5"
echo " Got: $CHECKSUM"
fi
52 changes: 52 additions & 0 deletions Nektar++_OpenMPI_GNU_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/usr/bin/env bash

###############################################
# Installing Nektar++: OpenMPI with GNU compilers
#
# by Brian Alston, March 2017
#
# Using Ian's require function to load modules
#
# Will need modules: see list of modules below.

VERSION=${VERSION:-4.3.5}
INSTALL_PREFIX=${INSTALL_PREFIX:-/shared/ucl/apps/Nektar++/$VERSION/GNU_OpenMPI}
SRC_ARCHIVE=${SRC_ARCHIVE:-nektar++-$VERSION.tar.gz}
SRC_ARCHIVE_LOCATION=${SRC_ARCHIVE_LOCATION:-http://www.nektar.info/downloads/file/nektar-source-tar-gz/}

export PATH=$INSTALL_PREFIX/bin:$PATH

dirname=$(dirname $0 2>/dev/null || pwd)
INCLUDES_DIR=${INCLUDES_DIR:-${dirname}/includes}
source ${INCLUDES_DIR}/module_maker_inc.sh
source ${INCLUDES_DIR}/require_inc.sh

require rcps-core/1.0.0
require compilers/gnu
require mpi/openmpi/1.10.1/gnu-4.9.2
require python3/recommended
require openblas/0.2.14/gnu-4.9.2
require boost/1_54_0/mpi/gnu-4.9.2-ompi-1.10.1
require fftw/3.3.4-ompi-1.10.1/gnu-4.9.2
require ghostscript/9.19/gnu-4.9.2
require texlive/2015

# May be able to use graphicsmagik: gm convert
require libtool/2.4.6
require perl/5.22.0
require graphicsmagick/1.3.21

# temp_dir=`mktemp -d -p /dev/shm`
temp_dir=`mktemp -d -p ~/Software/Nektar++`
cd $temp_dir

wget $SRC_ARCHIVE_LOCATION -O $SRC_ARCHIVE
tar xvzf $SRC_ARCHIVE
cd nektar++-$VERSION
mkdir build
cd build
cmake -DNEKTAR_USE_MPI:BOOL=ON -DNEKTAR_BUILD_TIMINGS:BOOL=ON -DNEKTAR_USE_FFTW:BOOL=ON \
-DNEKTAR_USE_OPENBLAS:BOOL=ON -DNEKTAR_USE_PETSC:BOOL=OFF -DNEKTAR_USE_SCOTCH:BOOL=ON \
-DNEKTAR_USE_SYSTEM_BLAS_LAPACK:BOOL=OFF -DCONVERT:STRING="gm convert" \
-DCMAKE_INSTALL_PREFIX:STRING="$INSTALL_PREFIX" ../
make install
Loading