PRECIS support forum

It is currently Thu Mar 28, 2024 10:51 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Error in startup script
PostPosted: Thu May 19, 2016 5:02 am 
Offline

Joined: Thu Sep 17, 2015 8:15 am
Posts: 1
Hello everyone!

I am new to this forum. I have installed precis model version 2.0 on our cluster computer but when I try to run I get the following error:
" Application initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: can't find package Tk 8.0
while executing
"package require Tk 8.0"
(file "combobox.tcl" line 30)
invoked from within
"source combobox.tcl"
(file "main.tcl" line 20)"

Please help to fix this problem so that I start running the expected experiments.

Peter Nicky Mlonganile,
Tanzania Meteorological Agency (TMA)


Top
 Profile  
 
PostPosted: Thu May 19, 2016 1:44 pm 
Offline

Joined: Thu Feb 06, 2014 12:29 pm
Posts: 118
Hi Peter,
It sounds to me like you are doing a remote installation over ssh.
When you connect via ssh, do you use -X or -Y ? This tells the destination PC to export the display back to the system you are working from -- so that any graphical interface would appear on the PC you are working from

So if I did something like this

ssh -l precis 151.170.240.10

(where precis is my user name)
xclock (to open a graphical clock)

I would get a display error.

If I used -Y it would work
ssh -Y -l precis 151.170.240.10


Installing on a cluster is not straightforward (see the Sticky Post at the top of the forum). We really need to be able to connect to your system remotely to sort this out, because PRECIS in default mode won't work on clusters -- adjustments to some configuration files have to be made. PRECIS would run on the head node of the cluster (because the head node will just have a regular linux installation).

Is it possible for us to connect remotely?

Thanks
David


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 50 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group