Skip to content

Commit 676c619

Browse files
committed
Due to a server bug in `FindHDF5.cmake` and new versions of libSplash requiring it (1.7.0+) we bump our CMake dependency to 3.10.0+
1 parent 0ba8ace commit 676c619

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

INSTALL.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ gcc
4848

4949
CMake
5050
"""""
51-
- 3.7.0 or higher
51+
- 3.10.0 or higher
5252
- *Debian/Ubuntu:* ``sudo apt-get install cmake file cmake-curses-gui``
5353
- *Arch Linux:* ``sudo pacman --sync cmake``
5454
- *Spack:* ``spack install cmake``
@@ -171,12 +171,12 @@ pngwriter
171171

172172
- *environment:* (assumes install from source in ``$HOME/lib/pngwriter``)
173173

174-
- ``export PNGWRITER_ROOT=$HOME/lib/pngwriter``
175-
- ``export LD_LIBRARY_PATH=$PNGWRITER_ROOT/lib:$LD_LIBRARY_PATH``
174+
- ``export CMAKE_PREFIX_PATH=$HOME/lib/pngwriter:$CMAKE_PREFIX_PATH``
175+
- ``export LD_LIBRARY_PATH=$HOME/lib/pngwriter/lib:$LD_LIBRARY_PATH``
176176

177177
libSplash
178178
"""""""""
179-
- 1.6.0+ (requires *HDF5*, *boost program-options*)
179+
- 1.7.0+ (requires *HDF5*, *boost program-options*)
180180
- *Debian/Ubuntu dependencies:* ``sudo apt-get install libhdf5-openmpi-dev libboost-program-options-dev``
181181
- *Arch Linux dependencies:* ``sudo pacman --sync hdf5-openmpi boost``
182182
- *Spack:* ``spack install libsplash ^hdf5~fortran``
@@ -185,13 +185,13 @@ libSplash
185185
- ``mkdir -p ~/src ~/build ~/lib``
186186
- ``git clone https://github.com/ComputationalRadiationPhysics/libSplash.git ~/src/splash/``
187187
- ``cd ~/build``
188-
- ``cmake -DCMAKE_INSTALL_PREFIX=$HOME/lib/splash ~/src/splash``
188+
- ``cmake -DCMAKE_INSTALL_PREFIX=$HOME/lib/splash -DSplash_USE_MPI=ON -DSplash_USE_PARALLE=ON ~/src/splash``
189189
- ``make install``
190190

191191
- *environment:* (assumes install from source in ``$HOME/lib/splash``)
192192

193-
- ``export SPLASH_ROOT=$HOME/lib/splash``
194-
- ``export LD_LIBRARY_PATH=$SPLASH_ROOT/lib:$LD_LIBRARY_PATH``
193+
- ``export CMAKE_PREFIX_PATH=$HOME/lib/splash:$CMAKE_PREFIX_PATH``
194+
- ``export LD_LIBRARY_PATH=$HOME/lib/splash/lib:$LD_LIBRARY_PATH``
195195

196196
HDF5
197197
""""

buildsystem/CompileSuite/autoTests/new_commits.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ touch "$thisDir"runGuard
9494
#export PIC_COMPILE_SUITE_CMAKE="-DPIC_ENABLE_PNG=OFF -DALPAKA_CUDA_ARCH=35"
9595
export PIC_BACKEND="cuda"
9696
. /etc/profile
97-
module load gcc/4.9.4 boost/1.62.0 cmake/3.7.0 cuda/8.0.44 openmpi/1.10.4
97+
module load gcc/4.9.4 boost/1.62.0 cmake/3.10.0 cuda/8.0.44 openmpi/1.10.4
9898
module load libSplash/1.6.0 adios/1.10.0
9999
module load pngwriter/0.7.0 rivlib/1.0.2
100100
module load libjpeg-turbo/1.5.1 icet/2.1.1 jansson/2.9 isaac/1.1.0

include/mpiInfo/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# Required cmake version
2323
################################################################################
2424

25-
cmake_minimum_required(VERSION 3.7.0)
25+
cmake_minimum_required(VERSION 3.10.0)
2626

2727

2828
################################################################################

include/picongpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# Required cmake version
2323
################################################################################
2424

25-
cmake_minimum_required(VERSION 3.7.0)
25+
cmake_minimum_required(VERSION 3.10.0)
2626

2727

2828
################################################################################

include/pmacc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# PMacc tests
2525
################################################################################
2626

27-
cmake_minimum_required(VERSION 3.7.0)
27+
cmake_minimum_required(VERSION 3.10.0)
2828
project(PMaccTest)
2929

3030
# set helper pathes to find libraries and packages

include/pmacc/PMaccConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
###############################################################################
3030
# PMacc
3131
###############################################################################
32-
cmake_minimum_required(VERSION 3.7.0)
32+
cmake_minimum_required(VERSION 3.10.0)
3333

3434
# set helper pathes to find libraries and packages
3535
# Add specific hints

include/pmacc/test/random/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# If not, see <http://www.gnu.org/licenses/>.
2020
#
2121

22-
cmake_minimum_required(VERSION 3.7.0)
22+
cmake_minimum_required(VERSION 3.10.0)
2323
project("TestRandomGenerators")
2424

2525
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../..")

share/pmacc/examples/gameOfLife2D/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Required cmake version
2424
################################################################################
2525

26-
cmake_minimum_required(VERSION 3.7.0)
26+
cmake_minimum_required(VERSION 3.10.0)
2727

2828

2929
################################################################################

src/tools/png2gas/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# Required cmake version
2323
################################################################################
2424

25-
cmake_minimum_required(VERSION 3.7.0)
25+
cmake_minimum_required(VERSION 3.10.0)
2626

2727

2828
################################################################################

src/tools/splash2txt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Required cmake version
2424
################################################################################
2525

26-
cmake_minimum_required(VERSION 3.7.0)
26+
cmake_minimum_required(VERSION 3.10.0)
2727

2828

2929
################################################################################

0 commit comments

Comments
 (0)