It also depends on what exactly you mean by "static binaries" (see
below).
To fill in the background for those on the list, we had some prior
off-list e-mail about static builds where I said:
-
Keep in mind that "--disable-shared --enable-static" on OMPI's
configure line refers to how
Michael and Reuti made some good suggestions.
- Don't confuse OpenMP with Open MPI.
- The OMPI_NUM_THREADS environment variable is an OpenMP thing, not
an Open MPI thing, so it will have no effect here. You might as well
remove it from your PBS script (it won't have any effect on LAM,
eit
There were long, religious debates about exactly this issue in the
OMPI developer group. The end result is pretty much a generalization
of what Michael said: our wrappers should do the absolute minimum to
compile and link MPI executables. That is, we provide the -I's, -
L's, and -l's neces
The problem is that we haven't done a whole lot of testing yet for
multiple thread support. In particular, OMPI was fundamentally
designed for both THREAD_MULTIPLE and progression thread support, and
several groups have done testing to ensure that when compiled with
multiple thread support