timemory submodule (#1)
- library now wraps fork() to warn about fork + OpenMPI
[ROCm/rocprofiler-systems commit: fc7cc1e68f]
This commit is contained in:
کامیت شده توسط
GitHub
والد
3d3270b214
کامیت
045f29eda6
@@ -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;
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user