• 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. how to recover a locked simulation on the Cadence server...

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 125
  • Views 6206
  • 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

how to recover a locked simulation on the Cadence server?

sohaibafridi
sohaibafridi over 13 years ago

Hello,

I am using Cadence 5.10.41 , I want to know that if I am running a simulation on my Cadence server, which is being accessed through PuTTy on my PC, after a power breakdown on my PC (my server has no power breakdown), I access the PuTTy and I find out that the process has been locked and is not running. What should I do then to recover the simulation from that point?

 Secondly, why does the simulation break if my PC shuts down, because I thought that the simulation was running on the server and it has nothing to do with the interface on my PC?.

 I am accessing the LinuX server using PuTTy and Xming.

  • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sohaib

    If you had used "+checkpoint" spectre option in the initial simulation, you can continue from a saved checkpoint using "+recover" option. Xming is an X server which allows you to run the simulation on your remote server but the parent process is still on your PC. Please use a tool such as "vnc" in order to be sure that it does not get affected by your PC issues. When using vnc, the vnc server is started on the remote server and only the display will be sent to your PC. Hence regardless of what happens to your PC, your simulation will not be affected.


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sohaibafridi
    sohaibafridi over 13 years ago

     Thank you very much Quek for the tip on vnc server. This is really useful for my scenario.

    Please could you guide me where is this +checkpoint spectre option ? Or is there any command to be used on the icfb window?.Can we remove these checkpoints after we are done with them so that they do not fill up the hardrive for every simulation? or are they removed after we "+recover" them?

     Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sohaib

    You can specify +checkpoint in "userCmdLineOption" field in "ADE: Setup->Environment" but there is no need to do so because it is enabled by default. You can also use savestate and recover cmds in the same form. Please search for "Recovering from Transient Analysis Terminations" in $MMSIMHOME/doc/spectreuser/spectreuser.pdf. That section has a lot of info for simulation recovery.

    It is ok to remove checkpoint/savesstate files if they are no longer needed.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sohaibafridi
    sohaibafridi over 13 years ago

    Dear Quek,

    I have reading about vnc but I have an issue regarding it. I do not understand that how should I configure vnc for multiple accounts on the server. What is understand is that for using vnc , I require to be logged on a single account. Is there any other software or way to bypass Xming alltogether.

    Regards

     

    Quek said:

    Hi Sohaib

    If you had used "+checkpoint" spectre option in the initial simulation, you can continue from a saved checkpoint using "+recover" option. Xming is an X server which allows you to run the simulation on your remote server but the parent process is still on your PC. Please use a tool such as "vnc" in order to be sure that it does not get affected by your PC issues. When using vnc, the vnc server is started on the remote server and only the display will be sent to your PC. Hence regardless of what happens to your PC, your simulation will not be affected.


    Best regards
    Quek

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sohaib

    Here is how you can start a vnc server for different user accounts:

    a. Log in to the server using any user name
    b. Go to the home directory and create a .vnc directory if it does not exists
    c. Create a file named "xstartup" with the following contents:

    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    xsetroot -solid grey
    startx &

    d. Start vnc server using:

    linux>vncserver :123 -nolisten local -depth 24 -geometry 1366x768 &

    You can now use any vnc viewer to connect to vnc server 123. I think vnc is your best choice for remote access. : )  It is very reliable and stable.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sohaibafridi
    sohaibafridi over 13 years ago

     Thank you very much I followed it.

    I performed the steps, created a vnc server and executed the vnc server according to vncserver :123 -nolisten local -depth 24 -geometry 1366x768 &.

    When I use the vnc viewer from my windows and access the account, it opens up a window, but it is black, the only visible thing is the mouse cursor.

    Any idea what could be the issue?

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sohaib

    I also experience this problem sometimes and usually rebooting the server resolves it. Not very sure what is the caused of it. If rebooting does not help you, please email to a vnc help forum together with the log file in your .vnc directory.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sohaibafridi
    sohaibafridi over 13 years ago

    yup this rebooting works. Still unknown why does that happen?.

    Secondly, If I wanted to delete any of these session accounts, what should I do?

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Sohaib

    I am also not sure of the cause of the problem. You can simply kill the "Xvnc" process.

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sohaibafridi
    sohaibafridi over 13 years ago

    Xvnc process is only visible when those sessions are logged in or are currently in use, Do you know how to completely delete those sessions ,so that if a new user creates a new vnc server he can use the old session address.

    e.g sohaib:100 is being used by someone. Now if we want this session number to be free and available for any other user, What should we do? Can we delete its association with the previous account.

    Regards

    • 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