Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2166 Discussions

MPI processes got killed when the computer goes in sleeping mode

Dany_V_
Beginner
371 Views

I notice that all processes started under MPI are gone when the computer wakes up from a sleeping mode.

Is this normal behavior?  Is there any setting that keeps the processes alive?

 

kr

Dany

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
371 Views

Set your Power Settings to Sleep - Never.

MPI processes are typically run on servers - IOW they never sleep.

You also have a similar issue with non-MPI processes on a single system where when (if) the system goes into sleep mode, the application is suspended. Should this application have, as an example, a socket open to a FTP server, the server may terminate the connection and/or transfer that was interrupted. The work around for this is to set your Power Settings to Sleep - Never.

Note, you can research (google) for programmable way to modify the system Power Settings, then construct a thread-safe (multiple process safe) means to modify the power settings (e.g. have a count of the number of processes desiring Sleep=Never.

Jim Dempsey

0 Kudos
Reply