Page 1 of 1
CHAIN Application fails to execute
Posted: Tue May 26, 2009 6:08 am
Hello, I have tried to change parameters in a copy of the Nitrogen example in the CHAIN application of stanmod. Unfortunately whenever I change any parameter it fails to run and I get no output data. Not sure what is the problem here. Sometimes if I change parameters from the txt file it works but this is not always successful and very slow way of doing it. Every time it fails to run, it seems my input data is corrupted and I must copy over again with the Nitrogen example to get it to execute. You help is most appreciated.
Posted: Tue May 26, 2009 1:39 pm
When I wrote GUI for CHAIN I assumed that the computational module reads input using free format (i.e., it is not important where numbers on a particular line are, as long as they are in the right sequence). It is apparently not the case and the format is exactly given. That's why the GUI does not conform with required format and you need to modify the input file manually. SOrry for that.
Posted: Wed May 27, 2009 12:20 am
Thanks Jirka for your timely response,
can you suggest an appropriate format I should be manually entering my parameters? I am opening the input file in notepad and this normally leads to a non-execution after a few changes.
Posted: Wed May 27, 2009 12:28 am
The input format in CHAIN is as follows:
iVer = iGetFileVersion(5,1)
Posted: Thu May 28, 2009 12:04 am
Thanks so much Jirka, I think I might have this all figured out now!