Skip to content

Commit

Permalink
Merge pull request #309 from hpc4cmb/mpitranslate
Browse files Browse the repository at this point in the history
Change the way that MPI communicators are passed to C++
  • Loading branch information
tskisner authored Nov 16, 2019
2 parents 40260ec + 5154ef7 commit 5b5b0e7
Show file tree
Hide file tree
Showing 17 changed files with 72 additions and 361 deletions.
24 changes: 0 additions & 24 deletions platforms/cori-gcc-haswell.sh

This file was deleted.

24 changes: 0 additions & 24 deletions platforms/cori-gcc-knl.sh

This file was deleted.

24 changes: 0 additions & 24 deletions platforms/cori-intel-haswell.sh

This file was deleted.

25 changes: 0 additions & 25 deletions platforms/cori-intel-knl.sh

This file was deleted.

24 changes: 0 additions & 24 deletions platforms/edison-gcc.sh

This file was deleted.

24 changes: 0 additions & 24 deletions platforms/edison-intel.sh

This file was deleted.

19 changes: 0 additions & 19 deletions platforms/linux-gcc-dbg.sh

This file was deleted.

4 changes: 2 additions & 2 deletions platforms/linux-gcc.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Pass extra configure options to this script, including
# things like --prefix, --with-elemental, etc.
# Pass extra cmake options to this script, including
# things like -DCMAKE_INSTALL_PREFIX=/path/to/install, etc.

opts="$@"

Expand Down
20 changes: 0 additions & 20 deletions platforms/linux-intel-dbg.sh

This file was deleted.

33 changes: 16 additions & 17 deletions platforms/linux-intel.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
#!/bin/bash

# Pass extra configure options to this script, including
# things like --prefix, --with-elemental, etc.
# Pass extra cmake options to this script, including
# things like -DCMAKE_INSTALL_PREFIX=/path/to/install, etc.

OPTS="$@"
opts="$@"

export PYTHON=python3
export CC=mpiicc
export CXX=mpiicpc
export MPICC=mpiicc
export MPICXX=mpiicpc
export CFLAGS="-O3 -g -fPIC -pthread"
export CXXFLAGS="-O3 -g -fPIC -pthread"
export OPENMP_CFLAGS="-qopenmp"
export OPENMP_CXXFLAGS="-qopenmp"

./configure ${OPTS} \
--with-math="-limf -lsvml" \
--with-mkl="${MKLROOT}/lib/intel64" \
--with-tbb="${TBBROOT}/lib/intel64/gcc4.7"
cmake \
-DCMAKE_C_COMPILER="icc" \
-DCMAKE_CXX_COMPILER="icpc" \
-DMPI_C_COMPILER="mpiicc" \
-DMPI_CXX_COMPILER="mpiicpc" \
-DCMAKE_C_FLAGS="-O3 -g -fPIC -pthread" \
-DCMAKE_CXX_FLAGS="-O3 -g -fPIC -pthread -std=c++11" \
-DBLAS_LIBRARIES=${MKLROOT}/lib/intel64/libmkl_rt.so \
-DLAPACK_LIBRARIES=${MKLROOT}/lib/intel64/libmkl_rt.so \
-DPYTHON_EXECUTABLE:FILEPATH=$(which python3) \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
${opts} \
..
29 changes: 0 additions & 29 deletions platforms/nersc-intel.sh

This file was deleted.

38 changes: 0 additions & 38 deletions platforms/osx-clang-condaforge.sh

This file was deleted.

31 changes: 0 additions & 31 deletions platforms/osx_macports.sh

This file was deleted.

18 changes: 0 additions & 18 deletions platforms/tacc-intel-knl.sh

This file was deleted.

Loading

0 comments on commit 5b5b0e7

Please sign in to comment.