hi Paloma,
from your printed log, you are using a version of mcxlab that is
really old. please update to the latest version,
https://mcx.space/nightly/github/
and rerun your simulation again. we've made many bug fixes since 2018. if the error happens again, please follow up and share your full script so I can reproduce the issue.
Qianqian
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/d2fbc55a-33f9-4789-a219-cda162b532ban%40googlegroups.com.


Dr. Fang,
The error remains with the new version (log attached below). Additionally, i have found a bug (i think) with the new version's 'cone' illumination: the srcparam1, which should only require one input for the NA of illumination, asks for multiple. I have populated the srcparam1 with dummy 0s in locations 2 and 3 so that I can run the simulation. (here is the error log - C++ Error: the 'srcparam1' field must have 3-4 columns)
this restriction was introduced when I added the multi-src support end of last year, but I understand that the older relaxed input is more convenient. so I committed the below change to revert this check back to the relaxed form
https://github.com/fangq/mcx/commit/3c7ac2a5d66f2817288c8e200bd22699ff81bc43
give another 10 min for the github action script to complete, you should be able to download the latest binary from
https://mcx.space/nightly/github/
please also be aware that if one defined Param1/Param2 from the
JSON input, you must give 3-4 numbers.
Another observation I have made is that if I run the same simulation in the old (2018) and new (2024) version of the code, the detected photons distribution is significantly different Attached is two images of the angular distribution of detected photons in the exact same configuration, one run with the old version and the other with the new one. Both use the cone illumination.
in this case, please share your mcxlab script so I can tell which
part of the memory exceeds the limit.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/3ffc4f07-866a-49f0-b923-405d57eaeba1n%40googlegroups.com.