-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMPM crashes for me, even before trying to load objects. #2
Comments
template <std::size_t I> void initParticles() { |
Also - can you share the data files for the benchmark? |
The data file "twodragons.bin" used for performance comparison is in my public Data repo (https://github.com/littlemine/Data/tree/master/MpmParticles). Please put this Data directory in the root of claymore. It seems like the crash is caused by loading a model file that can't be found, you could try this option ( claymore/Projects/GMPM/gmpm.cu Line 40 in 359f7cb
|
Hmm, I have 32GIG mem, I doubt that's the problem The crash occurs in gmpm.cu line 86 : "auto benchmark = std::make_unique<mgsp_benchmark>();" Furthermore, init_models is called with "init_models(models, 3);" so running case 3, which is generated data, and not loaded data. Running it with "init_models(models, 1);" it seems to load the data correct (models[0] and models[1] gets filled with floats between 0 and 1) but it still crashes (see image) so I don't understand what could be the problem. That being said, I have not done any programming for years, so maybe it's just be being stupid. I just really want this to work, so I can (maybe) simulate concrete 3D printing. I'm Head of R&D at http://www.COBOD.com Screenshot: https://imgur.com/4oh7oD5 Thank you for any help. |
Just did a simple test on my PC, indeed encountered an issue within GMPM project. |
mgsp still crashes with g_device_cnt=1 for me.
Thank you. |
I've updated the GMPM project, please let me know if there are still issues. |
What version of CUDA is this supposed to work with? Just tried again, with a RTX 3090 card and CUDA 11.1: F:\claymore-master\Build\Projects\GMPM>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=comput F:\claymore-master\Build\Projects\MGSP>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=compute_50,code="sm_50,compute_50" -gencode=arch=comput F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] F:\claymore-master\Projects\MGSP\mgsp_benchmark.cuh(66): error : expected a "(" [F:\claymore-master\Build\Projects\MGSP\mgsp.vcxproj] |
No description provided.
The text was updated successfully, but these errors were encountered: