Hi,

I am invoking my Java MPI program as,

mpirun opts script.sh

Now, I want to pass some rank specific argument to this script. For
example, I need to enable GC logs for one of the processes only, so I need
to pass an argument to the JVM if that's rank0 to do GC logs.

I've asked the same question a while back and Ralph suggested to use

mpirun opts -np 1 java args-for-rank0 app : -np 1 java args-for-others ..
style.

It works for 1 node, but beyond that, there's something that goes wrong
with how processes are assigned to communicators. In the code, the comm
world is split into different communicators and this pattern breaks that
logic.

Is there an alternative approach to doing this?

Thank you,
Saliya

-- 
Saliya Ekanayake
Ph.D. Candidate | Research Assistant
School of Informatics and Computing | Digital Science Center
Indiana University, Bloomington
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to