Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
69c6ccd5
Commit
69c6ccd5
authored
9 months ago
by
Mulas, Giacomo
Browse files
Options
Downloads
Patches
Plain Diff
fix Dockerfile
parent
9af5c12c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/docker/Dockerfile
+7
-6
7 additions, 6 deletions
containers/docker/Dockerfile
with
7 additions
and
6 deletions
containers/docker/Dockerfile
+
7
−
6
View file @
69c6ccd5
...
@@ -28,6 +28,7 @@ RUN apt update
...
@@ -28,6 +28,7 @@ RUN apt update
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
libquadmath0 libcublaslt11 libgcc-s1 libgomp1 libcudart11.0 libcusparse11 libcublas11 nvidia-cuda-dev
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
libquadmath0 libcublaslt11 libgcc-s1 libgomp1 libcudart11.0 libcusparse11 libcublas11 nvidia-cuda-dev
# install magma
# install magma
COPY
--chown=root:root containers/docker/dockerstuff/magma-compiled/usr/lib/* /usr/lib/x86_64-linux-gnu/
COPY
--chown=root:root containers/docker/dockerstuff/magma-compiled/usr/lib/* /usr/lib/x86_64-linux-gnu/
COPY
--chown=root:root containers/docker/dockerstuff/magma-compiled/usr/include/* /usr/include/
COPY
--chown=root:root containers/docker/dockerstuff/magma-compiled/usr/lib/pkgconfig/* /usr/lib/x86_64-linux-gnu/pkgconfig/
COPY
--chown=root:root containers/docker/dockerstuff/magma-compiled/usr/lib/pkgconfig/* /usr/lib/x86_64-linux-gnu/pkgconfig/
# install packages needed to run python scripts for checks
# install packages needed to run python scripts for checks
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
python3 python-is-python3 python3-regex
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
python3 python-is-python3 python3-regex
...
@@ -54,12 +55,12 @@ ADD doc /root/np-tmcode/doc
...
@@ -54,12 +55,12 @@ ADD doc /root/np-tmcode/doc
ADD
build /root/np-tmcode/build
ADD
build /root/np-tmcode/build
ADD
test_data /root/np-tmcode/test_data
ADD
test_data /root/np-tmcode/test_data
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_magma_mpi
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_magma_mpi
RUN
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_magma_serial
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_MAGMA
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_magma_serial
RUN
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_lapack_mpi
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_lapack_mpi
&&
cd
../build/cluster
&&
ln
-s
np_cluster_lapack_mpi np_cluster
RUN
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_lapack_serial
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_LAPACK
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_lapack_serial
RUN
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_legacy_mpi
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
USE_MPI
=
1
CXX
=
mpicxx
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_legacy_mpi
RUN
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_legacy_serial
RUN
cd
np-tmcode/src
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make wipe
&&
BUILDDIR
=
../../build
BUILDDIR_NPTM
=
../../build/libnptm
LIBNPTM
=
../../build/libnptm/libnptm.a
USE_ILP64
=
1
USE_OPENMP
=
1
CXX
=
g++
FC
=
gfortran make
-j
&&
mv
../build/cluster/np_cluster ../build/cluster/np_cluster_legacy_serial
RUN
cd
..
/doc/src
&&
doxygen config.dox
&&
cd
../build/latex
&&
make
-j
RUN
cd
np-tmcode
/doc/src
&&
doxygen config.dox
&&
cd
../build/latex
&&
make
-j
# create the container on which the np-tmcode is installed, restarting from
# create the container on which the np-tmcode is installed, restarting from
...
...
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