Compiler support AOCC#2316
Open
rishiyadav23 wants to merge 5 commits intowrf-model:masterfrom
Open
Conversation
Collaborator
|
@rishiyadav23 Would you fill the PR form at the top of this page to describe your PR? Thanks! |
Collaborator
|
One for @islas to review. |
Collaborator
|
This has to be targeted to release branch, not master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Add AOCC flang/clang compiler support for Linux x86_64 architecture with OpenMP capabilities
TYPE
enhancement
KEYWORDS
AOCC, flang, clang, compiler, Linux, x86_64, configuration, build system
SOURCE
Rishi Yadav (Intel - AI Software Engineer)
DESCRIPTION OF CHANGES
Problem
The WRF build system lacked support for the AOCC compiler suite (flang Fortran compiler with clang C compiler) on Linux x86_64 architectures, limiting users' ability to leverage this modern, optimized compiler toolchain.
Solution
Added a new architecture configuration file for Linux x86_64 with AOCC compilers. The configuration specifies:
SFC=flangfor Fortran compilationSCC=clangfor C compilation-O2 -ftree-vectorize)mpif90andmpiccwrappers