Skip to content

Commit

Permalink
Merge pull request #10 from hpc4cmb/hdf5mpi
Browse files Browse the repository at this point in the history
Package updates
  • Loading branch information
tskisner authored Nov 26, 2021
2 parents 1ea249a + 8e69ddf commit 1dba33d
Show file tree
Hide file tree
Showing 70 changed files with 303 additions and 213 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Create Dockerfile
run: ./cmbenv -c docker-py3.8-debian -p /usr/local
run: ./cmbenv -c docker-py3.9-debian -p /usr/local
- name: Set tag name
run: tag=$(echo "${GITHUB_REF}" | sed -e 's/.*\/\(v.*\)/\1/') && echo "TAGNAME=${tag}" >> $GITHUB_ENV
- name: Build Docker Image
Expand Down
2 changes: 1 addition & 1 deletion cmbenv
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if [ "x${prefix}" = "x" ]; then
show_help
exit 1
else
prefix="none"
prefix="NONE"
fi
fi

Expand Down
4 changes: 2 additions & 2 deletions configs/cori-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OSTYPE = linux
TEMPLATE = linux

# Python version to use
PYVERSION = 3.7
PYVERSION = 3.9

# Packages to install with pip
PIP_PKGS =
Expand Down Expand Up @@ -41,7 +41,7 @@ MPI_EXTRA_LINK = -shared

CFLAGS = -O3 -g -fPIC -pthread
CXXFLAGS = -O3 -g -fPIC -pthread -std=c++11
FCFLAGS = -O3 -g -fPIC -pthread
FCFLAGS = -O3 -g -fPIC -pthread -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
4 changes: 2 additions & 2 deletions configs/cori-gcc.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ openblas:static=1
# a virtualenv or a conda environment. This will also install a set of
# common base packages.
#python:virtualenv
python:conda nomkl
python:conda
#python:default
#
# Install MPICH. This step is optional and only needed in 2 cases:
Expand All @@ -53,7 +53,7 @@ bzip2
# Install Boost.
boost
#
# Install HDF5 (serial version).
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
Expand Down
2 changes: 1 addition & 1 deletion configs/cori-intel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OSTYPE = linux
TEMPLATE = linux

# Python version to use
PYVERSION = 3.7
PYVERSION = 3.9

# Packages to install with pip
PIP_PKGS =
Expand Down
4 changes: 2 additions & 2 deletions configs/cori-intel.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ zlib
# a virtualenv or a conda environment. This will also install a set of
# common base packages.
#python:virtualenv
python:conda nomkl
python:conda
#python:default
#
# Install MPICH. This step is optional and only needed in 2 cases:
Expand All @@ -53,7 +53,7 @@ bzip2
# Install Boost.
boost
#
# Install HDF5 (serial version).
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
Expand Down
4 changes: 2 additions & 2 deletions configs/docker-py3.7-debian
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TEMPLATE = docker-debian
PYVERSION = 3.7

# Specify the docker base image
DOCKER_BASE = python:3.7-slim-buster
DOCKER_BASE = python:3.7-slim-bullseye

# Specify additional packages to install for docker builds
DOCKER_SYS_PKGS = m4 libtool autoconf automake llvm libsuitesparse-dev libfftw3-dev libcfitsio-dev libflac-dev zlib1g-dev libbz2-dev libopenblas-dev liblapack-dev libhdf5-dev
Expand Down Expand Up @@ -47,7 +47,7 @@ MPI_EXTRA_LINK =

CFLAGS = -O2 -g -fPIC -pthread
CXXFLAGS = -O2 -g -fPIC -pthread -std=c++11
FCFLAGS = -O2 -g -fPIC -pthread
FCFLAGS = -O2 -g -fPIC -pthread -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
6 changes: 3 additions & 3 deletions configs/docker-py3.7-debian.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ mpi4py
# Install Boost.
#boost
#
# Install HDF5 (serial version).
#hdf5
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
h5py:pkg-config
h5py
#
# Install healpy
healpy
Expand Down
4 changes: 2 additions & 2 deletions configs/docker-py3.8-debian
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TEMPLATE = docker-debian
PYVERSION = 3.8

# Specify the docker base image
DOCKER_BASE = python:3.8-slim-buster
DOCKER_BASE = python:3.8-slim-bullseye

# Specify additional packages to install for docker builds
DOCKER_SYS_PKGS = m4 libtool autoconf automake llvm libsuitesparse-dev libfftw3-dev libcfitsio-dev libflac-dev zlib1g-dev libbz2-dev libopenblas-dev liblapack-dev libhdf5-dev
Expand Down Expand Up @@ -47,7 +47,7 @@ MPI_EXTRA_LINK =

CFLAGS = -O2 -g -fPIC -pthread
CXXFLAGS = -O2 -g -fPIC -pthread -std=c++11
FCFLAGS = -O2 -g -fPIC -pthread
FCFLAGS = -O2 -g -fPIC -pthread -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
4 changes: 2 additions & 2 deletions configs/docker-py3.9-debian
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TEMPLATE = docker-debian
PYVERSION = 3.9

# Specify the docker base image
DOCKER_BASE = python:3.9-slim-buster
DOCKER_BASE = python:3.9-slim-bullseye

# Specify additional packages to install for docker builds
DOCKER_SYS_PKGS = m4 libtool autoconf automake llvm libsuitesparse-dev libfftw3-dev libcfitsio-dev libflac-dev zlib1g-dev libbz2-dev libopenblas-dev liblapack-dev libhdf5-dev
Expand Down Expand Up @@ -47,7 +47,7 @@ MPI_EXTRA_LINK =

CFLAGS = -O2 -g -fPIC -pthread
CXXFLAGS = -O2 -g -fPIC -pthread -std=c++11
FCFLAGS = -O2 -g -fPIC -pthread
FCFLAGS = -O2 -g -fPIC -pthread -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
6 changes: 3 additions & 3 deletions configs/docker-toastdeps-py37.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ mpi4py
# Install Boost.
#boost
#
# Install HDF5 (serial version).
#hdf5
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
h5py:pkg-config
h5py
#
# Install healpy
healpy
Expand Down
4 changes: 2 additions & 2 deletions configs/linux-conda
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OSTYPE = linux
TEMPLATE = linux

# Python version to use
PYVERSION = 3.7
PYVERSION = 3.9

# Packages to install with pip
PIP_PKGS =
Expand Down Expand Up @@ -41,7 +41,7 @@ MPI_EXTRA_LINK =

CFLAGS = -O3 -fPIC -pthread
CXXFLAGS = -O3 -fPIC -pthread -std=c++11
FCFLAGS = -O3 -fPIC -pthread
FCFLAGS = -O3 -fPIC -pthread -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
1 change: 1 addition & 0 deletions configs/linux-conda-mkl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ openblas
# a virtualenv or a conda environment. This will also install a set of
# common base packages.
#python:virtualenv
python:conda nomkl
python:conda mkl
#python:default
#
# Install MPICH. This step is optional and only needed in 2 cases:
Expand All @@ -53,7 +53,7 @@ bzip2
# Install Boost.
boost
#
# Install HDF5 (serial version).
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
Expand Down
72 changes: 0 additions & 72 deletions configs/linux-conda-nomkl

This file was deleted.

2 changes: 1 addition & 1 deletion configs/linux-conda.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ bzip2
# Install Boost.
boost
#
# Install HDF5 (serial version).
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
Expand Down
2 changes: 1 addition & 1 deletion configs/linux-venv
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ MPI_EXTRA_LINK =

CFLAGS = -O3 -fPIC -pthread
CXXFLAGS = -O3 -fPIC -pthread -std=c++11
FCFLAGS = -O3 -fPIC -pthread
FCFLAGS = -O3 -fPIC -pthread -std=legacy -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
2 changes: 1 addition & 1 deletion configs/linux-venv.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ bzip2
# Install Boost.
boost
#
# Install HDF5 (serial version).
# Install HDF5.
hdf5
#
# Install h5py (using our HDF5).
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions configs/osx-homebrew-clang.notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Before running the install, run these commands once
# to get dependencies from OS packages.

brew install \
mpich \
cmake \
suite-sparse \
boost \
fftw \
cfitsio \
hdf5
8 changes: 4 additions & 4 deletions configs/osx-homebrew-clang.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ mpi4py
# Install Boost.
#boost
#
# Install HDF5 (serial version).
hdf5
# Install HDF5.
#hdf5
#
# Install h5py (using our HDF5).
h5py
Expand All @@ -75,8 +75,8 @@ fitsio
aatm
#
# GMP and MPFR are needed by SuiteSparse
gmp
mpfr
#gmp
#mpfr
#
# Install suitesparse
#suitesparse
Expand Down
8 changes: 4 additions & 4 deletions configs/osx-macports-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ OSTYPE = osx

# Serial compilers

CC = gcc-mp-9
CXX = g++-mp-9
FC = gfortran-mp-9
CC = gcc-mp-10
CXX = g++-mp-10
FC = gfortran-mp-10

# Compiler to use for packages needed on the build machine

Expand All @@ -29,7 +29,7 @@ MPI_EXTRA_LINK =

CFLAGS = -O3 -fPIC
CXXFLAGS = -O3 -fPIC -std=c++11
FCFLAGS = -O3 -fPIC
FCFLAGS = -O3 -fPIC -fallow-argument-mismatch

OPENMP_CFLAGS = -fopenmp
OPENMP_CXXFLAGS = -fopenmp
Expand Down
15 changes: 15 additions & 0 deletions configs/osx-macports-gcc.notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

# Before running the install, run these commands once
# to get dependencies from OS packages.

sudo port install \
gcc10 \
mpich-gcc10 \
cmake \
OpenBLAS +gcc10 \
OpenBLAS-devel +gcc10 \
SuiteSparse +gcc10 \
boost176 \
fftw-3 +gcc10 \
cfitsio +gcc10 \
hdf5 +gcc10
Loading

0 comments on commit 1dba33d

Please sign in to comment.