Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Pthreads vs MPI Parallel Performance of Angular-Domain Decomposed S

Conference ·
OSTI ID:754815

Two programming models for parallelizing the Angular Domain Decomposition (ADD) of the discrete ordinates (S{sub n}) approximation of the neutron transport equation are examined. These are the shared memory model based on the POSIX threads (Pthreads) standard, and the message passing model based on the Message Passing Interface (MPI) standard. These standard libraries are available on most multiprocessor platforms thus making the resulting parallel codes widely portable. The question is: on a fixed platform, and for a particular code solving a given test problem, which of the two programming models delivers better parallel performance? Such comparison is possible on Symmetric Multi-Processors (SMP) architectures in which several CPUs physically share a common memory, and in addition are capable of emulating message passing functionality. Implementation of the two-dimensional,(S{sub n}), Arbitrarily High Order Transport (AHOT) code for solving neutron transport problems using these two parallelization models is described. Measured parallel performance of each model on the COMPAQ AlphaServer 8400 and the SGI Origin 2000 platforms is described, and comparison of the observed speedup for the two programming models is reported. For the case presented in this paper it appears that the MPI implementation scales better than the Pthreads implementation on both platforms.

Research Organization:
Oak Ridge National Lab., TN (US)
Sponsoring Organization:
USDOE Office of Science (US)
DOE Contract Number:
AC05-00OR22725
OSTI ID:
754815
Report Number(s):
ORNL/P00-106228
Country of Publication:
United States
Language:
English