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 -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -