-
Notifications
You must be signed in to change notification settings - Fork 37
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
Threaded tests should use OPENMP=true
builds
#347
Comments
Thanks, I don't think I've been building with this when I run the I'm trying to think through how to make |
I think we should set |
@mark-petersen and @matthewhoffman, what are your thoughts? |
I don't understand. I always compile with openmp at the command line:
I thought that was the only way to do it. @xylar are you saying that we could set openmp to be true in the |
Yes, you can just set the environment variable You could purposefully omit this with |
We don't have any openmp code in MALI (not on the MPAS side anyway), so this issues doesn't effect me. But from what I understand, I would agree that for MPAS-Ocean it makes sense to be running with it on by default. And enforcing that via an env variable sounds logical to me. |
@mark-petersen, I verified that setting:
has the desired effect. I see:
|
The
OPENMP=true
make option is required in order to test threading, otherwise I believe the!$omp
directives are treated as comments and theOMP_NUM_THREADS
environment variable is ignored.The text was updated successfully, but these errors were encountered: