Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
afe81268
Commit
afe81268
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
SSB-47
: add dysco support
parent
64145c1d
No related branches found
No related tags found
1 merge request
!44
Merge back holography to master
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CAL/Docker/HolographyBase/Dockerfile
+23
-2
23 additions, 2 deletions
CAL/Docker/HolographyBase/Dockerfile
CAL/Docker/HolographyDeploy/Dockerfile
+3
-2
3 additions, 2 deletions
CAL/Docker/HolographyDeploy/Dockerfile
with
26 additions
and
4 deletions
CAL/Docker/HolographyBase/Dockerfile
+
23
−
2
View file @
afe81268
...
...
@@ -15,7 +15,10 @@ RUN apt-get update && apt-get -y install \
python3-emcee
\
python3-numba
\
libfftw3-bin
\
libboost-python1.65.1
libboost-python1.65.1
\
gsl-bin
\
libhdf5-100 \
libopenblas-base
RUN
pip3
install
dataclasses
\
scipy
...
...
@@ -69,9 +72,27 @@ RUN mkdir -p /root/src/python-casacore && \
python3 setup.py install --prefix=/opt/python-casacore
## DEALING WITH DYSCO
RUN
apt
install
-y
dysco-dev
#
# *******************
# DYSCO
# *******************
#
# Run-time dependencies
RUN
apt
install
-y
doxygen libboost-date-time-dev libopenblas-dev libgsl-dev
RUN
mkdir
/root/src/dysco
&&
\
cd
/root/src/dysco
&&
\
wget https://github.com/aroffringa/dysco/archive/v1.2.tar.gz
&&
\
tar
-xvf
v1.2.tar.gz
&&
\
rm
v1.2.tar.gz
&&
\
mkdir
build
&&
\
cd
build
&&
\
cmake
-DCMAKE_CXX_FLAGS
=
"
${
CXX_FLAGS
}
"
-DPORTABLE
=
True
-DCMAKE_INSTALL_PREFIX
=
/opt/dysco/
-DCASACORE_ROOT_DIR
=
/opt/casacore/ /root/src/dysco/dysco-1.2
&&
\
make
-j
5
&&
\
make
install
FROM
base
ENV
PYTHONPATH=/opt/dysco/lib/python3.6/site-packages:/opt/dysco/lib64/python3.6/site-packages:${PYTHONPATH}
COPY
--from=base-build /opt/casacore/ /opt/casacore/
COPY
--from=base-build /opt/python-casacore/ /opt/python-casacore/
COPY
--from=base-build /opt/dysco/ /opt/dysco/
This diff is collapsed.
Click to expand it.
CAL/Docker/HolographyDeploy/Dockerfile
+
3
−
2
View file @
afe81268
...
...
@@ -3,11 +3,12 @@ COPY --from=holography-build:latest /opt/lofar /opt/lofar
COPY
./entrypoint.sh /entrypoint.sh
ENV
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/casacore/lib/
ENV
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/casacore/lib/
:/opt/dysco/lib
ENV
PYTHONPATH=/opt/python-casacore/lib/python3.6/site-packages/
ENV
PYTHONPATH=
$PYTHONPATH:
/opt/python-casacore/lib/python3.6/site-packages/
RUN
mkdir
/WORKDIR
&&
chmod
777 /WORKDIR
WORKDIR
/WORKDIR
RUN
chmod
777 /entrypoint.sh
ENTRYPOINT
["/entrypoint.sh"]
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