ok, if some scripts run, at least that means your hardware and
library installations
are ok.
the crash might be a result of the newly added multi-GPU support.
Error&exception
handling is somewhat tricky when running inside a multi-threading
environment.
I suspect that the more demanding tests, such as demo_4layer_head.m,
may
failed due to the hardware restrictions (such as running for over 5
seconds,
and killed by the driver, see FAQ#1 at
http://mcx.sf.net/cgi-bin/index.cgi?Doc/FAQ#I_am_getting_a_kernel_launch_timed_out_error_what_is_that
)
Such failure simply causes the program to quit when running the mcx
binary,
however, in mcxlab, this will trigger an exception inside matlab.
This exception
needs to be catches, elegantly terminate the mcxlab execution and
return
to matlab. I recently realized this exception handling such
exception was
not done properly in both the mmclab and mcxlab. I only managed to
fix
mmclab recently:
https://github.com/fangq/mmc/commit/edc082a3342019acc84d4bbc7c8af39fbdaffe15
an exception inside a multi-threading environment no longer crashes
matlab
after this fix. However, I haven't ported this patch to mcxlab yet.
I plan to work on this in the next few days, will email the list
when I make the
commit.
Qianqian