• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Open-Sn / opensn / 18380674863

09 Oct 2025 02:45PM UTC coverage: 75.202% (+0.3%) from 74.862%
18380674863

push

github

web-flow
Merge pull request #793 from wdhawkins/remove_cmake_debug_flags

Removing forced use of -O0 for Debug config

18014 of 23954 relevant lines covered (75.2%)

56527302.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/python/main.cc
1
// SPDX-FileCopyrightText: 2024 The OpenSn Authors <https://open-sn.github.io/opensn/>
2
// SPDX-License-Identifier: MIT
3

4
#include "python/lib/py_app.h"
5
#include "mpicpp-lite/mpicpp-lite.h"
6
#include <cstdio>
7
#include <cstdlib>
8
#include "petsc.h"
9

10
namespace mpi = mpicpp_lite;
11

12
int
13
main(int argc, char** argv)
×
14
{
15
  mpi::Environment env(argc, argv);
×
16

17
  PetscCall(PetscInitializeNoArguments());
×
18

19
  int retval = EXIT_SUCCESS;
×
20
  try
×
21
  {
22
    py::scoped_interpreter guard{};
×
23
    opensnpy::PyApp app(MPI_COMM_WORLD);
×
24
    retval = app.Run(argc, argv);
×
25
  }
×
26
  catch (...)
×
27
  {
28
    std::fprintf(stderr, "Unknown fatal error\n");
×
29
    retval = EXIT_FAILURE;
×
30
  }
×
31

32
  PetscFinalize();
×
33

34
  return retval;
35
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc