Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
61d14195
Commit
61d14195
authored
10 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
set the correct defines for the thread-safe HDF5 functions.
Former-commit-id: 451931f9664da5a0930ce0f48585ec9885e1e97c
parent
0dad3216
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common_io.c
+3
-0
3 additions, 0 deletions
src/common_io.c
src/parallel_io.c
+2
-0
2 additions, 0 deletions
src/parallel_io.c
with
5 additions
and
0 deletions
src/common_io.c
+
3
−
0
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"
...
...
This diff is collapsed.
Click to expand it.
src/parallel_io.c
+
2
−
0
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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment