-
Notifications
You must be signed in to change notification settings - Fork 0
/
Singularity
60 lines (49 loc) · 1.83 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
54
55
56
57
58
59
60
################################################################################
# Basic bootstrap definition to build Ubuntu container from Docker container
################################################################################
Bootstrap:docker
From:ubuntu:latest
%labels
Maintainer Matthew Andres Moreno
Version 0.1.0
################################################################################
# Copy any necessary files into the container
################################################################################
%files
. /opt/automap-soro
%post
################################################################################
# Install additional packages
################################################################################
apt-get update
apt-get install -y libqt4-dev qt4-qmake libqwt-dev freeglut3-dev zlib1g-dev
apt-get install -y python
apt-get install -y python-setuptools python-dev build-essential python-pip
export LC_ALL=C
pip install scipy networkx==1.11
apt-get install -y git
git clone https://github.com/skriegman/evosoro.git /opt/evosoro
cd /opt/evosoro/evosoro/_voxcad/
./rebuild_everything.sh
cd Voxelyze
make
make installusr
cd ../voxelyzeMain/
make
chmod 777 -R /opt
################################################################################
# Create directories to enable access to common HPCC mount points
################################################################################
mkdir -p /mnt/home
mkdir -p /mnt/research
mkdir -p /mnt/dfs17
mkdir -p /mnt/ffs17
mkdir -p /mnt/local
mkdir -p /mnt/ls15
mkdir -p /opt/software
mkdir -p /mnt/scratch
################################################################################
# Run the user's login shell, or a user specified command
################################################################################
%runscript
exec "$@"