NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
A Single Thread to Fortran Coarray Transition Process for the Control Algorithm in the Space Radiation Code HZETRNExa-scale computing is the direction by industry and government are going to generate solutions to problems they deem necessary. Computing hardware is being developed to achieve the transition from Peta-scale to Exa-scale with more CPUs (Central Processing Units) that have more cores per CPU and more accelerators (GPGPUs (General Purpose Graphics Processing Units) and MICs (Many Integrated Cores)) per node. To fully utilize the hardware available now and in the future, algorithms must become multi-threaded. There are a few methods to generate multi-threaded software such as MPI (Message Passing Interface) and OpenMP (Multi-Processing) / OpenACC (ACCelerator). This paper concentrates on using Coarray Fortran to convert the Fortran 95 based HZETRN (High Z and Energy TRaNsport) code's control algorithm from a single threaded code to a multithreaded code. The resultant Coarray code was 32.5 times faster (with a theoretical speed-up of 74.5 times) than the single threaded version on the hardware tested, as reliable as the Fortran 95 version, and, as it uses native Fortran, was as maintainable as the Fortran 95 version. The Coarray code can be maintained by the same project engineers and scientists who created the original single threaded code. This transition process can be utilized on a C language based code with a compiler that has the UPC (Universal Parallel C) extensions to C.
Document ID
20180003198
Acquisition Source
Langley Research Center
Document Type
Technical Publication (TP)
Authors
Singleterry, Robert C., Jr.
(NASA Langley Research Center Hampton, VA, United States)
Ranjan, Desh
(Old Dominion Univ. Norfolk, VA, United States)
Zubair, Mohammad
(Old Dominion Univ. Norfolk, VA, United States)
Date Acquired
May 30, 2018
Publication Date
March 1, 2018
Subject Category
Computer Programming And Software
Computer Operations And Hardware
Space Radiation
Report/Patent Number
NF1676L-29340
L-20908
NASA-TP-2018-219811
Funding Number(s)
WBS: WBS 651549.02.07.01
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available