+ Post New Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 23
  1. #1
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Sonnet Installation in CentOS 7

    Hi,

    I've installed Sonnet in centos 7, but when I want to invoke it (tried in terminals at home and sonnet installation directory), it showed "no command found"

    I've followed the instructions as best as I could from the linux installation manual by sonnet, but one thing confused me: i need to add some lines in the .profile file, but I'm not sure which .profile file should I modify (I have cadence IC617 successfully installed as well), i need to know which specific file I need to modify

    may I know how to solve this problem? Or should I manually create a new .profile file in the sonnet installation directory?

    PS: by typing echo $0, I know I'm using bash, as sonnet user environment setups are classified into two: csh user, and sh, ksh, and bash users as a whole

  2. #2
    Advanced Member level 5
    Points: 14,111, Level: 28

    Join Date
    Apr 2014
    Posts
    2,211
    Helped
    879 / 879
    Points
    14,111
    Level
    28

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by JLHW View Post
    Or should I manually create a new .profile file in the sonnet installation directory?
    No, this goes to the users startup file where your OS sets your environment.

    I'm not a CentOS user, but maybe this gives soem idea where to configure this stuff (what file to edit):
    https://serverfault.com/questions/10...path-in-centos
    Last edited by volker@muehlhaus; 5th June 2019 at 13:50.


    1 members found this post helpful.

  3. #3
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    based on the link you've gave me, I've determined that the file I need to modify is ~/.bash_profile in home.

    below is the code inside .bash_profile:

    Code:
    # .bash_profile
    
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    	. ~/.bashrc
    fi
    
    # User specific environment and startup programs
    
    PATH=$PATH:$HOME/bin
    
    export PATH
    
    SONNET_DIR=/opt/sonnetsoftware/sonnet_16.52/arch/linux86; export SONNET_DIR
    PATH=$PATH:/opt/sonnetsoftware/sonnet_16.52/arch/linux86/bin; export PATH
    DISPLAY=:0; export DISPLAY
    after that I logged out and log in again as root as usual.

    I tried to invoke sonnet again in desktop's terminal, but instead of "no command found", this occured:

    Code:
    [root@jlhw ~]# sonnet
    sonnet: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    [root@jlhw ~]#
    I troubleshooted by opening a terminal at /opt/sonnetsoftware/sonnet_16.52/arch/linux86/bin, then try to ldd xgeom, apparently there are some folders missing:

    Code:
    [root@jlhw bin]# ldd xgeom
    	linux-gate.so.1 =>  (0xf7748000)
    	libpthread.so.0 => /lib/libpthread.so.0 (0xf7714000)
    	libxvtxmpwr123.so => not found
    	libxvtxmba123.so => not found
    	libGLU.so.1 => /lib/libGLU.so.1 (0xf768a000)
    	libGL.so.1 => /lib/libGL.so.1 (0xf7629000)
    	libMrm.so.4 => not found
    	libXm.so.4 => not found
    	libXft.so.2 => not found
    	libfreetype.so.6 => not found
    	libfontconfig.so.1 => not found
    	libXrender.so.1 => /lib/libXrender.so.1 (0xf761d000)
    	libdl.so.2 => /lib/libdl.so.2 (0xf7618000)
    	libtls7812d_linux.so => not found
    	libstdc++.so.6 => /lib/libstdc++.so.6 (0xf752c000)
    	libm.so.6 => /lib/libm.so.6 (0xf74e9000)
    	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf74ce000)
    	libc.so.6 => /lib/libc.so.6 (0xf7303000)
    	libXt.so.6 => /lib/libXt.so.6 (0xf72a5000)
    	libX11.so.6 => /lib/libX11.so.6 (0xf7169000)
    	/lib/ld-linux.so.2 (0xf7749000)
    	libGLX.so.0 => /lib/libGLX.so.0 (0xf7146000)
    	libXext.so.6 => /lib/libXext.so.6 (0xf7133000)
    	libGLdispatch.so.0 => /lib/libGLdispatch.so.0 (0xf70d5000)
    	libSM.so.6 => /lib/libSM.so.6 (0xf70cc000)
    	libICE.so.6 => /lib/libICE.so.6 (0xf70b2000)
    	libxcb.so.1 => /lib/libxcb.so.1 (0xf7087000)
    	libuuid.so.1 => /lib/libuuid.so.1 (0xf7080000)
    	libXau.so.6 => /lib/libXau.so.6 (0xf707c000)
    [root@jlhw bin]#
    then I ran doctor at the sonnet installation directory, this is the full output of the terminal, there are several folders missing as well:

    Code:
    [root@jlhw sonnet_16.52]# bash doctor
    
    
         DOCTOR
         Version: 16.52
    
    This program prints out configuration information.
    
    DATE: Wed 5 Jun 21:01:55 +08 2019
    COMMAND: doctor
    
    
    SONNET_DIR="/opt/sonnetsoftware/sonnet_16.52/arch/linux86"
    
    pwd=/opt/sonnetsoftware/sonnet_16.52
    
    doctor: line 436: sscmd: command not found
    PATH=
    		/usr/local/bin
    		/usr/local/sbin
    		/usr/bin
    		/usr/sbin
    		/bin
    		/sbin
    		/root/bin
    		/opt/sonnetsoftware/sonnet_16.52/arch/linux86/bin     <<<<<<<<<<<<<
    
    LOGNAME=root
    SHELL=/bin/bash
    DISPLAY=:0
    doctor: command substitution: line 512: unexpected EOF while looking for matching `"'
    doctor: command substitution: line 513: syntax error: unexpected end of file
    doctor: command substitution: line 512: unexpected EOF while looking for matching `"'
    doctor: command substitution: line 513: syntax error: unexpected end of file
    passwd=
    umask=0022
    
    ls -ld . = drwxr-xr-x. 18 root root 4096 Jun  5 20:12 .
    
    doctor: line 532: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/unlockem: No such file or directory
    Node id = ""
    
    Hostname = jlhw
    
    Trying to create the file "test.70470" in your present directory...
    Successfully create a file in the present directory.
    ls -l = -rw-r--r--. 1 root root 5 Jun  5 21:01 test.70470
    
    ------------------> FILE: $SONNET_DIR/sonnet.key
    cat: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/sonnet.key: No such file or directory
    
    LM_LICENSE_FILE=
    ------------------> FILE: $SONNET_DIR/licenses/sonnet.lic
    cat: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/licenses/sonnet.lic: No such file or directory
    sed: -e expression #1, char 7: unknown option to `s'
    
    ------------------> FILE: $SONNET_DIR/licenses/license.opt
    cat: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/licenses/license.opt: No such file or directory
    
    ------------------> CHECKSUM: $SONNET_DIR/licenses/sonnet.lic
    doctor: line 611: sflexnet: command not found
    
    ------------------> FILE: $SONNET_DIR/sonnet.ver
    cat: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/sonnet.ver: No such file or directory
    
    ------------------> FILE: /opt/sonnetsoftware/sonnet_16.52/sonnet.ver
    Version: 16.52
    
    Installation Version: 16.52
    License Version: 16.0
    Registry Version: 16.52
    Build: 201511200904 - Fri Nov 20 09:04:43 EST 2015
    Opts: -O
    InstallDate: Wed  5 Jun 18:48:30 +08 2019
    OldSonnetRelease: None
    
    doctor: line 655: cd: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/arch: No such file or directory
    ------------------> FILE: arch/*/resource/sonnet.ver
    cat: */resource/sonnet.ver: No such file or directory
    
    Running testem ....
    doctor: line 677: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/bin/testem: No such file or directory
    Program locations:
    em:
    em: error while loading shared libraries: liblapack.so.3: cannot open shared object file: No such file or directory
    	=
    ./em: error while loading shared libraries: liblapack.so.3: cannot open shared object file: No such file or directory
    emgen:
    doctor: line 692: emgen: command not found
    	=
    doctor: line 695: ./emgen: No such file or directory
    empath:
    doctor: line 692: empath: command not found
    	=
    doctor: line 695: ./empath: No such file or directory
    xgeom:
    xgeom: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    	=
    ./xgeom: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    emvu:
    emvu: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    	=
    ./emvu: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    patvu:
    patvu: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    	=
    ./patvu: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    patgen:
    doctor: line 692: patgen: command not found
    	=
    doctor: line 695: ./patgen: No such file or directory
    gds:
    gds: error while loading shared libraries: libtls7812d_linux.so: cannot open shared object file: No such file or directory
    	=
    ./gds: error while loading shared libraries: libtls7812d_linux.so: cannot open shared object file: No such file or directory
    dxfgeo:
    dxfgeo: error while loading shared libraries: libtls7812d_linux.so: cannot open shared object file: No such file or directory
    	=
    ./dxfgeo: error while loading shared libraries: libtls7812d_linux.so: cannot open shared object file: No such file or directory
    testem:
    doctor: line 692: testem: command not found
    	=
    doctor: line 695: ./testem: No such file or directory
    
    Display:
    /opt/sonnetsoftware/sonnet_16.52/arch/linux86/bin/emvu: error while loading shared libraries: libxvtxmpwr123.so: cannot open shared object file: No such file or directory
    
    uname -a = Linux jlhw 3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14 21:24:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    
    df
    Filesystem              1K-blocks     Used Available Use% Mounted on
    /dev/mapper/centos-root  38815216 29632264   9182952  77% /
    devtmpfs                  1373432        0   1373432   0% /dev
    tmpfs                     1390376        0   1390376   0% /dev/shm
    tmpfs                     1390376    28128   1362248   3% /run
    tmpfs                     1390376        0   1390376   0% /sys/fs/cgroup
    /dev/sda1                 1038336   237592    800744  23% /boot
    /dev/mapper/centos-home  18950144   800172  18149972   5% /home
    tmpfs                      278076        4    278072   1% /run/user/1000
    tmpfs                      278076       40    278036   1% /run/user/0
    tmpfs                      278076        4    278072   1% /run/user/42
    
    Running checkmem
    /opt/sonnetsoftware/sonnet_16.52/arch/linux86/bin/checkmem: error while loading shared libraries: libtls7812d_linux.so: cannot open shared object file: No such file or directory
    
    ------------------> FILE: $HOME/.login
    cat: /root/.login: No such file or directory
    
    ------------------> FILE: $HOME/.csh
    cat: /root/.csh: No such file or directory
    
    ------------------> FILE: $HOME/.profile
    cat: /root/.profile: No such file or directory
    
    ------------------> FILE: $HOME/.Xdefaults
    cat: /root/.Xdefaults: No such file or directory
    
    ------------------> FILE: /opt/sonnetsoftware/sonnet_16.52/arch/linux86/resource/Xdefaults
    cat: resource/Xdefaults: No such file or directory
    
    Check sums:
    15550	7449	autodoc
    33488	7341	bbextract
    sum: bin64: Is a directory
    10496	15	brik
    05637	25	checkmem
    29571	7842	dxfgeo
    11634	11827	em
    17164	7930	emclient
    43314	7826	emcluster
    32680	11664	emgraph
    44162	8195	emserver
    28467	10077	emstatus
    46997	9972	emvu
    52868	8511	exmplbrwsr
    13333	8540	exmpledit
    21972	7970	gds
    12919	2048	nedit
    40828	9722	patvu
    00625	2606	runwin
    30149	7755	soncmd
    48422	31	soncmpscr
    37871	1768	sondiag
    51422	10097	sonmatl
    28862	10059	sonnet
    37991	8427	sonnetcluster
    49302	10454	sonntads
    53207	10619	sonntcds
    52276	1580	sonreg
    52347	8757	sonstackviewer
    09249	7923	ssdiff
    36767	111	sunzip
    04891	65	szip
    55579	22	testsocket
    31289	7421	viamerge
    19934	15322	xgeom
    
    What programs:
    doctor: line 855: what: command not found
    	em:
    doctor: line 855: what: command not found
    	emgen:
    doctor: line 855: what: command not found
    	empath:
    doctor: line 855: what: command not found
    	xgeom:
    doctor: line 855: what: command not found
    	emvu:
    doctor: line 855: what: command not found
    	patvu:
    doctor: line 855: what: command not found
    	patgen:
    doctor: line 855: what: command not found
    	gds:
    doctor: line 855: what: command not found
    	dxfgeo:
    doctor: line 855: what: command not found
    	testem:
    
    What unlockem:
    doctor: line 871: what: command not found
    
    ls -al:
    total 12
    drwxr-xr-x. 12 root root  147 Nov 21  2015 .
    drwxr-xr-x.  3 root root   21 Jun  5 18:48 ..
    drwxr-xr-x.  3 root root 4096 Nov 21  2015 bin
    drwxr-xr-x.  2 root root   46 Nov 21  2015 data
    drwxr-xr-x.  2 root root  212 Jun  5 18:48 flexnet
    drwxr-xr-x.  2 root root  212 Jun  5 18:48 flexnet64
    drwxr-xr-x.  2 root root 4096 Nov 21  2015 installusbkey
    drwxr-xr-x.  2 root root 4096 Jun  5 18:48 lib
    drwxr-xr-x.  2 root root  172 Jun  5 18:48 lib64
    drwxr-xr-x.  4 root root   70 Nov 21  2015 syslib
    drwxr-xr-x.  2 root root   72 Jun  5 18:48 syslib64
    drwxr-xr-x.  2 root root  217 Nov 21  2015 uid
    
    
    ==================== END DOCTOR =====================
    [root@jlhw sonnet_16.52]#
    all of these errors have been persisted even before I posted here.



    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    They are not folders..They are simply missing 32bits libraries ( probably in regard of OpenGL ).
    Install them which are missing..
    Also, there might be some owner problems of the files and/or Sonnet Installation package might be corrupted or missing.
    I'm using Sonnet 16.56 on CenOS 7.6 without any problem.


    1 members found this post helpful.

  5. #5
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by BigBoss View Post
    They are not folders..They are simply missing 32bits libraries ( probably in regard of OpenGL ).
    Install them which are missing..
    I'm new to linux, may I know how to download and install the respective libraries?

    Quote Originally Posted by BigBoss View Post
    Also, there might be some owner problems of the files and/or Sonnet Installation package might be corrupted or missing.
    may I know which error(s) indicate that?



  6. #6
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by JLHW View Post
    I'm new to linux, may I know how to download and install the respective libraries?
    may I know which error(s) indicate that?
    In order to install onto OS, you should use "yum" instruction.
    Code:
    yum -install <package or library name>
    ( some files can be installed different repositories , see linux help how to install )
    Some packages are inter-dependable so while one is installed, others automatically are installed.
    Install until ldd xgeom does not give error.
    Check the owner,group and user permission of the associated files.
    Change the file permission like me..
    Code:
    chown -R root <sonnet installation directory>
    Code:
    chmod -750 R <sonnet installation directory>
    Code:
    chgrp -R <group_name>
    ( you must be belonged to group so you can execute the programs..)



  7. #7
    Advanced Member level 5
    Points: 14,111, Level: 28

    Join Date
    Apr 2014
    Posts
    2,211
    Helped
    879 / 879
    Points
    14,111
    Level
    28

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by BigBoss View Post
    Also, there might be some owner problems of the files and/or Sonnet Installation package might be corrupted or missing.
    Indeed some output looks strange ... I wonder if this is a legal copy or some download of a "special" version.
    For a regular version with valid support contract, Sonnet support can help to resolve library dependency issues.



  8. #8
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by volker@muehlhaus View Post
    Indeed some output looks strange ... I wonder if this is a legal copy or some download of a "special" version.
    For a regular version with valid support contract, Sonnet support can help to resolve library dependency issues.
    I believe a special(!) version but some other problems are very obviously coming from missing libraries or permission corruptions..



  9. #9
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    thanks for the tip, however, how can I pinpoint each library to install using yum?

    for example: if I tried yum install libxvtxmpwr123.so, the terminal returned with "No package libxvtxmpwr123.so available."

    what specific lib name should I type in order to yum install all missing libraries, or is there a way to search the libraries online and download it using yum?

    Quote Originally Posted by BigBoss View Post
    chgrp -R <group_name>[/CODE] ( you must be belonged to group so you can execute the programs..)
    May I know is the group name also the sonnet installation directory? I'm the only user of this machine and have root access, so will it affect the permission corruption as well?



  10. #10
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by JLHW View Post
    thanks for the tip, however, how can I pinpoint each library to install using yum?

    for example: if I tried yum install libxvtxmpwr123.so, the terminal returned with "No package libxvtxmpwr123.so available."

    what specific lib name should I type in order to yum install all missing libraries, or is there a way to search the libraries online and download it using yum?



    May I know is the group name also the sonnet installation directory? I'm the only user of this machine and have root access, so will it affect the permission corruption as well?
    If the library is not available there are 2 options.
    -library has been deployed in a different repository other than CentOS official one
    -The library comes with a package such as LibGL.Have you ever installed OpenGL package ?? It's compulsory for Sonnet..

    User can be superuser ( root) but it's not recommended.Assign yourself as an ordinary user and create a group-for instance "cadusers"- and rely yourself into this new-group.
    And, read Linux forums and help pages in internet.. You got a long way to walk..



    •   AltAdvertisement

        
       

  11. #11
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    Quote Originally Posted by BigBoss View Post
    library has been deployed in a different repository other than CentOS official one
    does it mean that the library has already installed? if so, why did sonnet couldn't find it?

    Quote Originally Posted by BigBoss View Post
    -The library comes with a package such as LibGL.Have you ever installed OpenGL package ?? It's compulsory for Sonnet..
    it seems like it's installed:

    Code:
    [root@jlhw ~]# glxinfo | grep "OpenGL version"
    OpenGL version string: 2.1 Mesa 18.0.5
    [root@jlhw ~]#
    Code:
    [root@jlhw ~]# rpm -qa |grep mesa
    mesa-filesystem-18.0.5-4.el7_6.x86_64
    mesa-libEGL-18.0.5-4.el7_6.x86_64
    mesa-libGLU-9.0.0-4.el7.i686
    mesa-libGL-18.0.5-4.el7_6.x86_64
    mesa-libxatracker-18.0.5-4.el7_6.x86_64
    mesa-libgbm-18.0.5-4.el7_6.x86_64
    mesa-libGL-18.0.5-4.el7_6.i686
    mesa-libGL-devel-18.0.5-4.el7_6.x86_64
    mesa-dri-drivers-18.0.5-4.el7_6.x86_64
    mesa-libGLU-9.0.0-4.el7.x86_64
    mesa-libglapi-18.0.5-4.el7_6.x86_64
    mesa-libglapi-18.0.5-4.el7_6.i686
    [root@jlhw ~]#
    then I searched whether there are duplicates:

    Code:
    [root@jlhw ~]# yum search --showduplicates mesa-libGL
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * base: centos.ipserverone.com
     * extras: centos.ipserverone.com
     * updates: centos.ipserverone.com
    =========================== N/S matched: mesa-libGL ============================
    mesa-libGLU-devel-9.0.0-4.el7.i686 : Development files for mesa-libGLU
    mesa-libGLU-devel-9.0.0-4.el7.x86_64 : Development files for mesa-libGLU
    mesa-libGL-18.0.5-3.el7.i686 : Mesa libGL runtime libraries and DRI drivers
    mesa-libGL-18.0.5-3.el7.x86_64 : Mesa libGL runtime libraries and DRI drivers
    mesa-libGL-18.0.5-4.el7_6.i686 : Mesa libGL runtime libraries and DRI drivers
    mesa-libGL-18.0.5-4.el7_6.i686 : Mesa libGL runtime libraries and DRI drivers
    mesa-libGL-18.0.5-4.el7_6.x86_64 : Mesa libGL runtime libraries and DRI drivers
    mesa-libGL-18.0.5-4.el7_6.x86_64 : Mesa libGL runtime libraries and DRI drivers
    mesa-libGL-devel-18.0.5-3.el7.i686 : Mesa libGL development package
    mesa-libGL-devel-18.0.5-3.el7.x86_64 : Mesa libGL development package
    mesa-libGL-devel-18.0.5-4.el7_6.i686 : Mesa libGL development package
    mesa-libGL-devel-18.0.5-4.el7_6.x86_64 : Mesa libGL development package
    mesa-libGL-devel-18.0.5-4.el7_6.x86_64 : Mesa libGL development package
    mesa-libGLES-18.0.5-3.el7.i686 : Mesa libGLES runtime libraries
    mesa-libGLES-18.0.5-3.el7.x86_64 : Mesa libGLES runtime libraries
    mesa-libGLES-18.0.5-4.el7_6.i686 : Mesa libGLES runtime libraries
    mesa-libGLES-18.0.5-4.el7_6.x86_64 : Mesa libGLES runtime libraries
    mesa-libGLES-devel-18.0.5-3.el7.i686 : Mesa libGLES development package
    mesa-libGLES-devel-18.0.5-3.el7.x86_64 : Mesa libGLES development package
    mesa-libGLES-devel-18.0.5-4.el7_6.i686 : Mesa libGLES development package
    mesa-libGLES-devel-18.0.5-4.el7_6.x86_64 : Mesa libGLES development package
    mesa-libGLU-9.0.0-4.el7.i686 : Mesa libGLU library
    mesa-libGLU-9.0.0-4.el7.i686 : Mesa libGLU library
    mesa-libGLU-9.0.0-4.el7.x86_64 : Mesa libGLU library
    mesa-libGLU-9.0.0-4.el7.x86_64 : Mesa libGLU library
    mesa-libGLw-8.0.0-4.el7.i686 : Xt / Motif OpenGL widgets
    mesa-libGLw-8.0.0-4.el7.x86_64 : Xt / Motif OpenGL widgets
    mesa-libGLw-devel-8.0.0-4.el7.i686 : Mesa libGLw development package
    mesa-libGLw-devel-8.0.0-4.el7.x86_64 : Mesa libGLw development package
    mesa-libglapi-18.0.5-3.el7.i686 : Mesa shared glapi
    mesa-libglapi-18.0.5-3.el7.x86_64 : Mesa shared glapi
    mesa-libglapi-18.0.5-4.el7_6.i686 : Mesa shared glapi
    mesa-libglapi-18.0.5-4.el7_6.i686 : Mesa shared glapi
    mesa-libglapi-18.0.5-4.el7_6.x86_64 : Mesa shared glapi
    mesa-libglapi-18.0.5-4.el7_6.x86_64 : Mesa shared glapi
    
      Name and summary matches only, use "search all" for everything.
    [root@jlhw ~]#

    Quote Originally Posted by BigBoss View Post
    User can be superuser (root) but it's not recommended.Assign yourself as an ordinary user and create a group-for instance "cadusers"- and rely yourself into this new-group.
    i logged in as root right now just to install sonnet (and cadence previously), while I'm using them, i use my regular account

    plus, sonnet's installation manual wrote this:

    The software does not need to be loaded in using root. However, we
    suggest that you use root so that users are prevented from changing
    or removing the Sonnet modules. The software may be loaded under
    any account.
    hence my root usage right now

    so does creating a group still needed? what is the benefit of creating a group in this context?

    PS: I couldn't use sudo, and /usr/lib/sudo/sudoers.so is not found

    Code:
    [JLHW@jlhw ~]$ sudo
    sudo: /etc/sudo.conf is world writable
    sudo: /etc/sudo.conf is world writable
    sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
    sudo: /usr/libexec/sudo/sudoers.so must be only be writable by owner
    sudo: fatal error, unable to load plugins
    [JLHW@jlhw ~]$ su
    Password: 
    [root@jlhw JLHW]# sudo
    sudo: /etc/sudo.conf is world writable
    sudo: /etc/sudo.conf is world writable
    sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
    sudo: /usr/libexec/sudo/sudoers.so must be only be writable by owner
    sudo: fatal error, unable to load plugins
    [root@jlhw JLHW]# /usr/lib/sudo/sudoers.so
    bash: /usr/lib/sudo/sudoers.so: No such file or directory
    [root@jlhw JLHW]#



  12. #12
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    ok i've managed to install some libraries based on the list in http://www.sonnetsoftware.com/produc...ts-redhat.html, some libraries are not available and i could only ignore them, judging that i'm using centos 7 which is not officially supported by sonnet.

    then i reran ldd xgeom at its own directory, and reinstall all missing libraries and ignore those that are not available. now I have 3 libraries left not installed.

    now a new problem arise:

    while I can invoke sonnet at desktop as root user, i couldn't invoke it when using my regular user, does this related to the chown command that you told me to type previously, if so, how to solve this problem?



  13. #13
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    All executables should be reached/able to execute by ordinary users.You should arrange them as I typed here ..



  14. #14
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    I've typed the command with order except the chgrp because i need to create it first. As a reminder, I'm now logged back into root.

    this is what I've done in desktop's terminal:

    Code:
    [root@jlhw ~]# groupadd eda
    [root@jlhw ~]# grep eda /etc/group
    eda:x:1001:
    [root@jlhw ~]# usermod -aG eda JLHW
    [root@jlhw ~]# grep eda /etc/group
    eda:x:1001:JLHW
    [root@jlhw ~]# chgrp -R eda
    chgrp: missing operand after ‘eda’
    Try 'chgrp --help' for more information.
    [root@jlhw ~]#
    should I add the sonnet installation directory after the group name, as shown below?

    Code:
    chgrp -R eda /opt/sonnetsoftware/sonnet_16.52



  15. #15
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    OK, I've proceeded with the chgrp command as shown before and added sonnet installation directory after the original code. I've found out that I still cannot invoke sonnet in regular user with the way the user manual suggested (just type sonnet), I need to specify its absolute path in order to be able to invoke sonnet while logging in as a regular user.

    there are more problems:

    1. my 3D view displayed a black screen whenever I click on the "view 3D" button.

    2. by far the biggest problem: I couldn't integrate sonnet into cadence virtuoso.

    Cadence CIW displayed:

    ***The Sonnet directory is not set and the Sonnet Cadence Virtuoso Interface is unable to be installed.***


    a. I tried to follow the linux installation guide, and I've determined that i'm using bash by typing the command: echo $0. But when it told me to copy the following code into .profile, i don't know which .profile I should modify, and the only .profile file is in /opt/cadence/IC617/tools.lnx86/dfII/samples/tutorials/composer/dotfiles/dec, seems like a sample file for me. nevertheless I copied and pasted the file to /opt/cadence/IC617 , pasted the following code in it and saved it.

    I've replaced <Sonnet Directory> into /opt/sonnetsoftware/sonnet_16.52.

    Code:
    SONNET_DIR=<Sonnet Directory>; export SONNET_DIR
    PATH=$PATH:$SONNET_DIR/bin; export PATH
    DISPLAY=:0; export DISPLAY
    b. besides, I've copied the code in sonnet_cdsinit as shown:

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;// To have the Sonnet Cadence Virtuoso Interface and the Symbol Model Utility 
    ;// automatically load into the Cadence Virtuoso Environment, please copy 
    ;// and paste the code below into your .cdsinit file located in the following directory 
    ;//
    ;//        <cadence-install-directory>/tools/dfII/local 
    ;//
    ;// where <cadence-install-directory> is the directory in which Cadence was installed.
    ;// The purpose of this code is to check if the environment variable SONNET_DIR exists and is set. 
    ;// If it is set, then the interface and the utilities will be loaded.  If it is not set, a message 
    ;// will appear in Cadence's CIW informing the user that Sonnet is not set up properly. For 
    ;// instructions on setting SONNET_DIR, see the "User Environment Setup" directions in Sonnet's 
    ;// Linux Installation Manual.
    ;//
    ;// Also shown below is a way to change the defaults in the Sonnet Cadence Virtuoso Interface by
    ;// changing the values in the SKILL table called gSonnetEnvValuesTable.  All of the variable names
    ;// can be found in the sonnet.cdsenv file located in the directory 
    ;// <sonnet-install-directory>/sonnet_virtuoso_dk/cdsenv 
    ;// where <sonnet-install-directory> is the directory in which Sonnet was installed.  The file 
    ;// sonnet_cdsenv_readme.txt can also be found in this directory and gives a short description for
    ;// each of the variables that can be set
    
    ;//############################################################################################# 
    ;//# 
    ;//# SONNET CADENCE VIRTUOSO INTERFACE SETUP 
    ;//# 
    ;//############################################################################################# 
    aSonnetDir = getShellEnvVar("SONNET_DIR")
    
    if(aSonnetDir then 
      if(isDir(aSonnetDir) then 
        ;// Loads the Sonnet Cadence Virtuoso Interface 
        loadi(simplifyFilename(strcat(aSonnetDir "/sonnet_virtuoso_dk/install/sonnet_virtuoso_install.il"))) 
        
        ;// Loads the Sonnet Symbol Model Utility 
        loadi(simplifyFilename(strcat(aSonnetDir "/sonnet_virtuoso_dk/skillutil/sonnetsymbolutility.il"))) 
    
        ;// Sets the env value of Q Factor Accuracy to true 
        ;//gSonnetEnvValuesTable["aSonnetDefaultOptionQFactor"]~>aValue=t 
        ;// Sets the default env value of Q Factor Accuracy to true 
        ;//gSonnetEnvValuesTable["aSonnetDefaultOptionQFactor"]~>aDefValue=t 
      else 
        printf("***The value for SONNET_DIR is not a directory.***\n") 
      );// if 
    else 
      printf("***The Sonnet directory is not set and the Sonnet Cadence Virtuoso Interface is unable to be installed.***\n") 
    );// if
    
    
    ;// Once you start Cadence and the interface is automatically installed, to access the Sonnet
    ;// Cadence Virtuoso Interface, open the layout view of a cell and click on Launch -> Sonnet 
    :// (Tools -> Sonnet for IC5).  This will invoke the Sonnet application and a new "Sonnet" menu
    ;// appears. Select Sonnet -> Create SonnetEM View to create the view. Once a SonnetEM view is 
    ;// created, the interface application will open.  
    ;// 
    ;// If you are using Sonnet Suites, please refer to the Cadence Virtuoso Interface manual on 
    ;// the Translator's page of the manual interface for more information on the Sonnet Cadence 
    ;// Virtuoso Interface.
    ;// 
    ;// If you are using Blink, please refer to the Blink User's Guide for more information on the 
    ;// Cadence Virtuoso Interface. 
    ;// 
    ;// For either product, you may access the manuals by selecting Sonnet -> Manuals from the menu
    ;// of the CIW window or from the menu in the SonnetEM cell view layout window.
    there are multiple .cdsinit files, so i just copied the code above into every single .cdsinit i could find, and since I don't have <cadence-install-directory>/tools/dfII/local, I manually created the folder and copied one modified .cdsinit into it.

    And the problem persists. Did I actually set the user environment correctly?



  16. #16
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    .cdsinit may be found in 3 directory and each one has a priority ..

    ./.cdsinit : Project Directory ( most prioritized )
    ~/.cdsinit : User Home Directory
    <cds_inst_dir>/tools/dfII/local/.cdsinit : Site Initialization file..

    If you copy+paste the Sonnet Initialization script into ~/.cdsinit , Cadence Virtuoso will load in every start-up as per user.
    Read a bit how install Cadence Design Environment Installation Guide..

    - - - Updated - - -

    For 3D Problem, there is a workaround in Sonnet Knowledge Base

    Edit the sonnet.ini file by selecting Admin => Diagnostics => Edit Sonnet.ini File from the main menu of the Sonnet task bar.
    Add the path to the NVIDIA 367.57 OpenGL driver to the [Sonnet] section of the sonnet.ini file::
    Prepend_LD_LIBRARY_PATH=/usr/lib/tls/nvidia-367/



  17. #17
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    The CIW problem is still unsolved.




    Quote Originally Posted by BigBoss View Post
    .cdsinit may be found in 3 directory and each one has a priority ..

    ./.cdsinit : Project Directory ( most prioritized )
    ~/.cdsinit : User Home Directory
    <cds_inst_dir>/tools/dfII/local/.cdsinit : Site Initialization file..

    If you copy+paste the Sonnet Initialization script into ~/.cdsinit , Cadence Virtuoso will load in every start-up as per user.
    Read a bit how install Cadence Design Environment Installation Guide..
    there's one more .cdsinit I've haven't mentioned, in my PDK's folder. it's in /home/JLHW/EDA/PDK/<the PDK folder>.

    /home/JLHW/EDA will be my project directory for virtuoso, but so far I haven't create a library for anything.

    I've also copied the sonnet initialisation script into it, does it count?


    Quote Originally Posted by BigBoss View Post
    For 3D Problem, there is a workaround in Sonnet Knowledge Base

    just to check with you, my sonnet.ini file is at /opt/sonnetsoftware/sonnet_16.52/data.

    here is part in the file I've edited in bold, and I edited this using geditwhile logging in as root:

    Code:
    SpiceFilesIncludeComments=on      ; Enables the inclusion of detailed comment
                                      ; lines in spice output file
    
    IncludeLibraries=missing          ; For linux, determine if delivered system dll should be used
    				  ;  missing - only add if found any missing dlls
    				  ;  never - never add in these dlls
    				  ;  always - always add in these dlls
    
    IncludeLibOpenGL=always              ; Set to on to include sonnet supplied opengl libraries
                                      ; if these libraries do not exist already on this cmoputer
    IncludeLibXFT=on                  ; Set to on to include sonnet supplied XFT libraries
                                      ; if these libraries do not exist already on this cmoputer
    IncludeLibDRM=on                  ; Set to on to include sonnet supplied DRM libraries
                                      ; if these libraries do not exist already on this cmoputer
    IncludeLibGCC=on                  ; Set to on to include sonnet supplied GCC libraries
                                      ; if these libraries do not exist already on this cmoputer
    
    Prepend_LD_LIBRARY_PATH=/usr/lib/tls/nvidia-367/   ; Prepend current LD_LIBRARY_PATH setting with path specified here
                                      ; just prior to launch of each Sonnet executable. This control
                                      ; is useful when Sonnet programs are launched from framework
                                      ; tools whose LD_LIBRARY_PATH causes issues with Sonnet such as ADS2009 U1.
    
    OpenGLViewport=1		  ; 1 is default value,  0 will revert to old viewport and 
    				  ; is equivalent to being on NX,  2 will use new viewport even on NX
    and the 3D view still displays black screen.



  18. #18
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    Prepend_LD_LIBRARY_PATH=/usr/lib/tls/nvidia-367/
    is just an example, you have to change LD_LIBRARY_PATH regarding to your system..Look at where OpenGL or Display Driver Libraries are installed..

    If I were you, I would copy and paste Sonnet script into ~/.cdsinit ( $HOME Directory) because when you attempt to use Cadence Virtuoso as a regular user, Sonnet will be loaded independently from project directory or PDK.


    1 members found this post helpful.

  19. #19
    Member level 1
    Points: 327, Level: 3

    Join Date
    Jan 2019
    Posts
    39
    Helped
    0 / 0
    Points
    327
    Level
    3

    Re: Sonnet Installation in CentOS 7

    For the .cdsinit, as I've mentioned that I've copied the sonnet code into all .cdsinit files that I could find including that in ~./, and virtuoso never autostart during every startup, that should be okay.

    now for the sonnet.ini file:

    I noticed something in the terminal when I just clicking around the black-screen 3D view:

    Code:
    [root@jlhw ~]# sonnet
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    [root@jlhw ~]#
    so I modified part of the sonnet.ini as such:

    Code:
    Prepend_LD_LIBRARY_PATH=/usr/lib
    and in the second time (after I found the location of swrast_dri.so):

    Code:
    Prepend_LD_LIBRARY_PATH=/usr/lib64/dri
    but still, the 3D view remained black.

    FYI, this is a VM, will it affect the directory of the display driver lib?

    - - - Updated - - -

    Disregard my previous reply, I've already solved the 3D view issue by myself. Thanks for the assistance.

    What I did:

    1. in sonnet.ini file, I've replaced the following line into:

    Code:
    Prepend_LD_LIBRARY_PATH=/usr/lib
    2. then I opened a terminal at desktop and installed the following libraries:

    Code:
    yum install mesa-dri-drivers.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 mesa-libGLU.i686
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Now for the main problem:

    CIW still displayed: "The Sonnet directory is not set and the Sonnet Cadence Virtuoso Interface is unable to be installed."


    I tried to follow the linux installation guide, and I've determined that i'm using bash by typing the command: echo $0. But when it told me to copy the following code into .profile, i don't know which .profile I should modify, and the only .profile file is in /opt/cadence/IC617/tools.lnx86/dfII/samples/tutorials/composer/dotfiles/dec, seems like a sample file for me.

    Nevertheless I copied and pasted the file to /opt/cadence/IC617 , pasted the following code in it and saved it.

    Code:
    SONNET_DIR=/opt/sonnetsoftware/sonnet_16.52; export SONNET_DIR
    PATH=$PATH:$SONNET_DIR/bin; export PATH
    DISPLAY=:0; export DISPLAY
    May I know did I actually set the user environment correctly?



    •   AltAdvertisement

        
       

  20. #20
    Advanced Member level 5
    Points: 30,406, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,458
    Helped
    1340 / 1340
    Points
    30,406
    Level
    42

    Re: Sonnet Installation in CentOS 7

    You should modify .profile in your $HOME directory.( or .cshrc depends on your config.)



--[[ ]]--