Conversation
|
Hello! I am also interested in support for Linux ARM64! |
|
@weiwangncar @dudhia @kkeene44 @smileMchen @yip111 Specifically, I am wondering if this should be broken into 2 pieces. The ARM specific update to the arch/configure.defaults file would be one PR. The README could be a second PR. We have never really thought about putting build info in the repository before. Opinions? |
|
Is the README needed? I notice it refers to V4.2. Is there anything special
about this install?
…On Tue, Sep 14, 2021 at 8:47 AM weiwangncar ***@***.***> wrote:
@yip111 <https://github.com/yip111> @davegill
<https://github.com/davegill> I'd suggest putting the README file in the
doc/ directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1535 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77FZHEM67MKYVHU5AKDUB5N7ZANCNFSM5ANLBUGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
|
Seems a useful note, but probably should not be committed to the repository, especially not with the name README_ARM. |
|
Should have read the README file. I agree as the file stands now, it probably should not be committed to the repository. It looks like general info for installing software before compiling WRF. If it can be made general, it may be useful for general users. |
arch/configure.defaults
Outdated
|
|
||
| #insert new stanza here | ||
| ################################################## ######### | ||
| #ARCH Linux aarch64,gnu OpenMPI #serial smpar dmpar dm+sm |
There was a problem hiding this comment.
I think the next line should be just #.
Also all lines below the stanza should not have any indentation.
Without these corrections I was not able to build it.
|
@yip111 |
|
@davegill I've just tested this PR with WRF-4.3 instead of 4.2 and all is fine! |
@davegill Yes, it also works on version 4.3. |
@davegill @martin-g Thanks for your suggestion, and I update and submit a sepated PR on #1557 . |
|
Replaced by #1557 Add new stanza for ARM aarch64/openmpi |
TYPE:enhancement KEYWORDS: ARM DESCRIPTION OF CHANGES: Problem: There are no ARM-only stanzas in arch/configure.defaults. As the suggestion from #1535 , we need a separate PR for ARM specific update. Solution: Edit the arch/configure.defaults file and add a stanza for aarch64 and armv7l, using the GNU compiler options. The default optimization is -03, up from the usual -02. On two 36-h nested simulations on a raspberry pi, the difference is a consistent 3% speed increase across the radiation and non-radiation time steps. This used CONUS, so the -03 option seems reasonably robust with the GNU compiler. LIST OF MODIFIED FILES: M arch/configure.defaults RELEASE NOTE: Added a new stanza that is only for ARM processors (right now aarch64 and armv7l) with GNU.
TYPE:enhancement KEYWORDS: ARM DESCRIPTION OF CHANGES: Problem: There are no ARM-only stanzas in arch/configure.defaults. As the suggestion from wrf-model#1535 , we need a separate PR for ARM specific update. Solution: Edit the arch/configure.defaults file and add a stanza for aarch64 and armv7l, using the GNU compiler options. The default optimization is -03, up from the usual -02. On two 36-h nested simulations on a raspberry pi, the difference is a consistent 3% speed increase across the radiation and non-radiation time steps. This used CONUS, so the -03 option seems reasonably robust with the GNU compiler. LIST OF MODIFIED FILES: M arch/configure.defaults RELEASE NOTE: Added a new stanza that is only for ARM processors (right now aarch64 and armv7l) with GNU.
TYPE:WRF 4.2 Porting Guide for ARM
KEYWORDS: ARM, aarch64, Porting
DESCRIPTION OF CHANGES:
Problem:
WRF cannot run directly on the ARM machine.
Solution:
Edit the arch/configure.defaults file and add the aarch64 GNU & OPEN MPI compile options
LIST OF MODIFIED FILES:
M arch/configure.defaults
M README_ARM.md