On Wed, Aug 12, 2009, Ross Walker wrote:
> ....Disaster if you are running mpi and forget to set
> OMP_NUM_THREADS=1 on all nodes.
...
> There is protection in the openmp code to force runtime OMP_NUM_THREADS to 1
> (using an openMP call) for all the other MKL routines, like vdinvsqrt.
Does it make sense to use the openMP call to set OMP_NUM_THREADS to 1 if mpi
is also running? Could that eliminate the "disaster" in the first paragraph?
And/or allow us always to link to the openmp version of the library (assuming
it is available)?
....dac
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Aug 19 2009 - 22:17:50 PDT