*) build and install the test suite (./configure, make, install)
http://www.iro.umontreal.ca/~simardr/testu01/install.html
*) set paths (<install directory> likely is /usr/local, and maybe this
isn't necessary...?)
export LD_LIBRARY_PATH=<install directory>/lib:${LD_LIBRARY_PATH}
export LIBRARY_PATH=<install directory>/lib:${LIBRARY_PATH}
export C_INCLUDE_PATH=<install directory>/include:${C_INCLUDE_PATH}
*) copy Allin's instructions into a text file called "Makefile"
*) copy Allin's .c file side by side with the Makefile
*) in this directory, type 'make' in a shell -- you should get an
executable file 'glibtest'
However, when I run './glibtest' (glibtest built without error) I get
the error:
./glibtest: error while loading shared libraries: libtestu01.so.0:
cannot open shared object file: No such file or directory
...even though I had previously installed testu01??
BTW, I'm not an expert but it seems to me that it would be a waste if we
all run this in parallel on the same platform (Linux on Core2Duo). If
any parallel effort is done, it may be more useful to do it on various
platforms and/or hardware, like Mac, or AMD, or whatever.
thanks,
sven
Gordon Hughes schrieb:
I have a spare Ubuntu machine (not very fast - dual core 1.66 Ghz)
that I can leave running on its own for 24 hours or longer without
any problem - I use it for Monte Carlo runs under Stata. However, I
simply don't have enough familiarity with either shell scripts or C
compilation to convert your instructions into a functioning
program. If you could give somewhat more detailed instructions, I
would be happy to run the test program to the end.
Gordon
> As I mentioned, I ran the Crush suite on gretl without any
> failures. I've now run most of Big Crush. I had to unplug my
> laptop after about 14 hours, and got through 80 out of 106 tests,
> again with no failures. The completed tests include all of the
> "collisions" variants, on which Doornik said that standard
> ziggurat failed. Obviously, though, it would be nice to run the
> whole thing, which would require about 16 hours on my machine.
>
> I'm attaching the source for the test program I used. I built the
> program with:
>
> CC = gcc -Wall -O2
> CFLAGS = `pkg-config --cflags glib-2.0 gretl`
> LIBS = `pkg-config --libs glib-2.0 gretl`
>
> glibtest: glib.c
> $(CC) $(CFLAGS) -o $@ $< -ltestu01 $(LIBS)
>
> Allin.
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel