Adding a GitHub actions CI file.

This commit is contained in:
Patrick Shriwise 2020-12-11 20:04:26 +00:00 committed by GitHub
parent 7505718806
commit 37944edd95
5 changed files with 117 additions and 5 deletions

View file

@ -48,7 +48,11 @@ int main(int argc, char** argv) {
// the summary file will be used to check that
// temperatures were set correctly so clear
// error output can be provided
#ifdef OPENMC_MPI
if (openmc::mpi::master) openmc::write_summary();
#else
openmc::write_summary();
#endif
openmc_run();
openmc_finalize();