LLNL / UnifyFS

UnifyFS: A file system for burst buffers
Other
99 stars 31 forks source link

Fortram mpi wrappers have wrong parameter types #795

Closed wangvsa closed 11 months ago

wangvsa commented 12 months ago

Description

There's a strange error when running a FLASH5 simulation on Summit:

*** The MPI_Init_thread() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.

The actual issue is not calling MPI_Init_thread before MPI_Init, but caused by the invalid required parameter value. (strange how this irrelevant error message showed up).

Fix

The previous MPI_Init_thread wrapper has a wrong parameter type for required. Instead of int required, it should be MPI_Fint* required.

Types of changes

adammoody commented 11 months ago

Thanks @wangvsa and @MichaelBrim !