Not logged in
Thu Dec 6 18:11:15 2007
Computer Scripts / Programs
Making DMF monitors
I was able to use the matlab compiler to compile a version of the
written by Rana, and run the compiled version on mafalda.
I believe I made the necessary edits to our mDV config file so that it should be easy for others to follow these steps:
1) Write the DMF routine you want, as a matlab function (not a script).
2) If it runs correctly in matlab, then from the matlab command line compile
it using the -m flag (i.e.,
mcc -m myfun.m
). You should run the
compiler from the directory where you want the executable to end up (don't use the mDV/extra
directory so it doesn't get all cluttered).
3) prior to running the resulting executable (which should be called simply
to the LD_LIBRARY_PATH enviroment variable. These directories must be prepended as the
versions that already exist in /usr/lib don't work; I'm loathe to do this in the cshrc.40m
for fear of later conflicts, so it will need to be done in some sort of shell script which
calls the matlab executable.