-
Notifications
You must be signed in to change notification settings - Fork 96
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
Can't compile with CUDA and MEMORY\_INSTALLED\_PER\_CORE\_IN\_GB=6.d0 #186
Comments
Hi David, MEMORY_INSTALLED_PER_CORE_IN_GB is unrelated to CUDA, it is used by Thanks, On 22/07/2014 17:52, David Luet wrote:
Dimitri Komatitsch |
For the link error, since you have large static arrays, you will need to add |
@komatits you are right. I was not using the latest devel version. I went passed this error. |
@QuLogic this is the fix indeed. But I think there might be a problem with the configure script.
the make operation fails. The problem is that ifort doesn't use the But if I try to trick it by doing:
it works. |
You are correct, for some reason FCFLAGS is commented out. I do not know why; maybe @komatits knows? PS, you should add |
Good point about |
Not a bug apparently (?). |
Fixed by David @luet by uncommenting FCFLAGS |
Problem description
I get a compile error when compiling the CUDA version of specfem3d_globe and using MEMORY_INSTALLED_PER_CORE_IN_GB > 4.
When setting MEMORY_INSTALLED_PER_CORE_IN_GB=6.d0 The error I get is:
I need more than 4 GB per core because NEX_XI=256. If I use NEX_XI=128, I can compile and run without problems.
I have posted two Par_file's on an external web site (http://geoweb3.princeton.edu/~luet/) since I don't think we can upload files on GitHub. Those files are:
If I set MEMORY_INSTALLED_PER_CORE_IN_GB_=10.d0, the compilation goes further but fails at link time: see link_error.txt.
Configure and compile
I configure with:
The problem occurs both with GNU and Intel compilers.
I use cuda version 5.5.22.
The text was updated successfully, but these errors were encountered: