NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Optics Program Modified for Multithreaded Parallel ComputingA powerful high-performance computer program for simulating and analyzing adaptive and controlled optical systems has been developed by modifying the serial version of the Modeling and Analysis for Controlled Optical Systems (MACOS) program to impart capabilities for multithreaded parallel processing on computing systems ranging from supercomputers down to Symmetric Multiprocessing (SMP) personal computers. The modifications included the incorporation of OpenMP, a portable and widely supported application interface software, that can be used to explicitly add multithreaded parallelism to an application program under a shared-memory programming model. OpenMP was applied to parallelize ray-tracing calculations, one of the major computing components in MACOS. Multithreading is also used in the diffraction propagation of light in MACOS based on pthreads [POSIX Thread, (where "POSIX" signifies a portable operating system for UNIX)]. In tests of the parallelized version of MACOS, the speedup in ray-tracing calculations was found to be linear, or proportional to the number of processors, while the speedup in diffraction calculations ranged from 50 to 60 percent, depending on the type and number of processors. The parallelized version of MACOS is portable, and, to the user, its interface is basically the same as that of the original serial version of MACOS.
Document ID
20100014087
Acquisition Source
Jet Propulsion Laboratory
Document Type
Other - NASA Tech Brief
Authors
Lou, John
(California Inst. of Tech. Pasadena, CA, United States)
Bedding, Dave
(California Inst. of Tech. Pasadena, CA, United States)
Basinger, Scott
(California Inst. of Tech. Pasadena, CA, United States)
Date Acquired
August 24, 2013
Publication Date
January 1, 2006
Publication Information
Publication: NASA Tech Briefs, January 2006
Subject Category
Man/System Technology And Life Support
Report/Patent Number
NPO-40572
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available