Add missing compiler name for Intel HSB/BDW config#1326
Add missing compiler name for Intel HSB/BDW config#1326davegill merged 2 commits intowrf-model:release-v4.2.2from
Conversation
|
@rcabell Yes, I agree that this mod should be included. Also, the next stanza down should have the same treatment: But I do not see how this text is used during the build. |
|
@rcabell |
|
Hi Dave,
Sorry this got lost in my email after I came off of PTO! Hopefully I can answer your question:
There is a script in the Hydro code that is passed this ARCH string from arch/Config.pl in WRF and greps it for a compiler name. From this, it then translates this into a configuration option number in our custom build system. The ARCH string for this option didn’t have any compiler name it, so our grep was failing.
Let me know if you need any additional information or clarification.
…-Ryan
On Jan 7, 2021, at 2:17 PM, Dave Gill ***@***.***> wrote:
@rcabell <https://github.com/rcabell>
Ryan,
Happy New Year!
I have a question about this PR. I do not understand how the added text is assisting your build. Is this something specific to some pre-processing that you do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1326 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHEYLTYXBQ5LLTZGQN2FUHDSYYQH7ANCNFSM4TRKXSMQ>.
|
|
@rcabell Please look at the stanza directly beneath the one that you modified. Would you add the same mod to that stanza also? We are trying to get v422 out next week, and I would like to get this low hanging fruit included. |
Add missing compiler name "ifort" to the ARCH line for the KNL MIC config
@davegill I'm not certain that WRF-Hydro is supported on KNL / MIC, but for the sake of consistency (and it's otherwise harmless), I've added the compiler name to that ARCH line as well. |
|
@rcabell |
|
This commit has broken the HSW/BDW build configuration. Rather than selecting the HSW/BDW option, the initial Intel compiler configuration is used instead. It looks like the #ARCH lines are now the same for these two options. |
TYPE: bug fix KEYWORDS: Intel, ifort, HWS, BDW, bug SOURCE: GitHub user jw500 DESCRIPTION OF CHANGES: Problem: When a user chooses one of the following configuration options for the Intel (HWS/BDW) compiler, `64. (serial) 65. (smpar) 66. (dmpar) 67. (dm+sm) INTEL (ifort/icc): HSW/BDW` they will instead be given a configuration for the corresponding option for basic Intel. `13. (serial) 14. (smpar) 15. (dmpar) 16. (dm+sm) INTEL (ifort/icc)` The configure.wrf file will read ``` #### Architecture specific settings #### # Settings for Linux x86_64 ppc64le i486 i586 i686, ifort compiler with icc (serial) DESCRIPTION = INTEL ($SFC/$SCC) ``` This is the result of "Add missing compiler name for two Intel config stanzas" #1326, hash [commit 0a9c2eb](0a9c2eb) Solution: Modified configure.defaults to ensure the "#ARCH" lines were not identical between HSW/BDW Intel and basic Intel options. LIST OF MODIFIED FILES: M arch/configure.defaults TESTS CONDUCTED: 1. Mods fix the issue. A configuration was done to test this. 2. Jenkins tests are all passing. RELEASE NOTE: Beginning with V4.2.2 a bug was introduced that prevented users from configuring the model with the "INTEL (ifort/icc): HSW/BDW" option. This is now resolved.
TYPE: bug fix KEYWORDS: build, hydro, intel, stanza SOURCE: Ryan Cabell (NCAR) DESCRIPTION OF CHANGES: Problem: Building coupled WRF/WRF Hydro models fails when choosing configuration INTEL (ifort/icc): HSW/BDW. Solution: Add missing `ifort compiler with icc` text to ARCH line for the HSW/BDW configuration. For completeness, the KNL MIC configure stanza was also missing the same information, and has been updated. Neither of these stanzas are involved in the traditional WRF code build, so there is no impact on users of the default WRF atmosphere model. ISSUE: For use when this PR closes an issue. Fixes wrf-model#1325 LIST OF MODIFIED FILES: M arch/configure.defaults TESTS CONDUCTED: 1. Modification causes WRF-Hydro build to complete successfully with the `INTEL (ifort/icc): HSW/BDW` configuration 2. Jenkins testing all positive
TYPE: bug fix KEYWORDS: Intel, ifort, HWS, BDW, bug SOURCE: GitHub user jw500 DESCRIPTION OF CHANGES: Problem: When a user chooses one of the following configuration options for the Intel (HWS/BDW) compiler, `64. (serial) 65. (smpar) 66. (dmpar) 67. (dm+sm) INTEL (ifort/icc): HSW/BDW` they will instead be given a configuration for the corresponding option for basic Intel. `13. (serial) 14. (smpar) 15. (dmpar) 16. (dm+sm) INTEL (ifort/icc)` The configure.wrf file will read ``` #### Architecture specific settings #### # Settings for Linux x86_64 ppc64le i486 i586 i686, ifort compiler with icc (serial) DESCRIPTION = INTEL ($SFC/$SCC) ``` This is the result of "Add missing compiler name for two Intel config stanzas" wrf-model#1326, hash [commit 0a9c2eb](wrf-model@0a9c2eb) Solution: Modified configure.defaults to ensure the "#ARCH" lines were not identical between HSW/BDW Intel and basic Intel options. LIST OF MODIFIED FILES: M arch/configure.defaults TESTS CONDUCTED: 1. Mods fix the issue. A configuration was done to test this. 2. Jenkins tests are all passing. RELEASE NOTE: Beginning with V4.2.2 a bug was introduced that prevented users from configuring the model with the "INTEL (ifort/icc): HSW/BDW" option. This is now resolved.
TYPE: bug fix
KEYWORDS: build, hydro
SOURCE: Ryan Cabell (NCAR)
DESCRIPTION OF CHANGES:
Problem:
Building coupled WRF/WRF Hydro models fails when choosing configuration INTEL (ifort/icc): HSW/BDW.
Solution:
Add missing
ifort compiler with icctext to ARCH line for the HSW/BDW configuration. For completeness, the KNL MICconfigure stanza was also missing the same information, and has been updated.
Neither of these stanzas are involved in the traditional WRF code build, so there is no impact on users of the default WRF
atmosphere model.
ISSUE: For use when this PR closes an issue.
Fixes #1325
LIST OF MODIFIED FILES:
M arch/configure.defaults
TESTS CONDUCTED:
INTEL (ifort/icc): HSW/BDWconfiguration