Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
containers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lofarit
containers
Commits
fae3ff33
Commit
fae3ff33
authored
4 years ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/ddf2' into develop
parents
b3ada31b
97392dc8
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Updated DDF2 Dependencies
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.DS_Store
+0
-0
0 additions, 0 deletions
.DS_Store
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
base/Dockerfile
+2
-1
2 additions, 1 deletion
base/Dockerfile
base/entrypoint.sh
+1
-1
1 addition, 1 deletion
base/entrypoint.sh
ddf2/Dockerfile
+19
-9
19 additions, 9 deletions
ddf2/Dockerfile
with
25 additions
and
11 deletions
.DS_Store
0 → 100644
+
0
−
0
View file @
fae3ff33
File added
This diff is collapsed.
Click to expand it.
.gitignore
0 → 100644
+
3
−
0
View file @
fae3ff33
ddf2/DDFacet/
ddf2/killMS/
This diff is collapsed.
Click to expand it.
base/Dockerfile
+
2
−
1
View file @
fae3ff33
...
...
@@ -14,7 +14,8 @@ RUN apt update
# Git, Curl, sudo and Nano
RUN
apt-get
install
git curl
sudo
nano
-y
RUN
cd
/opt/
&&
git clone https://github.com/lofar-astron/LOFARBeam.git
RUN
mkdir
/opt/LOFARBeam/build
&&
cd
/opt/LOFARBeam/build
&&
cmake
-DCMAKE_INSTALL_PREFIX
=
/opt/lofarsoft
-DPYTHON_EXECUTABLE
=
$(
which python
)
-DCASACORE_INCLUDE_DIRS
=
/opt/lofarsoft/include/casacore/
-DCASACORE_LIBRARIES
=
/opt/lofarsoft/lib/
-DCASACORE_ROOT_DIR
=
/opt/lofarsoft/ ../
&&
make
-j16
&&
make
install
#------------------------
# Lofar user
#------------------------
...
...
This diff is collapsed.
Click to expand it.
base/entrypoint.sh
+
1
−
1
View file @
fae3ff33
...
...
@@ -7,7 +7,7 @@ set -e
echo
""
echo
"[INFO] Executing entrypoint..."
echo
"[INFO] Sourcing env in /opt/lofarsoft/lofarinit.sh..."
#
echo "[INFO] Sourcing env in /opt/lofarsoft/lofarinit.sh..."
source
/opt/lofarsoft/lofarinit.sh
echo
"[INFO] Creating /tmp/lofarhome to be used as lofar home"
...
...
This diff is collapsed.
Click to expand it.
ddf2/Dockerfile
+
19
−
9
View file @
fae3ff33
FROM
lofarit/base3.10
USER
root
RUN
apt-get
install
llvm-7
-y
ENV
LLVM_CONFIG=llvm-config-7
ENV
PYTHONPATH /opt/lofarsoft/lib/python2.7/site-packages
#------------------------
# Get and install ddf2
#------------------------
USER
root
# DDF pipeline
RUN
cd
/opt
&&
git clone https://github.com/mhardcastle/ddf-pipeline.git
RUN
cd
/opt/ddf-pipeline
&&
git checkout fdaa5aa
...
...
@@ -14,8 +17,8 @@ RUN cd /opt && git clone https://github.com/cyriltasse/SkyModel.git
RUN
cd
/opt/SkyModel
&&
git checkout 026997f
# killMS
RUN
cd
/opt
&&
git clone https://github.com/saopicc
/killMS
.git
RUN
cd
/opt/killMS
&&
git checkout b9e6ab6
#lofar-stable branch latest commit @ 24 Apr 2020
COPY
killMS /opt
/killMS
#
RUN cd /opt/killMS &&
python setup.py build
RUN
cd
/opt/killMS/Predict
&&
make
RUN
cd
/opt/killMS/Array/Dot
&&
make
RUN
cd
/opt/killMS/Gridder
&&
make
...
...
@@ -27,16 +30,23 @@ RUN cd /opt/DynSpecMS && git checkout 461183f
# DDFacet
COPY
DDFacet /opt/DDFacet
RUN
cp
/opt/ddf-pipeline/misc/setup.cfg /opt/DDFacet/
# Fix compile options
RUN
python
-m
pip
install
-U
pip setuptools wheel
RUN
pip
install
-U
pip setuptools wheel
RUN
python
-m
pip
install
pybind11 future pyregion sshtunnel pymysql psutil
#RUN python -m pip install -U "/opt/DDFacet/[dft-support,moresane-support,testing-requirements,fits-beam-support]"
RUN
python
-m
pip
install
numpy
==
1.16.2
bdsf
==
1.8.15 emcee
RUN
python
-m
pip
install
astropy_healpix pybind11 future pyregion sshtunnel pymysql psutil
RUN
python
-m
pip
install
-U
"/opt/DDFacet/[dft-support,moresane-support,testing-requirements,fits-beam-support]"
RUN
cd
/opt/DDFacet
&&
python setup.py build
RUN
cd
/opt/DDFacet
&&
rm
-rf
/opt/DDFacet/Dcbuild
&&
python setup.py build
RUN
python
-m
pip
install
bdsf
==
1.8.15
numpy
==
1.16.2
RUN
sed
-e
"s|INSTALLDIR|/opt|"
/opt/ddf-pipeline/misc/DDF.sh
>
/opt/DDFacet/init.sh
RUN
sed
's/numpy (<=1.16)/numpy (<=1.16.2)/g'
/usr/local/lib/python2.7/dist-packages/meqtrees_cattery-1.7.0.dist-info/METADATA
>
/usr/local/lib/python2.7/dist-packages/meqtrees_cattery-1.7.0.dist-info/METADATA
RUN
cd
/opt
&&
git clone https://www.ict.inaf.it/gitlab/lofarit/container-data.git
USER
lofar
#
USER lofar
ENV
CONTAINER_NAME='ddf2_base3.10'
ENV
DDF_PIPELINE_CATALOGS='/opt/container-data/bootstrap-cats/'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment