I wish to compile openmpi-1.2.2 so that it:
- support MPI_THREAD_MULTIPLE
- enable profiling (generate gmon.out for each process after my client app
finish running) to tell apart CPU time of my client program from the MPI
library
- static linking for everything (incl client app and all components of
library openmpi)
in the documentation, it says that --enable-mcs-static=<CSV list> will
enable static linking of the modules in the list, however what can I specify
if I want to statically link *all* mcs modules without knowing the list of
modules available?
Also this is the plan for my command used for configuring openmpi:
./configure CFLAGS="-g -pg -O3 -static" --prefix=./ --enable-mpi-threads
--enable-progress-threads --enable-static --disable-shared
--enable-mcs-static --with-devel-headers
Did you see anything wrong with this command? what else can I modify to
satisfy the goals listed above?
Thanks!
|