mpi - How can my program detect, whether it was launch via mpirun -


how can mpi program detect, if launched standalone application or via mpirun?

considering answer , comments semiuseless , hristo iliev, there no general , portable way this. workaround, can check environment variables set mpirun. see e.g.:
http://www.open-mpi.org/faq/?category=running#mpi-environmental-variables


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -