• 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 SKILL
  3. Running Cadence in the background of the server and successfully...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16118
  • 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

Running Cadence in the background of the server and successfully reconnect it after network stops

EEE student
EEE student over 4 years ago

Dear all,

I came across a tricky situation when running the graphical interface of Cadence at the server's background and would like to ask help here.

I want to perform MC simulation on my design, which is very time consuming and hence I want the Cadence to run in the background.

I used screen session that runs Cadence. Then I detached the session and closes the Cadence graphical Interface.

However, when I re-attached the screen session again, I got the following error:

Cadence IC 6.1.6-64b.500.8 (2015) Startup: Loading 180nm CMOS 9M/2P Generic PDK.
IO Error 11 (Resource temporarily unavailable) on Display "localhost:11.0"
Aborting due to fatal X IO error.
Abort
Could anyone please kindly explain what happened in this situation. Is it because of server error or something else?
If anyone could kindly give an alternative way of running Cadence's simulation in the background, I would appreciate!
Thank you very much!
Mingqiang
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Hi Mingqiang,

    This rather depends on how you are connecting to this graphical session. If you are just doing a remote X display, then this will indeed happen with any graphical program. If you are using something like VNC, Exceed Turbo X, NoMachine NX, or various others then you can probably disconnect the session.

    There was an issue recently with IC6.1.8/ICADVM20.1 with Exceed on Demand (old tool from OpenText, replaced by Exceed on Demand) due to OpenGL and a bug in Exceed on Demand - covered in When using OpenText Exceed on Demand (EoD), Virtuoso 18.1/6.1.8 ISR9 will crash when EoD is Suspended. However, you're using a very old IC version, so that's not going to be it.

    I don't know how you're connecting to this X server - you'll need to explain how you're running the tools so that we can advise you appropriately.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • EEE student
    EEE student over 4 years ago in reply to Andrew Beckett

    Hi Mr. Andrew,

    Thank you very much for helping me again!

    The way of connection is the following:

    1. add my username to my university server that installs Cadence.

    2: On MobaXTerm, accessing the server after logging in.

    3: After logging in, using the command:

    cd nfshome,

    cd CadenceLab (This is the directory create myself)

    pdk gpdk

    cadence gpdk18

    Then the Cadence graphical interface is displayed.

    Thank you very much!

    Mingqiang

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • EEE student
    EEE student over 4 years ago in reply to EEE student

    Hi Mr. Andrew,

    Here is an update.

    As you mentioned the remote X connection does not support this reattachment.

    I tried to access the server using ssh -Y server_name

    Then use the command below to access to Cadence.

    cd nfshome,

    cd CadenceLab 

    pdk gpdk

    cadence gpdk18

    However, after detach the session, I found an interesting thing: the GUI was still open and I cannot exit the server from the terminal normally.

    When I closed the entire server and connects to the detached session again, I got exactly the same error as before.

    So probably there are some other reasons behind that?

    Could you please kindly explain a bit more?

    Thank you!

    Mingqiang

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to EEE student

    Hi Mingqiang,

    I had a look earlier at MobaXTerm - this is running an X server on your Windows machine by the looks of things (I wasn't familiar with this tool) and so regardless of whether you start virtuoso in an Xterm launched from that tool, or use ssh to connect remotely and uses X forwarding, the connection to the application relies on the server being accessible. This cannot do anything other than kill the session when you close the server, because there's nothing for the X (graphics) events to be channeled to.

    The only solution is to use some kind of solution which runs a virtual X server on the remote machine and displays to your end via some protocol that allows disconnection. There are numerous solutions for this, including VNC (various flavours), NoMachine NX, Exceed TurboX, and so on. VNC is pretty easy to install and use - you simply run a "vncserver" on the remote end and then use a VNC viewer to connect from your Windows machine to the virtual server on the remote end. Since the X server stays active, nothing is lost when you disconnect. There are numerous flavours (both free and commercial) of VNC (a google search for VNC would find www.realvnc.com and www.tightvnc.com as common variants), but other solutions may be better for you.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to EEE student

    Hi Mingqiang,

    I had a look earlier at MobaXTerm - this is running an X server on your Windows machine by the looks of things (I wasn't familiar with this tool) and so regardless of whether you start virtuoso in an Xterm launched from that tool, or use ssh to connect remotely and uses X forwarding, the connection to the application relies on the server being accessible. This cannot do anything other than kill the session when you close the server, because there's nothing for the X (graphics) events to be channeled to.

    The only solution is to use some kind of solution which runs a virtual X server on the remote machine and displays to your end via some protocol that allows disconnection. There are numerous solutions for this, including VNC (various flavours), NoMachine NX, Exceed TurboX, and so on. VNC is pretty easy to install and use - you simply run a "vncserver" on the remote end and then use a VNC viewer to connect from your Windows machine to the virtual server on the remote end. Since the X server stays active, nothing is lost when you disconnect. There are numerous flavours (both free and commercial) of VNC (a google search for VNC would find www.realvnc.com and www.tightvnc.com as common variants), but other solutions may be better for you.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
No Data

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