Skip to content

Compiler support AOCC#2316

Open
rishiyadav23 wants to merge 5 commits intowrf-model:masterfrom
rishiyadav23:master
Open

Compiler support AOCC#2316
rishiyadav23 wants to merge 5 commits intowrf-model:masterfrom
rishiyadav23:master

Conversation

@rishiyadav23
Copy link
Copy Markdown

@rishiyadav23 rishiyadav23 commented Apr 21, 2026

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=flang for Fortran compilation
  • SCC=clang for C compilation
  • Appropriate compiler flags for optimization (-O2 -ftree-vectorize)
  • Support for OpenMP parallelization
  • Proper byte-swapping and Fortran I/O formatting options
  • Integration with MPI via mpif90 and mpicc wrappers

@rishiyadav23 rishiyadav23 requested a review from a team as a code owner April 21, 2026 12:34
@weiwangncar
Copy link
Copy Markdown
Collaborator

@rishiyadav23 Would you fill the PR form at the top of this page to describe your PR? Thanks!

@dudhia
Copy link
Copy Markdown
Collaborator

dudhia commented Apr 28, 2026

One for @islas to review.

@dudhia
Copy link
Copy Markdown
Collaborator

dudhia commented Apr 29, 2026

This has to be targeted to release branch, not master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants