Skip to content

Add missing compiler name for Intel HSB/BDW config#1326

Merged
davegill merged 2 commits intowrf-model:release-v4.2.2from
rcabell:issue_1325
Jan 8, 2021
Merged

Add missing compiler name for Intel HSB/BDW config#1326
davegill merged 2 commits intowrf-model:release-v4.2.2from
rcabell:issue_1325

Conversation

@rcabell
Copy link
Contributor

@rcabell rcabell commented Nov 11, 2020

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 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 #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

@davegill
Copy link
Contributor

@rcabell
Ryan,
How does this mod impact the WRF Hydro build?

Yes, I agree that this mod should be included.

Also, the next stanza down should have the same treatment:

1879 
1880 ###########################################################
1881 #ARCH    Linux KNL x86_64 ppc64le i486 i586 i686 #serial smpar dmpar dm+sm
1882 #
1883 DESCRIPTION     =       INTEL ($SFC/$SCC): KNL MIC

But I do not see how this text is used during the build.

@davegill
Copy link
Contributor

davegill commented Jan 7, 2021

@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?

@rcabell
Copy link
Contributor Author

rcabell commented Jan 7, 2021 via email

@davegill
Copy link
Contributor

davegill commented Jan 7, 2021

@rcabell
Ryan,
OK, that makes sense now.

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.
Thanks

Add missing compiler name "ifort" to the ARCH line for the KNL MIC config
@rcabell
Copy link
Contributor Author

rcabell commented Jan 7, 2021

Please look at the stanza directly beneath the one that you modified. Would you add the same mod to that stanza also?

@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.

@davegill
Copy link
Contributor

davegill commented Jan 7, 2021

@rcabell
Ryan,
I agree, the new addition is completely harmless. Once the jenkins tests come back, I'll merge this in.

@davegill davegill self-requested a review January 8, 2021 00:39
@davegill davegill merged commit 0a9c2eb into wrf-model:release-v4.2.2 Jan 8, 2021
@jw500
Copy link

jw500 commented Jun 15, 2021

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.

davegill pushed a commit that referenced this pull request Jan 19, 2022
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.
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
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
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants