Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2328  / 2 Years ago, sat, july 23, 2022, 1:16:39

I just downloaded the linux version of this software (http://inano.au.dk/about/research-centers/nmr/software/simpson/) after unpacking the file I run sudo bash install.sh and all the dependencies were installed on my ubuntu 18.04 however when I try to run the test file using simpson test.in it gives me the following errors



SIMPSON is unable to initialize Tcl interpreter. Is init.tcl on your path?
Error: Can't find a usable init.tcl in the following directories:
/usr/share/simpson/tcl8.6 /usr/share/tcltk/tcl8.6 ./lib/tcl8.6 ./lib/tcl8.6 ./library ./library ./tcl8.6.5/library ./tcl8.6.5/library

/usr/share/tcltk/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.5, need exactly 8.6.8
version conflict for package "Tcl": have 8.6.5, need exactly 8.6.8
while executing
"package require -exact Tcl 8.6.8"
(file "/usr/share/tcltk/tcl8.6/init.tcl" line 19)
invoked from within
"source /usr/share/tcltk/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"


Can anyone help me with this? I guess it should be simple but I'm a noob at this stuff


More From » 18.04

 Answers
1

I think the issue is that the simpson installer is bundled with its own (out of date) versions of libtcl8.6.so (among other shared libraries) which conflicts with the "system" version.



What I'd suggest is installing ALL of the relevant packages (FFTW, BLAS etc.) from the Ubuntu repos and then commenting out the TCL_LIBRARY and LD_LIBRARY_PATH exports in the <bindir>/simpson wrapper script, where <bindir> is the location you supplied to the installer script - so that the bundled libs are ignored altogether.



So for example if <bindir> is ~/bin, then ~/bin/simpson should look something like



#!/bin/sh
#export TCL_LIBRARY=/home/steeldriver/share/tcl8.6
#export LD_LIBRARY_PATH=/home/steeldriver/share
/home/steeldriver/share/simpson4.2.1 "$@"

[#6130] Sunday, July 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
measord

Total Points: 259
Total Questions: 131
Total Answers: 106

Location: Venezuela
Member since Sun, Oct 2, 2022
2 Years ago
;