Direct call to MPI_Abort leads to cryptic error message
Created by: rks171
A test I wrote was not calling MPI_Init. There was a mistake in the parameter list for setting up the MatrixType. When the exception handler was called, it was erroring on the MPI_Abort call found here https://github.com/CASL/Futility/blob/f0470bf365f1832e9ee87831149d4cd5b8a1b214/src/ExceptionHandler.f90#L1052. This presents a cryptic error message, system msg for write_line failure : Bad file descriptor
instead of the useful one in the error handler. This section of the code should be checking if mpi was actually initialized, possible by calling the ParallelEnv object that is relevant instead.