Skip to content

Commit

Permalink
Fix for intel. (#101)
Browse files Browse the repository at this point in the history
Which uses INT to store MPI_COMMs
  • Loading branch information
william-dawson authored Feb 1, 2019
1 parent 8a6f870 commit 7c83532
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
12 changes: 0 additions & 12 deletions Source/CPlusPlus/ProcessGrid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ ProcessGrid::ProcessGrid(MPI_Comm world_comm, int process_slices) {
ConstructProcessGrid_onlyslice_wrp(ih_this, &temp_comm, &process_slices);
}

////////////////////////////////////////////////////////////////////////////////
ProcessGrid::ProcessGrid(MPI_Comm world_comm) {
MPI_Fint temp_comm = MPI_Comm_c2f(world_comm);
ConstructProcessGrid_default_wrp(ih_this, &temp_comm);
}

////////////////////////////////////////////////////////////////////////////////
ProcessGrid::ProcessGrid(int process_slices) {
MPI_Fint temp_comm = MPI_Comm_c2f(MPI_COMM_WORLD);
Expand Down Expand Up @@ -99,12 +93,6 @@ void ConstructGlobalProcessGrid(MPI_Comm world_comm, int process_slices,
&be_verbose);
}

////////////////////////////////////////////////////////////////////////////////
void ConstructGlobalProcessGrid(MPI_Comm world_comm, bool be_verbose) {
MPI_Fint temp_comm = MPI_Comm_c2f(world_comm);
ConstructGlobalProcessGrid_default_wrp(&temp_comm, &be_verbose);
}

////////////////////////////////////////////////////////////////////////////////
void ConstructGlobalProcessGrid(int process_slices, bool be_verbose) {
MPI_Fint temp_comm = MPI_Comm_c2f(MPI_COMM_WORLD);
Expand Down
9 changes: 0 additions & 9 deletions Source/CPlusPlus/ProcessGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ class ProcessGrid {
//! a part of.
//! \param[in] process_slices number of grid slices.
ProcessGrid(MPI_Comm world_comm, int process_slices);
//! Construct the process grid.
//! \param[in] world_comm a communicator that every process in the grid is
//! a part of.
ProcessGrid(MPI_Comm world_comm);
//! Construct the process grid from comm world
//! \param[in] process_slices number of grid slices.
ProcessGrid(int process_slices);
Expand Down Expand Up @@ -89,11 +85,6 @@ void ConstructGlobalProcessGrid(int process_rows, int process_columns,
//! \param[in] be_verbose verbosity flag.
void ConstructGlobalProcessGrid(MPI_Comm world_comm, int process_slices,
bool be_verbose = false);
//! Construct the global process grid.
//! \param[in] world_comm a communicator that every process in the grid is
//! a part of.
//! \param[in] be_verbose verbosity flag.
void ConstructGlobalProcessGrid(MPI_Comm world_comm, bool be_verbose = false);
//! Construct the global process grid from comm world
//! \param[in] process_slices number of grid slices.
//! \param[in] be_verbose verbosity flag.
Expand Down

0 comments on commit 7c83532

Please sign in to comment.