Info

This question is closed. Reopen it to edit or answer.

How to determine the client machine that submit the job?

2 views (last 30 days)
Under the parallel task currently evaluating, how can one determine the client machine that submit the job?

Answers (2)

Sangeetha Jayaprakash
Sangeetha Jayaprakash on 2 Nov 2016
My understanding is that you would like to determine the client machine from which a particular job is submitted.
You can obtain the name of the user who owns the job by using the 'Username' property of the 'parallel.Job' class. Refer this link for more details on this class: https://www.mathworks.com/help/distcomp/parallel.job.html
If this does not help, could you provide more information on your use-case and workflow?

Nisai Wanakule
Nisai Wanakule on 2 Nov 2016
Our cluster is on Windows and we usually submit the job using a domain user, so I am not sure if we can use the Username property to determine the machine that submitted the job. I have not try to submit using the local user. Doing so may complicate the security setup on the cluster.
I also curious on how does the JM determine what the machine to send the results back to (network port/pipe)?

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!