Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

MPI bad termination due to STOP

$
0
0

We observed a peculiar behavior of Intel MPI with exit status emitted from STOP statement.

PROGRAM hello
    USE mpi
    IMPLICIT NONE

    INTEGER :: rank, size, ierror

    CALL MPI_INIT(ierror)
    CALL MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
    CALL MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror)

    PRINT *, 'rank', rank, ': Hello, World!'

    CALL MPI_FINALIZE(ierror)

    STOP 2
END

The exit status will be utilized for quick debugging purpose in our codes.

With Intel MPI 2019 Update 4, we received bad termination errors, for instance using 2 MPI ranks:

 rank           1 : Hello, World!
 rank           0 : Hello, World!
2
2

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 167623 RUNNING AT login03
=   EXIT STATUS: 2
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 167624 RUNNING AT login03
=   EXIT STATUS: 2
===================================================================================

This behavior was not observed with previous versions of the library. We are not sure whether this is a bug of IMPI or an intended feature. 

Ideally, we are looking for a way to suppress this bad termination error.

Thanks.


Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>