Sharma, NeerajGobbert, Matthias K.2018-10-252018-10-252009http://hdl.handle.net/11603/11689This report explores the use of multiple computational cores by multithreading in the software package Matlab on a compute node with two dual-core AMD Opteron processors. After testing the built-in functions of Matlab for a small test problem, we consider a classical test problem resulting from a finite difference discretization of the Poisson equation in two spatial dimensions. The results demonstrate that the use of more than one thread is often not very beneficial for Matlab code. This suggests that Matlab jobs should be limited to using one core by default to allow for the fastest throughput of the largest number of jobs. The comparison of solving the same problem with a code using the source code language C indicates that Matlab uses more memory and takes longer; this has to be contrasted with the productivity gains possible of programming in Matlab. This report also provides detailed information on how to run Matlab jobs in the UMBC High Performance Computing Facility.11 pagesen-USThis item is likely protected under Title 17 of the U.S. Copyright Law. Unless on a Creative Commons license, for uses protected by Copyright Law, contact the copyright holder or the author.Performance StudiesMultithreadingMatlabPoisson equationUMBC High Performance Computing Facility (HPCF)finite difference discretizationPoisson equation in two spatial dimensionsPerformance Studies for Multithreading in Matlab with Usage Instructions on hpcText