[esp-r] Re: emenu error when using viewfactor module
Andrew Cowie
cn06arc at leeds.ac.uk
Wed Apr 11 14:30:13 BST 2012
Problem solved; thanks Jon for all your help.
I simply installed the X11 version of the release i already had, and it works fine.
I guess there's a lesson here; why install the text-only version when u can run graphic versions in text mode anyway?
________________________________________
From: Jon Hand [jon at esru.strath.ac.uk]
Sent: 09 April 2012 17:37
To: Andrew Cowie; esp-r at lists.strath.ac.uk
Subject: RE: emenu error when using viewfactor module
Look for answers below ::
________________________________________
It has been some time since i downloaded and installed ESP-r, so i cannot remember the specific version/revision numbers. All i can tell you is that a text file "Version" in the source code directory says "ESP-r release 11.10", and both prj and espvwf report their versions as 11.10. Is there a way i could find this out in more detail?
:: strong suggestion that you upgrade to the current version of the development_branch.
The CentOS is a 64-bit version, but i do not know how it was compiled; it is a university run system and i had no involvment in the OS installation. I imagine i could find this out with some digging though if its particularly important.
:: if the person who compiled this wants some information on downloading and compiling a newer version beyond what is
in the ESRU download page they can contact me.
I am working with a text-only version because i am automating ESP-r with shell scripts (it is used as the objective function evaluator in an optimization routine); i figured the graphics would only slow it down.
:: graphics are not necessarily slower - the X11 graphic version of ESP-r can take essentially the same keystrokes to drive it
as the pure text version takes.
The interface options are as follows upon crashing;
model: ss1.cfg (this is correct)
path: /export/mailgrp1_a/cn ...... (this is correct as far as i can tell)
zone: UNKNOWN
grid division: 10
patch division: 10
:: I am interested in why the zone: is UNKNOWN. I would expect it to show the name of the zone.
i can't imagine its important but in the interests of being thorough;
reporting >> summary
the rest of the interface is as it should be, the prompt line reads;
Viewfactors & MRT:?> emenu: error composing prompt
I am not sure if this is relevant but it says that espvwf was started with the following command;
"espvwf -mode -s 0 0 0 -file /export/mailgrp1_b/cn06arc/esru/esp-r/models/ss1/cfg/ss1.cfg -zone zone &"
The file path and the zone name are both correct (there is only 1 zone in the model, called "zone").
:: it might be an issue that the name of the zone is the same as a key command line directive. I would suggest
that you might change the name of the 'zone' to something slightly different.
Finally, it seems rather strange, but i am not given the oppertunity to select from the "Post calculation choices" [i.e. a) use new data b) revert (no viewfactors) c) continue].
These are printed before the MRT module actually starts, but it does not pause to let me select one.
(only when entering via prj; there are no post-calculation choices when entering via res)
:: a useful debug task is to take another model - e.g. one of the exemplar models and
ask for a viewfactor analysis on one of the zones in that model - observe if the process
works or does not work - and in the latter what the message are.
Regards, Jon Hand
________________________________________
From: Jon Hand [jon at esru.strath.ac.uk]
Sent: 06 April 2012 21:01
To: Andrew Cowie; esp-r at lists.strath.ac.uk
Subject: RE: emenu error when using viewfactor module
The normal way to work with the viewfactor application is from within the ESP-r
project manager - that will start up espvwf with not only the name of the
model cfg file but also focused on a particular zone.
You do not mention the specific version/revision number - this would be
helpful. Is the CentOS 5.8 a 32bit or 64bit version and what compiler
did you use to compile it? I have used ESP-r on CentOS,
in graphic mode and it was not particularly problematic. I have not
tried espvwf in pure-text mode recently.
Is there a reason that you are working with the text-only version? The graphic
version provides rather more feedback. 64bit GTK is not as robust as the X11
version.
And what was in the interface just before the crash?
Regards, Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] On Behalf Of Andrew Cowie [cn06arc at leeds.ac.uk]
Sent: 06 April 2012 13:10
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] emenu error when using viewfactor module
Hi All,
I am having a consistent problem with ESP-r, and i cannot for the life of me work out why it's happening; i have little experience of fortran. Any advice you guys could provide would be invaluable. Just to get the basics out the way first, i am running a text-only version of ESP-r release 11.1 on a Unix OS (CentOS 5.8).
When attempting to use the viewfactor and MRT module through either the project manager or results modules (i.e. to perform viewfactor calculations, and to provide local comfort results, respectively), i always get an error "emenu: error composing prompt" followed by "Closing viewfactor and MRT module ..." and then it crashes, requiring me to kill the program manually. The error occurs after all the blurb and the main interface has loaded and printed, at the prompt.
This does not occur when i enter the program directly (i.e. $ ./bin/espvwf -file ****.cfg), and as such i am able to perform the viewfactor calculations, however local comfort analysis becomes impractical as i have to enter all the surface temps in manually.
Any help anyone could provide would be greatly appreciated, i have been trawling through the code for weeks trying to trace this.
With hope,
Andy
_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk
http://lists.strath.ac.uk/mailman/listinfo/esp-r
More information about the esp-r
mailing list