• 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. Library manager shows layout cell is checked out BUT there...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 16629
  • 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

Library manager shows layout cell is checked out BUT there are no lock files in the directory path.

MGoodlett
MGoodlett over 6 years ago

Situation:

User1 (mysefl) originally created the layout cell "test1".

User2 has the cell checked out and the DesignSync Status Browser shows the version is in edit (version: 1.2->1.3).
The Cadence Library Manager also sees this cell as checked out.

User1 cannot access the cell other than in read-only mode.

The User2 person exists but before we start trying to use that account to release the lock status, I am taking
this as an opportunity to learn how we need to solve this going forward.
Say, it's 3 am and we have a deadline and User2 no longer exists and, maybe, we cannot get hold of any admin types to change permissions on the files.

We had  a shutdown this past weekend so everyone has restarted their sessions from a pool of servers
so the chance that someone got onto the same server that they last week is small.
Besides, the cadence PID would be different.

When I look in the directory where the library data is located, there is a local version of layout.oa (not a link to design sync data)
and there are not any cdslck files in the directory.

drwxrws--- 2 user1 group 4096  May 20 18:52 .
drwxrws--- 4 user1 group 4096  May 14 14:16 ..
-rw-r----- 1 user2 group 4876  May 17 15:13 data.dm
-rw-r----- 1 user2 group 28284 May 17 15:13 layout.oa
-rw-r----- 1 user2 group 38    May 17 15:12 master.tag
-rw-r----- 1 user2 group 439   May 17 15:13 thumbnail_128x128.png

From another post, Andrew Beckett mentions the clsbd daemon.
https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/25778/how-to-delete-lock-files-after-cell-is-closed

I have checked and the clsbd starts when the first user on the server starts the cadence tool (in our case 'vmac &').
On my current server, the daemon shows in the process list as owned by User3.
I logged into a different server and after starting vmac, the clsbd was running and owned by User1 (myself).

I tried using clsAdminTool to remove locks through hierarchy but, as expected, the admin tool does not see any locks.

I am finding a lot of info on how to remove locks, but not so much about this circumstance where the file is locked without any lock files present.

? Q1 - Any idea on why this scenario happened, or could have happened (lib mgr shows check out but no lock files exist in layout directory).?

? Q2 - Where else does the library manager / status browser get the check out status information other than the cdslck files that are supposed to be in the layout directory.?

? Q3 - Is there a concept of "hidden locks" in Cadence tools?

Thank You,

Michael G.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Michael,

    This is not locked as far as Virtuoso is concerned - which merely uses locks (these .clslck files) to prevent multiple edits to the same UNIX files if two sessions/users are working in the same workspace. This cellView is not locked, which is why clsAdminTool doesn't help you and why there are no .cdslck files. clsbd is also irrelevant because that's used to determine whether the process indicated as locking a file in a cdslck file is still running - since there's no lock file, there's nothing to check.

    It is probably locked as far as DesignSync is concerned - that's done when one  user checks out the cellView for edit - whilst that happens, another user in another workspace can't edit it because then you'd have to resolve the two different editable versions when they are checked in. 

    The checkout status is determined by asking DesignSync for the checkout status of each cellView - it's DesignSync that is returning that. I think the Library Manager Right Mouse->Show File Status over the cellView would tell you who has it checked out - that user would then need to check it in or cancel their checkout.

    There's probably a way in DesignSync to forcibly cancel the checkout, but you'd probably be better off asking Dassault (the providers of DesignSync) that.

    Andrew. 

    • Cancel
    • Vote Up +1 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