-
Notifications
You must be signed in to change notification settings - Fork 147
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
GPU configuration: The problem is maybe -arch sm_13 instead of -arch sm_11 in the Makefile, please doublecheck #1199
Comments
the Quadro P4000 has CUDA compute capability 6.1. that means you will likely have to modify the Makefile a bit after configuration and instead of
use:
|
Thank you for your answer! :) in Makefile.in: |
great, thanks for the quick feedback! note that the |
Hi Daniel, thanks again! :) |
yes, the GPU architecture is specified only in the main Makefiles in the root directory, can you be more specific what did not work, the compilation even with the modifications as you suggested, or the modification of only one of the Makefiles? that is, do you still get the error
even with the modification
in these Makefiles? if so, then what are your CUDA toolkit and CUDA driver versions? |
Exactly, the error is the same as before: |
could you also add the output of the command |
This output is:
|
tricky... according to the toolkit documentation, that driver version looks okay for CUDA 11.8 and it should support the compute capability 6.1. unfortunately, I can't reproduce it as I don't have access to such a GPU card. the code works however on most older and newer cards, so I would expect this to be a driver version and CUDA toolkit issue. to double check the compute capability of your card, could you compile and run the little helper tool in
the tool will provide an info output with the compute capability listed. in the past CIG-seismo forum somebody was able to run the code on a Quadro P6000, I think with a CUDA 9.1 version. you could try to downgrade CUDA driver & runtime version to see if this solves the issue. |
Hi dear, here is the output of the helper tool: `` GPU device id: 0 Device Name = Quadro P4000 memory: totalGlobalMem (in MB, dividing by powers of 1000): 8510.833008 sharedMemPerBlock (in bytes): 49152 blocks: features: 0: GPU memory usage (dividing by powers of 1024): used = 319.625000 MB, free = 7796.937500 MB, total = 8116.562500 MB 0: GPU memory usage (dividing by powers of 1000): used = 335.151104 MB, free = 8175.681536 MB, total = 8510.832640 MB number of total devices: 1 Ok.. Maybe I will try to downgrade the Cuda Toolkit then! |
When I start a simulation in gpu mode I get the following error message:
I am trying to configure with a Quadro P4000, which should be Pascal architecture, and therefore cuda8 should be used in configuration I guess (according the overview in the makefile, see below)?
I used the following code:
Overview in makefile:
The text was updated successfully, but these errors were encountered: