Can I pass specific flags to the compilers / linker used to build Open MPI?
Yes. Open MPI uses a standard Autoconf configure script to set itself up for building. As such, there are a number of command line options that can be passed to configure to customize flags that are passed to the underlying compiler to build Open MPI: • CFLAGS: Flags passed to the C compiler. • CXXFLAGS: Flags passed to the C++ compiler. • FFLAGS: Flags passed to the Fortran 77 compiler. • FCFLAGS: Flags passed to the Fortran 90 compiler. • LDFLAGS: Flags passed to the linker (not language-specific). This flag is rarely required; Open MPI will usually pick up all LDFLAGS that it needs by itself. • LIBS: Extra libraries to link to Open MPI (not language-specific). This flag is rarely required; Open MPI will usually pick up all LIBS that it needs by itself. • LD_LIBRARY_PATH: Note that we do not recommend setting LD_LIBRARY_PATH via configure, but it is worth noting that you should ensure that your LD_LIBRARY_PATH value is appropriate for your build. Some users have been tripped up, for