Does anyone on here have experience configuring SGE to work with
MATLAB's Distributed Computing Environment (MDCE)?

SGE is not natively supported by MATLAB, but can use their 'generic
scheduler' facility. They provide all of the scripts needed, and even
include a
template for the PE. I've followed all the instructions, but when I try
to submit a parallel job using the validation function of MATLAB's
parallel configuration manager, it fails.

Digging into the problem, it looks like MATLAB uses the first task to
start an mpd daemon, because in the MATLAB logs I see this:

Starting SMPD on node65 node66  ...
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null node65
"/usr/loc
al/matlab/bin/mw_smpd" -s -phrase MATLAB -port 25955
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Launching smpd failed for node: node65

Stopping SMPD on  ...
Exiting with code: 0

When I ssh into the node where the job is starting (node65) in this
case, I run that command just fine. Both of these commands work:

 ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null node65
"/usr/local/matlab/bin/mw_smpd" -s -phrase MATLAB -port 25955
 ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null node66
"/usr/local/matlab/bin/mw_smpd" -s -phrase MATLAB -port 25955

I suspect this is a problem with SGE not forwarding my SSH key, or
something of that nature. I require a passphrase for my SSH key, so I
suspect that might be the problem. Can anyone confirm or deny that?

-- 
Prentice Bisbal
Linux Software Support Specialist/System Administrator
School of Natural Sciences
Institute for Advanced Study
Princeton, NJ

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to