On Fri, 4 Sep 2009, Henrique wrote:
I'd realized that I made an enormous mistake. The problem
I'd reported
was caused by a very simple reason: I forgot to install DPD package on my
system. I'm sorry for that.
But a new problem had arisen. Please look at the output (beginning is
omitted):
Ox Console version 5.10 (OS_X) (C) J.A. Doornik, 1994-2008
This version may be used for academic research and teaching only
DPD package version 1.24, object created on 4-09-2009
Runtime error: '[][-1] in matrix[1][0]' index out of range
Runtime error occurred in SetYear(141), call trace:
Ox is not terribly clever with error messages. I guess what this
really means is that it couldn't read the input file, abdata.csv.
It's probably better to use an absolute path for this file.
That is, change these two lines in oxdpd.inp:
store abdata.csv ->
store @dotdir/abdata.csv
dpd.Load("abdata.csv"); ->
dpd.Load("(a)dotdir/abdata.csv");
In this same general area, I've noticed that the line in
gretl_io.ox for printing the size of a matrix,
fprint(fp, "%d %d", rows(X), columns(X));
does not work on all Ox versions. fprint() is not very clearly
documented, but this variant to be reliable:
fprint(fp, "%d ", rows(X), "%d", columns(X));
I've made this change in CVS.
Allin.