• 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. ocean -nograph error

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 126
  • Views 3397
  • 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

ocean -nograph error

nigam214
nigam214 over 16 years ago

I am very new to ocean plateform and cadence tool. In my simulation, konsole screen display takes most of the time and I want to disable it. I found that "ocean -nograph" does the same. I am trying to use -nograph option but its not work. I don't get any log or output file. Could you please help me to resolve the issue. Screen log and ocean script is given below.

#####################
### ocean log - 1 ###
#####################

$ ocean -log log/test.log -nograph -replay test.ocn
*WARNING* Could not locate rgb.txt file in /usr/lib/X11
*WARNING* This file is required for color operations with the non-graphical
*WARNING* X server and many WARNING messages may follow this one!
/u/55/55/cadence/5.1.41/lnx86/IC5.1.41/tools.lnx86/dfII/bin/Xndx: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
*WARNING* Unable to open -nograph X Window Display "finkum:500.1"
*WARNING* (using "exec /u/55/55/cadence/5.1.41/lnx86/IC5.1.41/tools.lnx86/dfII/bin/Xndx :0&").
*WARNING* Xndx output may be found in file /tmp/Xndx<pid>.log
$
#####################
### ocean log - 2 ###
#####################

$ ocean -nograph test.ocn log/test.log
*WARNING* Could not locate rgb.txt file in /usr/lib/X11
*WARNING* This file is required for color operations with the non-graphical
*WARNING* X server and many WARNING messages may follow this one!
/u/55/55/cadence/5.1.41/lnx86/IC5.1.41/tools.lnx86/dfII/bin/Xndx: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
*WARNING* Unable to open -nograph X Window Display "finkum:500.1"
*WARNING* (using "exec /u/55/55/cadence/5.1.41/lnx86/IC5.1.41/tools.lnx86/dfII/bin/Xndx :0&").
*WARNING* Xndx output may be found in file /tmp/Xndx<pid>.log
$
################
### test.ocn ###
################

; load("./test.ocn")
; ocean -log log/test.log -nograph -replay test.ocn

time_start = getCurrentTime()

of = outfile("./output/test")
sprintf(v_data "Start time of simulation is %s\n", time_start)
fprintf(of v_data)
println(v_data)

drain(of)
exit
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    This is covered in sourcelink solution 11494094. You need to install the RPM package gdbm on the machine. For example:

    > rpm -q -f /usr/lib/libgdbm.so.2
    gdbm-1.8.0-26.2.1

    The version number may vary, depending on your OS version.

    This package must be installed for "nograph" modes to work, as it is required by
    the
    Xndx "null" X server.
    Regards,
    Andrew. 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nigam214
    nigam214 over 16 years ago
    thankyou Andrew. I will try to install this RPM.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Ducatte
    Ducatte over 11 years ago

    Hi,

    Has the installation of that lib solved your problem? In my case I still have the same error: 

     *WARNING* Could not locate rgb.txt file in /usr/lib/X11
    *WARNING* This file is required for color operations with the non-graphical
    *WARNING* X server and many WARNING messages may follow this one!
    *WARNING* Unable to open -nograph X Window Display "node03.cluster.ic.unicamp.br:500.1"
    *WARNING* (using "exec /tools/cadence/IC5141/tools.lnx86/dfII/bin/Xndx :0&").
    *WARNING* Xndx output may be found in file /tmp/Xndx<pid>.log

     

    How does I solve it?

     

    Kind regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    The rgb.txt file missing shouldn't be enough to make it exit. More info on that part can be found in Solution 11593064 .

    Did you look at the /tmp/Xndx<pid>.log file? It may have given some more clues...

    Regards,

    Andrew.

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

    Hi Andrew,

     

    On the log file it shows the following error:

     

    Couldn't open RGB_DB '/usr/lib/X11/rgb'

    Binding TCP socket: Address already in use

    Cannot establish tcp listening socket: Address already in use

    Trying to connect an existing tcp listening socket...

     

    Any  idea?

    Just to make it clear, I want to run ocean in command line, so I'm calling the program as:

    >> ocean -nograph 

    Regards, 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

     It might be that something else is using the port - or that you have too many "-nograph" sessions running on the same machine. 

    You could try using:

    setenv CDS_XNDX_OFFSET 1  # or a number from 1 to 9

    or:

    export CDS_XNDX_OFFSET=1

    (the first is for csh, the second for bash/ksh).

    before running icfb -nograph. Hopefully that will help.

    Regards,

    Andrew.

    • 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