Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop intentionally removing OpenMP flags (#1841)
TYPE: no impact KEYWORDS: Compile, Fujitsu compiler, OpenMP flag SOURCE: Kengo Miyamoto (RIST) DESCRIPTION OF CHANGES: Problem: Some source program files are compiled without OpenMP flags, even though those refer to a variable in the source program file that is compiled with OpenMP flag. This causes errors for Fujitsu Fortran compiler when building WRF load module files. We don’t anticipate any issues if we also compile those files with OpenMP flags when we select 'smpar' or 'sm+dm’ configuration option. Solution: Stop intentionally removing OpenMP flags when compiling certain listed source program files. This also might make it easier to maintain building environment (e.g., The time of someone adds new source program files). ISSUE: https://forum.mmm.ucar.edu/threads/compiler-option-for-openmp-parallelization.12638/ LIST OF MODIFIED FILES: arch/noopt_exception arch/noopt_exception_f TESTS CONDUCTED: 1. In the eight cases below, I checked whether Fujitsu compiler could make WRF load module files and a tutorial case (Nested Model Run: 2-way with 2 Input Files) could be completed successfully on a Fujitsu computer system: (opt_level=“-f”) x {serial, smpar, dmpar, sm+dm} + (opt_level=“”) x {serial, smpar, dmpar, sm+dm} 2. The regression tests have passed - no impact generally. RELEASE NOTE: Stop intentionally removing OpenMP flags when compiling certain listed source program files, which causes problems with a Fujitsu Fortran compiler.
- Loading branch information