Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
61d14195
Commit
61d14195
authored
Mar 19, 2015
by
Pedro Gonnet
Browse files
set the correct defines for the thread-safe HDF5 functions.
Former-commit-id: 451931f9664da5a0930ce0f48585ec9885e1e97c
parent
0dad3216
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/common_io.c
View file @
61d14195
...
...
@@ -31,6 +31,9 @@
#include
<stddef.h>
#include
<hdf5.h>
#include
<math.h>
#ifdef WITH_MPI
#include
<mpi.h>
#endif
#include
"const.h"
#include
"cycle.h"
...
...
src/parallel_io.c
View file @
61d14195
...
...
@@ -23,6 +23,8 @@
#if defined(HAVE_HDF5) && defined(WITH_MPI)
/* Tell HDF5 that we're interested in using shared-memory parallel stuff. */
#define H5_HAVE_PARALLEL
/* Some standard headers. */
#include
<stdio.h>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment