Comments (8)
@Eidantz, sorry for the delay, only saw it today.
I noticed the same when I upgraded my desktop from 14.04 to 16.04 yesterday. I am not yet sure what cause the crash, but it seems matlab 2016 does not seem to like the mex compiled on Ubuntu 16.04.
I, however, found that matlab 2017a and 2018a work fine with mcxlab. Do you have those versions? if yes, do you see the same?
from mcx.
I am using MATLAB R2017a (9.2.0.556344) 64-bit (glnxa64). I contact MATLAB company but they haven't responded yet.
If it helps the mcxlab stop at this point:
normalizing raw data ... normalization factor alpha=33.333332
simulated 30000000 photons (30000000) with 57344 threads (repeat x1)
MCX simulation speed: 9511.73 photon/ms
total simulated energy: 30000000.00 absorbed: 28.61906%
(loss due to initial specular reflection is excluded in the total)
from mcx.
the above log is the end of mcxlab's kernel command line messages - so it looks like the kernel was completed correctly.
can you checkout the current dev branch "etherdome" and recompile on your system (git clone first, and then git checkout etherdome inside mcx folder), and see if this issue remains.
If this does not help, to really figure out what happened, you should install valgrind on your system, and run the below command
matlab -nojvm -r "scriptname_caused_crash" -D"valgrind --error-limit=no --tool=memcheck -v --log-file=valgrind.log" ”
then, the valgrind.log will contain the debug info for the crashes, if you can post it, I would be able to find out which line of the code failed in your simulation.
from mcx.
let me know if you have tested the above command with the valgrind debug log. happy to look into the log file and find any clue.
from mcx.
I tried the Etherdome version, but the mcx.mex I took from the old version and the problem is from the mcx.mex file, doesn't it?
Did you update the mcx.mex file?
I will try tomorrow the Valgrind and I will update you.
from mcx.
I assume you meant the mcx.mexa64 file? it is a binary recompiled in the nightly build. you can download the latest binary from http://mcx.space/nightly/linux64/
from mcx.
I used this version
http://mcx.space/nightly/linux64/mcxlab-linux-x86_64-v2018.12.zip
and it works perfectly!
from mcx.
thanks, I will close this issue for now.
from mcx.
Related Issues (20)
- Failed to apply double-float-buffer approach in #41 to `dref` cause loss of accuracy
- Tissue propoerty for different wavelenght HOT 2
- `pmcx.mcxlab` fails to typecast `traj.id` output from float32 to uint32
- mcx2json unable to export simulations of continuously-varying media
- mcxlab: Where to find "sphdiffusionslab.m" required by "demo_validation_heterogeneous.m"? HOT 1
- Support per voxel mua/mus/g/n continuous medium type
- Different scattering coefficient of water in demo_skinvessel.m compared to mcxyz.c HOT 1
- get absorbed energy by object HOT 8
- svmc is broken after commit 7e1aec0
- pmcx dettpsf overwrites input detp structure HOT 1
- [CRITICAL] double-multiplication of initial weight in single-pattern-source fluence output HOT 3
- Gaussian divergence for slit source HOT 3
- Replay fails when simulating with multiple light sources HOT 6
- Post v2024.2 release actions
- Multi-source simulation fails to return the source ID for detected photons and trajectories
- Using base64 as compression method resulting in double base64 encoding
- mcxsvmc isosurface normal direction is flipped in octave compared to matlab
- detected photon nscat distribution shows abnormalities HOT 1
- nan-padded voxels have g/n=0
- Bug in mcxplotshapes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcx.