-
Notifications
You must be signed in to change notification settings - Fork 1
/
Singularity
53 lines (44 loc) · 1.25 KB
/
Singularity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
BootStrap: shub
From: shub://willgpaik/centos7_aci:latest
%setup
%files
%environment
PATH="$PATH:/usr/lib64/openmpi/bin/:/opt/sw/freefem/bin/"
export PATH
LD_PRELOAD="/opt/eod/lib/libopentextdlfaker.so.3:/opt/eod/lib/libopentextglfaker.so.3 \
:/opt/eod/lib64/libopentextdlfaker.so.3:/opt/eod/lib64/libopentextglfaker.so.3"
export LD_PRELOAD
%runscript
%post
yum -y install m4-devel \
bison-devel \
flex-devel \
patch \
openmpi-devel \
fftw-devel \
openblas-devel \
lapack-devel \
freeglut-devel \
scotch-devel \
arpack-devel \
suitesparse-devel \
MUMPS-devel \
NLopt-devel \
coin-or-Ipopt-devel \
gnuplot \
superLU-devel \
hypre \
perl-Digest-MD5
yum -y update
source /opt/rh/devtoolset-8/enable
# Install FreeFem++
mkdir -p /opt/sw/
cd /opt/
wget https://raw.githubusercontent.com/willgpaik/freefem_aci/master/freefem_install.sh
chmod +x freefem_install.sh
./freefem_install.sh
rm freefem_install.sh
# Download requires libraries for EoD:
cd /opt/
svn export https://github.com/willgpaik/MorphoGraphX_aci.git/trunk/eod_graphics_libraries
mv eod_graphics_libraries eod