Skip to content
Snippets Groups Projects
Commit 344c5591 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Arrange GCOV_PREFIX definition

parent 11c13113
No related branches found
No related tags found
1 merge request!11Feature/mpi
......@@ -8,13 +8,11 @@
int main( int argc, char* argv[] )
{
setenv("GCOV_PREFIX", "/dev/null", 1);
Messenger::create(argc, argv);
Kokkos::initialize({4,-1,-1,true});
if (commRank() == 0) {
unsetenv("GCOV_PREFIX");
if (commRank() != 0) {
setenv("GCOV_PREFIX", "/dev/null", 1);
}
int result = Catch::Session().run( argc, argv );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment