Hi,

I am trying to profile one of our applications and would like each rank to
report to a profiler through a specific port. This is a Java program, so
the way I would like to do this is to pass the port as a command line
argument to the JVM. For example,

mpirun -np 2 java <port> MyProgram

Note the port is passed as an option to the java command and not to the
program. Now the port has to be different for the 2 MPI procs and I am not
sure how this could be done.

Any thoughts?

Thank you,
Saliya

-- 
Saliya Ekanayake
Ph.D. Candidate | Research Assistant
School of Informatics and Computing | Digital Science Center
Indiana University, Bloomington
Cell 812-391-4914
http://saliya.org

Reply via email to