Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Podhorszki, Norbert
ADIOS2
Commits
f1f91767
Commit
f1f91767
authored
7 years ago
by
Atkins, Charles Vernon
Browse files
Options
Downloads
Patches
Plain Diff
Stop mpidummy.h contamination from ADIOS1
parent
c1fd4115
No related branches found
No related tags found
1 merge request
!76
Stop mpidummy contamination
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/adios2/engine/adios1/ADIOS1Reader.h
+12
-2
12 additions, 2 deletions
source/adios2/engine/adios1/ADIOS1Reader.h
source/adios2/engine/adios1/ADIOS1Writer.h
+12
-2
12 additions, 2 deletions
source/adios2/engine/adios1/ADIOS1Writer.h
with
24 additions
and
4 deletions
source/adios2/engine/adios1/ADIOS1Reader.h
+
12
−
2
View file @
f1f91767
...
...
@@ -15,12 +15,22 @@
#include
<iostream>
//this must go away
#include
<adios_read_v2.h>
#include
"adios2/ADIOSConfig.h"
#include
"adios2/capsule/heap/STLVector.h"
#include
"adios2/core/Engine.h"
// Fake out the include guard from ADIOS1's mpidummy.h to prevent it from
// getting included
#ifdef _NOMPI
#define __MPI_DUMMY_H__
#define MPI_Comm int
#endif
#include
<adios_read_v2.h>
#ifdef _NOMPI
#undef MPI_Comm
#undef __MPI_DUMMY_H__
#endif
namespace
adios
{
...
...
This diff is collapsed.
Click to expand it.
source/adios2/engine/adios1/ADIOS1Writer.h
+
12
−
2
View file @
f1f91767
...
...
@@ -13,11 +13,21 @@
#ifndef ADIOS2_ENGINE_ADIOS1_ADIOS1WRITER_H_
#define ADIOS2_ENGINE_ADIOS1_ADIOS1WRITER_H_
#include
<adios.h>
#include
"adios2/ADIOSConfig.h"
#include
"adios2/core/Engine.h"
// Fake out the include guard from ADIOS1's mpidummy.h to prevent it from
// getting included
#ifdef _NOMPI
#define __MPI_DUMMY_H__
#define MPI_Comm int
#endif
#include
<adios.h>
#ifdef _NOMPI
#undef MPI_Comm
#undef __MPI_DUMMY_H__
#endif
namespace
adios
{
...
...
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