Magazine Article

Optics Program Modified for Multithreaded Parallel Computing

TBMG-11985

01/01/2006

Abstract
Content

A 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 p-threads [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.

Meta TagsDetails
Citation
"Optics Program Modified for Multithreaded Parallel Computing," Mobility Engineering, January 1, 2006.
Additional Details
Publisher
Published
Jan 1, 2006
Product Code
TBMG-11985
Content Type
Magazine Article
Language
English