-
Notifications
You must be signed in to change notification settings - Fork 31
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
Change to OpenMP flag in Intel compilers #118
Comments
Isn't that something the user always specifies in |
They can but we do provide a |
I’ve never heard of the OMP_FLAG. Maybe we shouldn’t have this, and leave it to the user? Just complicates things?
— Marsha
…On Mar 19, 2017, at 2:01 PM, Kyle Mandli ***@***.***> wrote:
They can but we do provide a OMP_FLAG if they don't want to have to worry about switching out the OpenMP flag. I don't think used explicitly anywhere but we should either remove it or correct it. I almost always set FFLAGS myself in the environment so I don't change the Makefiles but then use the OMP_FLAG if I want threading enabled.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The only thing that makes me pause a bit is that we had briefly talked about having an option to build in debug or optimized mode automatically with some preferred flags. If we do this we would have to effectively have this. Otherwise I am fine taking this out. |
We have the page http://www.clawpack.org/fortran_compilers.html |
It’s a good page. But I don’t see an OMP_FLAG option there, which is what I was asking why we have?
— Marsha
…On Mar 19, 2017, at 3:34 PM, Randall J. LeVeque ***@***.***> wrote:
We have the page http://www.clawpack.org/fortran_compilers.html
with lists of recommended flags. I guess I'm in favor of just updating this if necessary and leaving it to the user rather than having too many sets of flags that might or might not over-ride one another, which seems confusing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Do we want a debug/optimized option in the Makefiles or do we want to rely on users finding the docs? I am ok with either or. I think I originally added In any case I am fine removing this and relying on the docs or spending a small bit of effort and having a canned debug/optimized option. |
It looks like Intel has decided to deprecate the previous OpenMP compiler flag
-openmp
in favor of-qopenmp
. We should either allow the user to set the OpenMP flag via an environment variable and/or check the version ofifort
and use the correct one.The text was updated successfully, but these errors were encountered: