A Flang Plugin for Fortran Feature Characterization

As new compute systems are developed, there is still a need to compile and execute codes authored in Fortran on these leading edge systems. In order to achieve this, development of compilers that support the latest hardware is continuously under development. Though the specification of Fortran is ex...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis S. 961 - 967
Hauptverfasser: Cabrera, Anthony M., Bernholdt, David E.
Format: Tagungsbericht
Sprache:Englisch
Veröffentlicht: IEEE 17.11.2024
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Abstract As new compute systems are developed, there is still a need to compile and execute codes authored in Fortran on these leading edge systems. In order to achieve this, development of compilers that support the latest hardware is continuously under development. Though the specification of Fortran is extensive, it is helpful to compiler authors to be able to prioritize the development of key features in order to get certain codes deemed important, e.g., applications of interest to leadership computing facilities, executable on leading edge compute systems. Identifying key features though is largely done through querying software experts or users of the Fortran applications of interest, who then manually report what features are and are not present. This exercise can both time consuming and error prone. To automate this process, we present a compiler plugin to Flang, the Fortran frontend for LLVM. This plugin is a tool that operates on the parse tree representation generated by Flang and detects key features based on walking parse tree nodes that correspond to features of interest. We show the result of our tool on four applications, three of which were manually profiled by software experts. We show the discrepancies between our tool and the manual characterization of the three applications, as well as generate a characterization for an application not yet profiled. We intend to open-source our tool in order to invite the community to benefit from the tool and make contributions for other features.
AbstractList As new compute systems are developed, there is still a need to compile and execute codes authored in Fortran on these leading edge systems. In order to achieve this, development of compilers that support the latest hardware is continuously under development. Though the specification of Fortran is extensive, it is helpful to compiler authors to be able to prioritize the development of key features in order to get certain codes deemed important, e.g., applications of interest to leadership computing facilities, executable on leading edge compute systems. Identifying key features though is largely done through querying software experts or users of the Fortran applications of interest, who then manually report what features are and are not present. This exercise can both time consuming and error prone. To automate this process, we present a compiler plugin to Flang, the Fortran frontend for LLVM. This plugin is a tool that operates on the parse tree representation generated by Flang and detects key features based on walking parse tree nodes that correspond to features of interest. We show the result of our tool on four applications, three of which were manually profiled by software experts. We show the discrepancies between our tool and the manual characterization of the three applications, as well as generate a characterization for an application not yet profiled. We intend to open-source our tool in order to invite the community to benefit from the tool and make contributions for other features.
Author Bernholdt, David E.
Cabrera, Anthony M.
Author_xml – sequence: 1
  givenname: Anthony M.
  surname: Cabrera
  fullname: Cabrera, Anthony M.
  email: cabreraam@ornl.gov
  organization: Oak Ridge National Laboratory,Computer Science and Mathematics Division,Oak Ridge,TN,USA
– sequence: 2
  givenname: David E.
  surname: Bernholdt
  fullname: Bernholdt, David E.
  email: bernholdtde@ornl.gov
  organization: Oak Ridge National Laboratory,Computer Science and Mathematics Division,Oak Ridge,TN,USA
BookMark eNotjsFKxDAUACMoqGu_QA_5gdb38pI0OS7FqrCgoOJxSbOva6GmknYP-vUu6GluM3MpTtOUWIhrhAoR_O1L825JaagUKF0BIJkTUfjaOzJAxhhN56KY56EDC8ZpcOZC0Fq2Y0h7-Twe9kOS_ZRlO-UlhyRbDsshs2w-Qg5x4Tz8hGWY0pU468M4c_HPlXhr716bh3LzdP_YrDdlUMYuJbKnSNQfa9g5UtyhIk1olWUfa-AeO6sI0UUOinfHeQ86kkKz8ypqWombP-_AzNuvPHyG_L1FcApsjfQLHz1EVw
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/SCW63240.2024.00135
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE/IET Electronic Library (IEL) (UW System Shared)
  url: https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
EISBN 9798350355543
EndPage 967
ExternalDocumentID 10820671
Genre orig-research
GrantInformation_xml – fundername: Office of Science
  funderid: 10.13039/100006132
– fundername: Oak Ridge National Laboratory
  funderid: 10.13039/100006228
GroupedDBID 6IE
6IL
ACM
ALMA_UNASSIGNED_HOLDINGS
CBEJK
RIE
RIL
ID FETCH-LOGICAL-a256t-1e93c33f0601b832eb123431626e9c70ef1b623118cea2ed632904c3215d92c43
IEDL.DBID RIE
ISICitedReferencesCount 0
ISICitedReferencesURI http://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=Summon&SrcAuth=ProQuest&DestLinkType=CitingArticles&DestApp=WOS_CPL&KeyUT=001451792300109&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
IngestDate Wed Aug 27 01:59:32 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a256t-1e93c33f0601b832eb123431626e9c70ef1b623118cea2ed632904c3215d92c43
PageCount 7
ParticipantIDs ieee_primary_10820671
PublicationCentury 2000
PublicationDate 2024-Nov.-17
PublicationDateYYYYMMDD 2024-11-17
PublicationDate_xml – month: 11
  year: 2024
  text: 2024-Nov.-17
  day: 17
PublicationDecade 2020
PublicationTitle SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis
PublicationTitleAbbrev SC-W
PublicationYear 2024
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssib060584085
Score 1.8896534
Snippet As new compute systems are developed, there is still a need to compile and execute codes authored in Fortran on these leading edge systems. In order to achieve...
SourceID ieee
SourceType Publisher
StartPage 961
SubjectTerms Codes
compiler
Feature extraction
Flang
Fortran
grammar
Instruments
Leadership
Legged locomotion
Libraries
LLVM
Manuals
plugin
Programming
Semantics
Software
Title A Flang Plugin for Fortran Feature Characterization
URI https://ieeexplore.ieee.org/document/10820671
WOSCitedRecordID wos001451792300109&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV09T8MwELWgYmACRBDf8sAaiO00jkdUETFVkQDRrbKdC6qEUhQSfj93TlpYGNgiL9HZOb93dt47xm6Md1KkPoudx2xKpU1ihzAaO4E7ci3V1E5daDah5_N8sTDlKFYPWhgACD-fwS09hrv8au17OirDDA9u41js7GqdDWKtzcdD13vk1jU6C4nE3D3NXsmMPMEqUJJHtqCebr96qAQIKQ7--fJDFv2I8Xi5hZkjtgPNMVP3vKCjRl6-92-rhiP15AUyaUQeTqyub4HPtl7Mg9QyYi_Fw_PsMR77H8QWiUgXCzDKK1WTZYrDzMNtVSqSrssMjNcJ1MIhe8ESwYOVUGGwJkm9QhSvjPSpOmGTZt3AKePKSVeZXCO_kpiyyqqstsqCAZtUuTRnLKKIlx-DxcVyE-z5H-MXbJ8mlUR5Ql-ySdf2cMX2_Fe3-myvw8J8A8T0jPE
linkProvider IEEE
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1NSwMxEB2kCnpSseK3OXhdzce22xyluCjWUrBibyXJzkpBtlK7_n5n0g-9ePC25LJMspP3Jtn3BuDKBq9VGtqJD5RNqXYy8QSjiVe0I5fatFzLx2YTWb_fGY3sYClWj1oYRIw_n-E1P8a7_GIaaj4qowyPbuNU7Gy20lTLhVxr9fnwBR_7dS29hZS0N8_dV7Yjl1QHanbJVtzV7VcXlQgi-e4_X78HzR85nhisgWYfNrA6AHMrcj5sFIP3-m1SCSKfIicuTdgjmNfVMxTdtRvzQmzZhJf8bti9T5YdEBJHVGSeKLQmGFOyaYqn3KONVRsWr-s22pBJLJUn_kJFQkCnsaBgrUyDIRwvrA6pOYRGNa3wCITx2he2kxHD0pS0xpl26YxDi04WHW2PockRjz8WJhfjVbAnf4xfwvb98Kk37j30H09hhyeYJXoqO4PGfFbjOWyFr_nkc3YRF-kbUDGQOA
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=SC24-W%3A+Workshops+of+the+International+Conference+for+High+Performance+Computing%2C+Networking%2C+Storage+and+Analysis&rft.atitle=A+Flang+Plugin+for+Fortran+Feature+Characterization&rft.au=Cabrera%2C+Anthony+M.&rft.au=Bernholdt%2C+David+E.&rft.date=2024-11-17&rft.pub=IEEE&rft.spage=961&rft.epage=967&rft_id=info:doi/10.1109%2FSCW63240.2024.00135&rft.externalDocID=10820671