Comments (6)
try the below two things:
- type gpuinfo=mcxlab('gpuinfo') and see what matlab outputs
- modify the demos script, and reduce your phone number by setting cfg.nphoton to a small number, say 1e3, or 1e4 (or insert cfg.nphoton=1e4 before the mcxlab call), and see if you are getting the same error.
it is likely your driver is not set up or you did not apply the registry fix on a windows host.
http://mcx.space/wiki/index.cgi?Doc/FAQ#I_am_getting_a_kernel_launch_timed_out_error_what_is_that
Update: cross-out the above possibility since mcx does work on your card.
from mcx.
I tried both suggestions,
- gpuinfo seems to work fine (see attached output from command).
- I modified a demo script with cfg.nphoton=1e4 and received the same error.
I applied the registry fix 'apply_timeout_registry_fix.bat' as administrator and restarted the computer when I initially installed mcx.
gpuinfo.txt
from mcx.
Ok, I think this might be due to missing some dlls. Can you Google "dependency walker" and load mcx.mexw64 to see if any dll missing?
from mcx.
I have a similar problem:
MCXLAB ERROR -4 in unit mcx_core.cu:1756: unspecified launch failure
Error from thread (0): unspecified launch failure
C++ Error: MCXLAB Terminated due to an exception!
1.gpuinfo seems to work fine
2. I modified a demo script with cfg.nphoton=1e4 and did not receive any error but if I change it back to 1e7 the error appear again and even if I change the cfg.nphoton=1e4 after the error it won't work again.
I am using Nvidia Geforce 930MX I updated my driver with no help.
Any suggestion?
from mcx.
You need to apply the registry fix, see the FAQ link in my reply 3 days ago.
from mcx.
@bradday4, did not hear from you, if this issue has been fixed with the registry fix, I will close it. please let me know.
from mcx.
Related Issues (20)
- Pytorch seems to be broken after calling pmcx.run()
- Tutorial on how to import arbitrary 3d shapes. HOT 1
- Error in make HOT 1
- pmcx buffer overflow error if bc parameter has 12 characters HOT 1
- "misaligned address" error when using cfg.invcdf and cfg.angleinvcdf
- 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
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.