./hysplit4.tcl

Post any questions or comments regarding the LINUX version of HYSPLIT. This includes the model execution, GUIs, results, or graphics. Be sure to mention the version of LINUX you are using.
Post Reply
FumiHori
Posts: 2
Joined: November 9th, 2018, 1:23 am
Registered HYSPLIT User: Yes

./hysplit4.tcl

Post by FumiHori » November 9th, 2018, 1:34 am

I've finished to install Hysplit
But when I typed ./hysplit4.tcl working directory, I got an error message that says
wish: xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == (unsigned int)dpy->request' failed.
What can I do?

ariel.stein
Posts: 623
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes
Contact:

Re: ./hysplit4.tcl

Post by ariel.stein » November 9th, 2018, 4:20 pm

If you are in the working directory, you should create a soft link
ln -s ../guicode/hysplit4.tcl .
so when you type ./hysplit4.tcl the GUI will open.

FumiHori
Posts: 2
Joined: November 9th, 2018, 1:23 am
Registered HYSPLIT User: Yes

Re: ./hysplit4.tcl

Post by FumiHori » November 12th, 2018, 4:04 am

Thank you so much for your reply.
In the hysplit4.tcl, execute "wish" which linked Tk. But in my execution environment, execute wish which linked anaconda3.
I changed the sentence 'exec wish "$0" "$@" ' to exec tk full path/wish < "$0" "$@" '.
And HYSPLIT4 worked.

But I still got a warning message from HYSPLIT4 that says
"can't read "0": no such variable"
The hysplit4 script need what shell script ,bash, csh, tcsh, ...etc ?

ariel.stein
Posts: 623
Joined: November 7th, 2012, 3:14 pm
Registered HYSPLIT User: Yes
Contact:

Re: ./hysplit4.tcl

Post by ariel.stein » November 13th, 2018, 4:05 pm

The hysplit graphical user interface uses tcl.

Post Reply