Skip to content

Commit d8afdf3

Browse files
Merge pull request #2533 from ComputationalRadiationPhysics/release-0.3.2
Release 0.3.2: Phase Space Momentum, ADIOS One-Particle Dumps & Field Names
2 parents f927315 + a6d24b1 commit d8afdf3

32 files changed

Lines changed: 146 additions & 77 deletions

File tree

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
11
Change Log / Release Log for PIConGPU
22
================================================================
33

4+
0.3.2
5+
-----
6+
**Date:** 2018-02-16
7+
8+
Phase Space Momentum, ADIOS One-Particle Dumps & Field Names
9+
10+
This release fixes a bug in the phase space plugin which derived a too-low
11+
momentum bin for particles below the typical weighting (and too-high for above
12+
it). ADIOS dumps crashed on one-particle dumps and in the name of on-the-fly
13+
particle-derived fields species name and field name were in the wrong order.
14+
The plugins libSplash (1.6.0) and PNGwriter (0.6.0) need exact versions,
15+
later releases will require a newer version of PIConGPU.
16+
17+
### Changes to "0.3.1"
18+
19+
**Bug Fixes:**
20+
- PIConGPU:
21+
- wrong border with current background field #2326
22+
- libPMacc:
23+
- cuSTL: missing include in `ForEach` #2406
24+
- warning concerning forward declarations of `pmacc::detail::Environment` #2489
25+
- `pmacc::math::Size_t<0>::create()` in Visual Studio #2513
26+
- plugins:
27+
- phase space plugin: weighted particles' momentum #2428
28+
- calorimeter: validate `minEnergy` #2512
29+
- ADIOS:
30+
- one-particle dumps #2437
31+
- `FieldTmp`: derived field name #2461
32+
- exact versions of libSplash 1.6.0 & PNGwriter 0.6.0
33+
- tools:
34+
- tbg: wrong quoting of `'` #2419
35+
- CMake: false-positive on in-source build check #2407
36+
- pic-configure: cmakeFlags return code #2323
37+
38+
**Misc:**
39+
- Hypnos (HZDR): new modules #2521 #2524
40+
41+
Thanks to Axel Huebl, René Widera, Sergei Bastrakov and Sebastian Hahn
42+
for contributing to this release!
43+
44+
445
0.3.1
546
-----
647
**Date:** 2017-10-20

INSTALL.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ We recommend to install at least **pngwriter** and either **libSplash** (HDF5) o
133133

134134
pngwriter
135135
"""""""""
136-
- 0.5.6+
136+
- 0.6.0 (exact!)
137137
- *Spack:* ``spack install pngwriter``
138138
- *from source:*
139139

@@ -145,7 +145,7 @@ pngwriter
145145
- example:
146146

147147
- ``mkdir -p ~/src ~/build ~/lib``
148-
- ``git clone https://github.com/pngwriter/pngwriter.git ~/src/pngwriter/``
148+
- ``git clone https://github.com/pngwriter/pngwriter.git --branch 0.6.0 ~/src/pngwriter/``
149149
- ``cd ~/build``
150150
- ``cmake -DCMAKE_INSTALL_PREFIX=$HOME/lib/pngwriter ~/src/pngwriter``
151151
- ``make install``
@@ -157,14 +157,14 @@ pngwriter
157157

158158
libSplash
159159
"""""""""
160-
- 1.6.0+ (requires *HDF5*, *boost program-options*)
160+
- 1.6.0 (exact! requires *HDF5*, *boost program-options*)
161161
- *Debian/Ubuntu dependencies:* ``sudo apt-get install libhdf5-openmpi-dev libboost-program-options-dev``
162162
- *Arch Linux dependencies:* ``sudo pacman --sync hdf5-openmpi boost``
163163
- *Spack:* ``spack install libsplash ^hdf5~fortran``
164164
- *from source:*
165165

166166
- ``mkdir -p ~/src ~/build ~/lib``
167-
- ``git clone https://github.com/ComputationalRadiationPhysics/libSplash.git ~/src/splash/``
167+
- ``git clone https://github.com/ComputationalRadiationPhysics/libSplash.git --branch v1.6.0 ~/src/splash/``
168168
- ``cd ~/build``
169169
- ``cmake -DCMAKE_INSTALL_PREFIX=$HOME/lib/splash ~/src/splash``
170170
- ``make install``

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989
# built documents.
9090
#
9191
# The short X.Y version.
92-
version = u'0.3.1'
92+
version = u'0.3.2'
9393
# The full version, including alpha/beta/rc tags.
94-
release = u'0.3.1'
94+
release = u'0.3.2'
9595

9696
# The language for content autogenerated by Sphinx. Refer to documentation
9797
# for a list of supported languages.

pic-configure

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ if [ ! -d "$extension_param" ] ; then
8383
fi
8484
#check for cmakeFlags file (interprete with sh)
8585
if [ -f "$extension_param/cmakeFlags" ] ; then
86-
cmake_flags=`$extension_param/cmakeFlags $cmakeFlagsNr`
86+
cmake_flags=$($extension_param/cmakeFlags $cmakeFlagsNr)
87+
if [ $? -ne 0 ] ; then
88+
echo "ERROR: Executing '$extension_param/cmakeFlags' failed!" >&2
89+
echo " Is the file executable? (chmod u+x cmakeFlags)" >&2
90+
exit 2
91+
fi
8792
fi
8893

8994
#set default install path if no path is set by paramater

src/libPMacc/PMaccConfig.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ endif()
277277
# Boost 1.55 added support for a define that makes result_of look for
278278
# the result<> template and falls back to decltype if none is found. This is
279279
# great for the transition from the "wrong" usage to the "correct" one as
280+
message(STATUS "Boost: result_of with TR1 style and decltype fallback")
280281
set(PMacc_DEFINITIONS ${PMacc_DEFINITIONS} -DBOOST_RESULT_OF_USE_TR1_WITH_DECLTYPE_FALLBACK)
281282
282283
# Boost >= 1.60.0 and CUDA != 7.5 failed when used with C++11
@@ -290,13 +291,16 @@ if( (Boost_VERSION GREATER 105999) AND
290291
endif()
291292
292293
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
294+
message(STATUS "Boost: Disable variadic templates")
295+
message(STATUS "Boost: Do not use fenv.h from standard library")
293296
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_NO_VARIADIC_TEMPLATES")
294297
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_NO_CXX11_VARIADIC_TEMPLATES")
295298
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_NO_FENV_H")
296299
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
297300
# suppress boost error
298301
# 'no member named "impl" in "boost::detail::thread_move_t<boost::detail::nullary_function<void ()> >"'
299302
# in 'boost/thread/detail/nullary_function.hpp'
303+
message(STATUS "Boost: Do not use C++11 smart pointers from standard library")
300304
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_NO_CXX11_SMART_PTR")
301305
endif()
302306
@@ -306,6 +310,7 @@ endif()
306310
if( ("${PMACC_CUDA_COMPILER}" STREQUAL "nvcc") AND
307311
(Boost_VERSION EQUAL 106400) AND
308312
(CUDA_VERSION VERSION_EQUAL 8.0) )
313+
message(STATUS "Boost: Disable C++11 noexcept")
309314
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_NO_CXX11_NOEXCEPT")
310315
endif()
311316

src/libPMacc/examples/gameOfLife2D/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ set(LIBS ${LIBS} ${Boost_LIBRARIES})
108108
################################################################################
109109

110110
# find PNGwriter installation
111-
find_package(PNGwriter 0.5.6 REQUIRED)
111+
find_package(PNGwriter 0.6.0 EXACT REQUIRED)
112112

113113
if(PNGwriter_FOUND)
114114
include_directories(SYSTEM ${PNGwriter_INCLUDE_DIRS})

src/libPMacc/include/cuSTL/algorithm/kernel/detail/ForeachKernel.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222
#pragma once
2323

24+
#include <boost/preprocessor.hpp>
25+
26+
2427
namespace PMacc
2528
{
2629
namespace algorithm

src/libPMacc/include/dataManagement/DataConnector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ namespace PMacc
216216

217217
private:
218218

219-
friend class detail::Environment;
219+
friend struct detail::Environment;
220220

221221
static DataConnector&
222222
getInstance()

src/libPMacc/include/eventSystem/Manager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ namespace PMacc
7676

7777
private:
7878

79-
friend class detail::Environment;
79+
friend struct detail::Environment;
8080

8181
inline ITask* getPassiveITaskIfNotFinished(id_t taskId) const;
8282

src/libPMacc/include/eventSystem/events/EventPool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace PMacc
9696

9797
private:
9898

99-
friend class detail::Environment;
99+
friend struct detail::Environment;
100100

101101
static EventPool& getInstance( )
102102
{

0 commit comments

Comments
 (0)