Initial step to support OpenMP
catch exceptions by reference
Initial step to support OpenMP