Skip to content

Commit

Permalink
Revert "dbg"
Browse files Browse the repository at this point in the history
This reverts commit cf2f362.
  • Loading branch information
dweindl committed Oct 13, 2024
1 parent 00f4f5b commit 40b1ed6
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/parpe_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
cmake \
-S"${PARPE_BASE}" \
-B"${PARPE_BUILD}" \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-deprecated-copy" \
-DIPOPT_INCLUDE_DIRS=/usr/include/coin/ \
-DIPOPT_LIBRARIES=/usr/lib/libipopt.so \
Expand Down
1 change: 0 additions & 1 deletion examples/parpeamici/steadystate/main_multicondition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class SteadystateApplication : public parpe::OptimizationApplication {
void initProblem(std::string const& inFileArgument,
std::string const& outFileArgument) override
{
std::cerr << "initProblem rank:" << parpe::getMpiRank() << " outFileArgument: "<< outFileArgument << std::endl;

// The same file should only be opened/created once, an then only be reopened
h5File = parpe::hdf5CreateFile(outFileArgument, true);
Expand Down
1 change: 0 additions & 1 deletion src/parpeamici/optimizationApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ int OptimizationApplication::init(int argc, char **argv) {
sigaction(SIGSEGV, &act, &oldact);
sigaction(SIGHUP, &act, nullptr);

std::cerr<<"OptimizationApplication::init withMPI="<<withMPI<<" getMpiActive="<<getMpiActive()<<"\n";
if(withMPI && !getMpiActive())
initMPI(&argc, &argv);

Expand Down
1 change: 0 additions & 1 deletion src/parpecommon/hdf5Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,6 @@ H5::H5File hdf5CreateFile(const std::string &filename,
}

try {
std::cerr << "Creating file " << filename << std::endl;
return H5::H5File(filename.c_str(), H5F_ACC_TRUNC);
} catch (H5::Exception const& e) {
printBacktrace();
Expand Down
5 changes: 0 additions & 5 deletions src/parpecommon/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ int getMpiRank() {
MPI_Comm_rank(MPI_COMM_WORLD, &mpiRank);
}
#endif
std::cerr<<"getMpiRank: "<<mpiRank<<"\n";
return mpiRank;
}

Expand All @@ -133,14 +132,10 @@ int getMpiActive()
int result = 0;

MPI_Initialized(&result);
std::cerr<<"MPI_Initialized: "<<result<<"\n";

if(!result)
return false;

MPI_Finalized(&result);
std::cerr<<"MPI_Finalized: "<<result<<"\n";

return !result;
#else
return false;
Expand Down

0 comments on commit 40b1ed6

Please sign in to comment.