timemory submodule (#1)

- library now wraps fork() to warn about fork + OpenMPI

[ROCm/rocprofiler-systems commit: fc7cc1e68f]
This commit is contained in:
Jonathan R. Madsen
2021-08-17 17:34:34 -05:00
کامیت شده توسط GitHub
والد 3d3270b214
کامیت 045f29eda6
59فایلهای تغییر یافته به همراه314 افزوده شده و 18232 حذف شده
@@ -148,9 +148,19 @@ run(int argc, char** argv)
free(out_matrix);
}
#if defined(USE_MPI)
# include <mpi.h>
#endif
int
main(int argc, char** argv)
{
#if defined(USE_MPI)
MPI_Init(&argc, &argv);
#endif
run(argc, argv);
#if defined(USE_MPI)
MPI_Finalize();
#endif
return 0;
}