Skip to content

Commit cdcee82

Browse files
authored
Merge pull request #610 from ratt-ru/ragavi
Ragavi
2 parents b036a01 + 9531b98 commit cdcee82

21 files changed

Lines changed: 2895 additions & 44 deletions

File tree

examples/simulation_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
log_dir=os.path.join(OUTPUT, "logs"),
2626
)
2727

28-
pipeline.JOB_TYPE = "docker"
28+
pipeline.JOB_TYPE = "singularity"
2929

3030
# 1: Make empty MS
3131
pipeline.add("cab/simms", # Executor image to start container from

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
requirements = ["pyyaml",
1010
"nose>=1.3.7",
1111
"future-fstrings",
12-
"udocker",
1312
],
1413

1514
PACKAGE_NAME = "stimela"
16-
__version__ = "1.4.6"
15+
__version__ = "1.5.1"
1716

1817
setup(name=PACKAGE_NAME,
1918
version=__version__,
@@ -25,13 +24,11 @@
2524
"stimela/utils", "stimela/cargo/cab",
2625
"stimela/cargo/base"],
2726
package_data={"stimela/cargo": [
28-
"cab/*/Dockerfile",
2927
"base/*/Dockerfile",
28+
"base/*.template",
3029
"cab/*/src/*.py",
31-
"cab/*/src/*.sh",
3230
"cab/*/src/*.json",
3331
"base/*/xvfb.init.d",
34-
"cab/*/xvfb.init.d",
3532
"cab/*/parameters.json",
3633
"cab/*/src/tdlconf.profiles",
3734
]},
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM stimela/ddfacet:1.3.3
2-
MAINTAINER <sphemakh@gmail.com>
3-
ENV GIT_LFS_SKIP_SMUDGE 1
4-
RUN pip3 install -U pip setuptools wheel
5-
RUN apt-get update && apt-get install -y wget git-all
6-
RUN git clone https://github.com/ratt-ru/CubiCal.git
7-
WORKDIR CubiCal
8-
RUN git checkout v1.5.1
9-
RUN pip3 install ".[lsm-support,degridder-support]"
10-
RUN DDF.py --help
1+
FROM stimela/base:1.2.5
2+
RUN docker-apt-install casacore-dev \
3+
casacore-data \
4+
build-essential \
5+
python3-pip \
6+
libboost-all-dev \
7+
wcslib-dev \
8+
git \
9+
libcfitsio-dev
10+
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 10
11+
RUN pip3 install --upgrade --force pip
12+
RUN pip install "cubical[lsm-support]@git+https://github.com/ratt-ru/CubiCal.git@v1.5.2"
1113
RUN gocubical --help
12-
ENV NUMBA_CACHE_DIR /tmp
13-
ENTRYPOINT []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM stimela/ddfacet:1.3.3
2+
MAINTAINER <sphemakh@gmail.com>
3+
ENV GIT_LFS_SKIP_SMUDGE 1
4+
RUN pip3 install -U pip setuptools wheel
5+
RUN apt-get update && apt-get install -y wget git-all
6+
RUN git clone -b decasacore300fication https://github.com/ratt-ru/CubiCal
7+
WORKDIR CubiCal
8+
#RUN git checkout decasacore300fication
9+
RUN pip3 install -I ".[lsm-support,degridder-support]"
10+
RUN DDF.py --help
11+
RUN gocubical --help
12+
ENV NUMBA_CACHE_DIR /tmp
13+
ENTRYPOINT []

stimela/cargo/base/group.template

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
root:x:0:
2+
daemon:x:1:
3+
bin:x:2:
4+
sys:x:3:
5+
adm:x:4:
6+
tty:x:5:
7+
disk:x:6:
8+
lp:x:7:
9+
mail:x:8:
10+
news:x:9:
11+
uucp:x:10:
12+
man:x:12:
13+
proxy:x:13:
14+
kmem:x:15:
15+
dialout:x:20:
16+
fax:x:21:
17+
voice:x:22:
18+
cdrom:x:24:
19+
floppy:x:25:
20+
tape:x:26:
21+
sudo:x:27:
22+
audio:x:29:
23+
dip:x:30:
24+
www-data:x:33:
25+
backup:x:34:
26+
operator:x:37:
27+
list:x:38:
28+
irc:x:39:
29+
src:x:40:
30+
gnats:x:41:
31+
shadow:x:42:
32+
utmp:x:43:
33+
video:x:44:
34+
sasl:x:45:
35+
plugdev:x:46:
36+
staff:x:50:
37+
games:x:60:
38+
users:x:100:
39+
nogroup:x:65534:
40+
crontab:x:101:
41+
messagebus:x:102:
42+
ssh:x:103:

stimela/cargo/base/passwd.template

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
root:x:0:0:root:/root:/bin/bash
2+
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
3+
bin:x:2:2:bin:/bin:/usr/sbin/nologin
4+
sys:x:3:3:sys:/dev:/usr/sbin/nologin
5+
sync:x:4:65534:sync:/bin:/bin/sync
6+
games:x:5:60:games:/usr/games:/usr/sbin/nologin
7+
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
8+
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
9+
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
10+
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
11+
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
12+
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
13+
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
14+
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
15+
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
16+
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
17+
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
18+
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
19+
_apt:x:100:65534::/nonexistent:/usr/sbin/nologin
20+
messagebus:x:101:102::/nonexistent:/usr/sbin/nologin

stimela/cargo/base/ragavi/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ FROM stimela/base:1.2.5
22
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
33
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 10
44
RUN pip3 install -U pip setuptools pyyaml
5-
RUN pip3 install -U python-casacore git+https://github.com/ska-sa/dask-ms@remove-table-proxy-weakref-finalize
6-
#dask-ms==0.2.3
7-
# RUN pip3 install -U ragavi
8-
RUN pip3 install git+https://github.com/ratt-ru/ragavi@dev
9-
# RUN pip install --force-reinstall -U git+https://github.com/o-smirnov/datashader
5+
RUN pip3 install -U python-casacore
6+
RUN pip3 install -U ragavi
107
RUN pip3 install -I numpy
118
RUN ragavi-gains -h
129
RUN ragavi-vis -h
13-
#RUN python3 -c "import yaml"

stimela/cargo/cab/cubical/parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"task": "cubical",
33
"base": "stimela/cubical",
4-
"tag": "1.4.2",
4+
"tag": "1.5.00",
55
"description": "CubiCal is a suite of fast radio interferometric calibration routines exploiting complex optimisation.",
66
"prefix": "--",
7-
"version":"1.5.1",
7+
"version":"1.5.2",
88
"binary": "gocubical",
99
"junk":["cubical.last", "montblanc.log"],
1010
"msdir": true,

0 commit comments

Comments
 (0)