LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jones, Donald E (donald.e.jones_at_[hidden])
Date: 2003-05-22 14:50:20


Is LAM thread safe? We are using the BLAS routines dgemm/zgemm from the Intel Math Kernel Library on a Linux 7.2 system. Intel threads these routines using OpenMP. Is LAM compatible with OpenMP?

We are using Portland Group compilers and have found that we need to include the -mp flag to get threading of the routines. This flag informs the compiler to interpret OpenMP statements. It also sets a reentrant flag, where local variables are placed on the stack and optimizations that may result in non-reentrant code are disabled.

Don Jones