RUN cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--with-lapack--with-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_magma_mpi &&mv sphere/np_sphere sphere/np_sphere_magma_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_magma_mpi &&mv trapping/np_trapping trapping/np_trapping_magma_mpi
RUN cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--with-lapack--with-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_magma_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_magma_mpi
RUN cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --enable-openmp--with-lapack--with-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_magma_serial &&mv sphere/np_sphere sphere/np_sphere_magma_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_magma_serial &&mv trapping/np_trapping trapping/np_trapping_magma_serial
RUN cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --enable-openmp--with-lapack--with-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_magma_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_magma_serial
RUN cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--with-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_cublas_mpi &&mv sphere/np_sphere sphere/np_sphere_cublas_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_cublas_mpi &&mv trapping/np_trapping trapping/np_trapping_cublas_mpi
RUN cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--with-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_cublas_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_cublas_mpi
RUN cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--with-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_cublas_serial &&mv sphere/np_sphere sphere/np_sphere_cublas_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_cublas_serial &&mv trapping/np_trapping trapping/np_trapping_cublas_serial
RUN cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--with-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_cublas_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_cublas_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 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 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 cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_lapack_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_lapack_mpi &&mv trapping/np_trapping trapping/np_trapping_lapack_mpi &&cd cluster &&ln-s np_cluster_lapack_mpi np_cluster &&cd ../inclusion &&ln-s np_inclusion_lapack_mpi np_inclusion
#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 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 cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_lapack_serial &&mv sphere/np_sphere sphere/np_sphere_lapack_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_lapack_serial &&mv trapping/np_trapping trapping/np_trapping_lapack_serial
RUN cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --enable-openmp--with-lapack--without-magma--enable-refinement--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_lapack_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_lapack_serial
#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 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 cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--without-lapack--without-magma--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_legacy_mpi &&mv sphere/np_sphere sphere/np_sphere_legacy_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_legacy_mpi &&mv trapping/np_trapping trapping/np_trapping_legacy_mpi
RUN cd np-tmcode/build &&CXX=mpicxx FC=gfortran ./configure --enable-openmp--without-lapack--without-magma--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_legacy_mpi &&mv sphere/np_sphere sphere/np_sphere_legacy_mpi &&mv inclusion/np_inclusion inclusion/np_inclusion_legacy_mpi &&cd sphere &&ln-s np_sphere_legacy_mpi np_sphere
#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 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 np-tmcode/build &&CXX=g++ FC=gfortran ./configure --disable-openmp--without-lapack--without-magma--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_legacy_serial &&mv sphere/np_sphere sphere/np_sphere_legacy_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_legacy_serial &&mv trapping/np_trapping trapping/np_trapping_legacy_serial
RUN cd np-tmcode/build &&CXX=g++ FC=gfortran ./configure --disable-openmp--without-lapack--without-magma--without-cublas&& make clean && make -j&&mv cluster/np_cluster cluster/np_cluster_legacy_serial &&mv sphere/np_sphere sphere/np_sphere_legacy_serial &&mv inclusion/np_inclusion inclusion/np_inclusion_legacy_serial
RUN cd np-tmcode/doc/src && doxygen config.dox &&cd ../build/latex && make -j
RUN cd np-tmcode/doc/src && doxygen config.dox &&cd ../build/latex && make -j
The current version of NP-TMcode (M8.03) has been bundled in a pre-built `docker` image, distributed via `https://hub.docker.com/`. To use this image, run the command:
The current version of NP-TMcode (M10a) has been bundled in a pre-built `docker` image, distributed via `https://hub.docker.com/`. To use this image, run the command:
> docker run -it gmulas/np-tmcode-run:M8 /bin/bash
> docker run -it gmulas/np-tmcode-run:m10a.00 /bin/bash
The image will be automatically downloaded, if it is not available in the system, then it will be run in interactive mode, starting a shell session. Follow the instructions provided in Sec. 3.4.1 of the Release Notes document to proceed with testing and code use.
The image will be automatically downloaded, if it is not available in the system, then it will be run in interactive mode, starting a shell session. Follow the instructions provided in Sec. 3.4.1 of the Release Notes document to proceed with testing and code use.
@@ -21,7 +21,7 @@ where `<image name>` is either `np-tmcode` or `np-tmcode-run`. One may also add
# License
# License
Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari
Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari
This program is free software: you can redistribute it and/or modify
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by