Skip to content

Commit

Permalink
Merge pull request #110 from ajnonaka/fix_heffte_perlmutter
Browse files Browse the repository at this point in the history
fix heffte perlmutter compilation by re-ordering header file includes
  • Loading branch information
ajnonaka authored Jan 25, 2024
2 parents 9f2c82e + 1701539 commit 690e588
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions ExampleCodes/heFFTe/Basic/main.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#include <heffte.h>

#include <AMReX.H>
#include <AMReX_MultiFab.H>
#include <AMReX_ParmParse.H>
#include <AMReX_GpuComplex.H>
#include <AMReX_PlotFileUtil.H>

#include <heffte.h>

using namespace amrex;
//using namespace HEFFTE;

int main (int argc, char* argv[])
{
Expand Down
5 changes: 2 additions & 3 deletions ExampleCodes/heFFTe/Poisson/main.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#include <heffte.h>

#include <AMReX.H>
#include <AMReX_MultiFab.H>
#include <AMReX_ParmParse.H>
#include <AMReX_GpuComplex.H>
#include <AMReX_PlotFileUtil.H>

#include <heffte.h>

using namespace amrex;
//using namespace HEFFTE;

int main (int argc, char* argv[])
{
Expand Down

0 comments on commit 690e588

Please sign in to comment.