itk not found problem with quantum-espresso 7 on centos 7

Issues related to applications and software problems
Post Reply
paulkeio
Posts: 2
Joined: 2022/03/28 01:47:58

itk not found problem with quantum-espresso 7 on centos 7

Post by paulkeio » 2022/03/28 02:01:22

Hi I am trying to install the program quantum espresso (quantum-espresso.org) 7.0 on centos 7.9 (Linux 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 23 16:47:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux) and having problems with itk not being found. While most of the package installs successfully the included gui is failing due ostensibly due to a missing package as can be seen below. Note that itk *is installed* (Installed Packages
itk.x86_64 3.4-9.el7@epel). Running tclsh at the command line and typing "package require itk" returns "can't find package itk". I am not very familiar with tcl so how does one go about installing itk (or other packages for tcl). I have tried installing the tcl packages that seem relevant (see below). Is there another approach I should take to get the gui running?

Code: Select all

yum list installed|grep tcl
itcl.x86_64                             3.4-10.el7                     @epel    
itcl-devel.x86_64                       3.4-10.el7                     @epel    
targetcli.noarch                        2.1.53-1.el7_9                 @updates 
tcl.x86_64                              1:8.5.13-8.el7                 @anaconda
tcl-devel.x86_64                        1:8.5.13-8.el7                 @anaconda
tclx.x86_64                             8.4.0-22.el7                   @base    
tclx-devel.x86_64                       8.4.0-22.el7                   @base    

Code: Select all

./GUI/PWgui/pwgui

 ==================================================
  This is PWgui version: 7.0
 --------------------------------------------------


 PWgui: using the system default "tclsh" interpreter

 PWGUI       : /data/Software/qe-7.0/GUI/PWgui
 GUIB engine : /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6

can't find package Iwidgets
    while executing
"package require Iwidgets "
    (file "/data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl" line 15)
    invoked from within
"source /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl"
    ("package ifneeded Guib 0.6" script)
    invoked from within
"package require Guib 0.5"
    (file "/data/Software/qe-7.0/GUI/PWgui/init.tcl" line 5)
    invoked from within
"source [file join $env(PWGUI) init.tcl]"
    (file "/data/Software/qe-7.0/GUI/PWgui/pwgui.tcl" line 60)

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: itk not found problem with quantum-espresso 7 on centos 7

Post by tunk » 2022/03/28 12:33:28

Never used this, but there's an itk package in epel:
$ yum whatprovides itk
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
......
itk-3.4-9.el7.x86_64 : Object oriented extensions to Tk
Repo : epel

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: itk not found problem with quantum-espresso 7 on centos 7

Post by TrevorH » 2022/03/28 18:34:29

If you are building things then you most likely need the -devel package of the things that are required. Try yum install itk-devel then try again.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

paulkeio
Posts: 2
Joined: 2022/03/28 01:47:58

Re: itk not found problem with quantum-espresso 7 on centos 7

Post by paulkeio » 2022/04/13 09:19:31

Thank you for the suggestion of installing itk-devel, unfortunately I had already done so. The offending line in the source code (line 15 in init.tcl) is only "package require Iwidgets". Any ideas?

Code: Select all

dnf install itk-devel
Last metadata expiration check: 0:04:12 ago on Wed 13 Apr 2022 06:09:27 PM JST.
Package itk-devel-3.4-9.el7.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Code: Select all

==================================================
  This is PWgui version: 7.0
 --------------------------------------------------


 PWgui: using the system default "tclsh" interpreter

 PWGUI       : /data/Software/qe-7.0/GUI/PWgui
 GUIB engine : /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6

can't find package Iwidgets
    while executing
"package require Iwidgets "
    (file "/data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl" line 15)
    invoked from within
"source /data/Software/qe-7.0/GUI/PWgui/lib/Guib-0.6/init.tcl"
    ("package ifneeded Guib 0.6" script)
    invoked from within
"package require Guib 0.5"
    (file "/data/Software/qe-7.0/GUI/PWgui/init.tcl" line 5)
    invoked from within
"source [file join $env(PWGUI) init.tcl]"
    (file "/data/Software/qe-7.0/GUI/PWgui/pwgui.tcl" line 60)

Post Reply