aboutsummaryrefslogtreecommitdiff
path: root/Source/main.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2023-08-28 10:25:25 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-28 10:25:25 -0700
commitf02ad26b531fb087b18db929ee328e074fb1b1ee (patch)
tree0b15489e1e1bf973e18afc0ff5ba6839027d774a /Source/main.cpp
parentbacabae8ed0fdcc82d9f3ea9d82b7dc53691e3b8 (diff)
downloadWarpX-f02ad26b531fb087b18db929ee328e074fb1b1ee.tar.gz
WarpX-f02ad26b531fb087b18db929ee328e074fb1b1ee.tar.zst
WarpX-f02ad26b531fb087b18db929ee328e074fb1b1ee.zip
Work-Around: Segfault in MPI_Init with HIP (#4237)
* Work-Around: Segfault in MPI_Init with HIP See: https://docs.olcf.ornl.gov/systems/crusher_quick_start_guide.html#olcfdev-1655-occasional-seg-fault-during-mpi-init * Move to ABLASTR All that counts is that HIP is initialized before GPU-aware MPI. * Add Exception
Diffstat (limited to 'Source/main.cpp')
-rw-r--r--Source/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/main.cpp b/Source/main.cpp
index f98674d2a..cfe805349 100644
--- a/Source/main.cpp
+++ b/Source/main.cpp
@@ -18,6 +18,7 @@
#include <AMReX_Print.H>
+
int main(int argc, char* argv[])
{
ablastr::parallelization::mpi_init(argc, argv);