• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. cdsRemsh ignores "ssh" setting .cdsenv

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 126
  • Views 3313
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cdsRemsh ignores "ssh" setting .cdsenv

kitmonisit
kitmonisit over 12 years ago

I am setting up a Distributed Processing environment using cdsqmgr.

I have the following lines in my ~/.cdsenv

asimenv.distributed copyMode boolean t
asimenv.distributed remoteShell string "ssh"
asimenv.distributed loginShell cyclic "csh"

I found a cdsRemote.scr in /usr/cadence/IC610/share/cdsssetup/cdsRemsh and followed the instructions there. Somewhere in LINE 43 of this file, I see:

remoteSystem=rsh
#remoteSystem=ssh    # uncomment this line to configure for generic ssh

Since I do not have write privileges in /usr/cadence..., I copied cdsRemote.scr to my home ~/cdssetup/cdsRemsh because the instructions at the top of the file said so:

The default behaviour of the cdsRemote facility can be modified by
copying the file to a directory with a higher serach precedence
(such as $HOME/cdssetup/cdsRemsh/cdsRemote.scr) and then modifying
the copy.

And so I modified the copy to read:

remoteSystem=ssh

Checklist

I have done the following necessary setup:

  1. Add to my ~/.cshrc

    setenv LBS_CLUSTER_MASTER calvin
    
  2. Create a queue-config file with the following contents

    fast 2
    calvin 2
    hobbes 2
    
  3. Kill all cds... processes owned by root

    $ ps -u root | grep cds
    
  4. Run cdsqmgr as root

    $ su
    $ cdsqmgr ~/queue-config
    

Testing

Now, when I test using adptest, I get the following output:

BEGIN Analog Design Environment Distributed Processing Setup Test

Testing for existence of LBS_CLUSTER_MASTER variable...
    PASSED.

Testing opening of Analog Design Environment Job Server...
Launching Analog Design Environment job server...
Analog Design Environment job server has initialized!
    PASSED.

Please be patiend - the remaining portion of the test takes some time.

Testing job submission to host `calvin' on queue `fast'...
Waiting for ipc:-1 to terminate
    PASSED.

Testing job submission to host `hobbes' on queue `fast'...
connect to address 100.100.100.101 port 544: Connection refused
Trying krb4 rsh...
connect to address 100.100.100.101 port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
hobbes: Connection refused
Error (cdsWaitFor): command cdsRemshClient failed with status 1
Waiting for ipc:0 to initialize
    PASSED.

END Analog Design Environment Distributed Processing Setup Test

t

Checking my mail

I check my mail on /var/spool/mail and see something like this:

Debug: ExecCommand:
/usr/cadence/IC610/share/cdsssetup/cdsRemsh/cdsRemote.scr shell
hobbes ... <truncated> ...

Question

Why is the cdsqmgr still using the rsh to login to the executiong host, when I already set it to ssh in .cdsenv?

Why is the cdsqmgr still using the default cdsRemote.scr, when I already copied a modified file in ~/cdssetup/cdsRemsh?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Don't know. Nothing obvious jumps out at me. Please contact tp so that somebody can debug this with you.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kitmonisit
    kitmonisit over 12 years ago
    Thank you for the advice. What is TP? How do I contact them?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Whoops, something got messed up when I posted that. I meant to say contact customer support. I think the focus of my cursor slipped as I was typing in the URL... and it ended up as "tp".

    Sorry!

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • vader
    vader over 11 years ago

    Hi,

     

    Can you try again after changing the permission of ~/cdssetup/cdsRemsh/cdsRemote.scr to include execution permission?

    chmod +x  ~/cdssetup/cdsRemsh/cdsRemote.scr

     

    Best regards,

    Teng-Kiat 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information