[gridengine users] MATLAB + SGE experts?

"Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D." laotsao at gmail.com
Thu Jan 19 22:03:01 UTC 2012


did you try

$ ssh-agent $SHELL
$ ssh-add



On 1/19/2012 2:19 PM, Prentice Bisbal wrote:
> 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?
>

-- 
Hung-Sheng Tsao Ph D.
Founder&  Principal
HopBit GridComputing LLC
cell: 9734950840

http://laotsao.blogspot.com/
http://laotsao.wordpress.com/
http://blogs.oracle.com/hstsao/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20120119/e54160a3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: laotsao.vcf
Type: text/x-vcard
Size: 608 bytes
Desc: not available
URL: <http://gridengine.org/pipermail/users/attachments/20120119/e54160a3/attachment.vcf>


More information about the users mailing list