Home > Community > Blogs > Digital Implementation > encounter quick tip how to repair command line navigation when launching via bsub
 
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits
Get email delivery of the Digital Implementation blog (individual posts).
 

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

Encounter Quick Tip: How to Repair Command Line Navigation When Launching via bsub

Comments(3)Filed under: Digital Implementation, encounter, Encounter Digital Implementation, EDI, command line, bsub

When two users report the same issue in the same week I'm glad I can share the problem and solution via this blog.

I know a lot of you work in an environment where you request computing resources via "bsub." In many cases it's frowned upon to request an xterm to launch jobs and it's preferred to start an interactive session with something like "bsub -I encounter." What we were seeing was that command line navigation at the Encounter console was broken when launched via bsub yet was working fine when launched via an xterm. Backspace produced garbage characters like "^H", tab-completion didn't work, and arrow-up (precious arrow-up!) wouldn't retrieve the previously issued commands.

You could barely get around but it was truly painful.

The remedy we found was to launch jobs with "bsub -Ip encounter" instead of just "bsub -I encounter." The "-Ip" asks for an interactive prompt that should enable command line navigation to work as desired.

Hope this is useful. If this works/doesn't work for you -or- you're having any other problems with command line navigation let us know. Little things like that can really affect your impression of the software so I want to make sure everyone's console is working the way it should be.

Bob Dwyer

Comments(3)

By Kevin P Thomas on April 13, 2011
thank you very much
I and -Is switch with bsub  give the same error
But -Ip switch is working fine

By BobD on April 15, 2011
Glad to hear that helped Kevin!

By Chrystian Roy on April 18, 2011
Hi Bob
This works for Conformal too. Thanks for finding a cleaner solution than using ssh!
Chrystian

Leave a Comment


Name
E-mail (will not be published)
Comment
 I have read and agree to the Terms of use and Community Guidelines.
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.