i'm new in mpi , i try tu use mpi inside of function and i have this error
An error occurred in MPI_Init
*** after MPI was finalized
*** MPI_ERRORS_ARE_FATAL (goodbye)
[dellam:16806] Abort before MPI_INIT completed successfully; not able to
guarantee that all other processes were killed!
maybe i cant use mpi inside of function ?