Fix compilation with OPENMP=1#193
Conversation
|
Hi Angus, We understand there will be a long line of arugments when to use Thanks, Zhi On Mon, Jun 22, 2015 at 10:30 PM, Angus Gibson notifications@github.com
|
This is mostly due to 'OMP parallel' clauses with 'default(none)' not being updated when new code is added that references new variables. The 'OMP parallel do' clause in MOM_energetic_PBL.F90 uses 'default(private)' because of the very large number of private variables relative to shared variables.
|
Thanks for the feedback. I've updated the commit, replacing the |
|
@angus-g Thanks for this and sorry for the delay - I was on vacation when you sent this in and have been catching ever since I got back. @Zhi-Liang @nikizadehgfdl I've added OPENMP=1 to my scripts so I start catching these too... |
Report error logs from codecov upload fail
The compilation errors are mostly due to
OMP parallelclauses withdefault(none)not being updated when new code is added that references new variables. TheOMP parallel doclause in MOM_energetic_PBL.F90 usesdefault(private)because of the very large number of private variables relative to shared variables.