Commit b0472c93 authored by bliven_s's avatar bliven_s
Browse files

Merge branch 'fftw' into 'master'

Deploy fftw/3.3.8-1

See merge request Pmodules/buildblocks!33
parents 5039cb61 ebf05cf8
......@@ -2,6 +2,16 @@ FFTW
FFTW is highly optimized, but downgrades if run on an older processor. It
should be built compiled on a system with SSE2 and AVX2 support (e.g. merlin).
should be built compiled on merlin, since it needs SSE2, AVX2, and Infiniband
This module requires PMODULE_VERSION > 1.0.0 to compile.
The module is currently organized around several use flags:
- *sp* single precision vs *dp* double precision
- *merlin6* vs *merlin*. These come from the upstream dependency on openmpi,
which needs to be compiled differently for RHEL6 (merlin) and RHEL7
......@@ -3,7 +3,7 @@
pbuild::add_to_group 'MPI'
pbuild::set_download_url "$V.tar.gz"
pbuild::set_download_url "${V_PKG}.tar.gz"
pbuild::set_sha256sum "fftw-3.3.8.tar.gz:6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303"
pbuild::install_docfiles 'COPYRIGHT' 'COPYING' 'README' 'NEWS'
......@@ -22,4 +22,18 @@ pbuild::pre_configure() {
# CPU optimizations
pbuild::add_configure_args "--enable-sse2"
pbuild::add_configure_args "--enable-avx2"
pbuild::add_configure_args "--with-pic"
#pbuild::add_configure_args "--enable-shared"
# Floating point precision
#pbuild::add_configure_args "--enable-type-prefix"
if pbuild::use_flag "sp"; then
pbuild::add_configure_args "--enable-single"
pbuild::add_configure_args "--enable-sse"
elif pbuild::use_flag "dp"; then
: #default
echo "No flag specified" >&2
exit 1
fftw/3.3.8 unstable gcc/{7.3.0,8.2.0} mpich/3.2.1 openmpi/3.1.3
fftw/3.3.8 deprecated gcc/{7.3.0,8.2.0} mpich/3.2.1 openmpi/3.1.3
# Use older MPI version on merlin5
fftw/3.3.8-1_sp_merlin unstable gcc/8.2.0 mpich/3.2.1 openmpi/3.1.1
fftw/3.3.8-1_dp_merlin unstable gcc/8.2.0 mpich/3.2.1 openmpi/3.1.1
# Merlin6 mpi version
fftw/3.3.8-1_sp_merlin6 unstable gcc/{7.4.0,8.3.0} mpich/3.3 openmpi/3.1.4_merlin6
fftw/3.3.8-1_dp_merlin6 unstable gcc/{7.4.0,8.3.0} mpich/3.3 openmpi/3.1.4_merlin6
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment