Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are there ways to just add flags to the wrapper compilers?

compilers flags wrapper
0
Posted

Are there ways to just add flags to the wrapper compilers?

0

Yes! Open MPI’s configure script allows you to add command line flags to the wrappers on a permanent basis. The following configure options are available: • –with-wrapper-cflags=: These flags are added into the CFLAGS area in the mpicc wrapper compiler. • –with-wrapper-cxxflags=: These flags are added into the CXXFLAGS area in the mpicxx wrapper compiler. • –with-wrapper-fflags=: These flags are added into the FFLAGS area in the mpif77 wrapper compiler. • –with-wrapper-fcflags=: These flags are added into the FCFLAGS area in the mpif90 wrapper compiler. • –with-wrapper-ldflags=: These flags are added into the LDFLAGS area in all the wrapper compilers. • –with-wrapper-libs=: These flags are added into the LIBS area in all the wrapper compilers. These configure options can be handy if you have some optional compiler/linker flags that you need both Open MPI and all MPI applications to be compiled with. Rather than trying to get all your user

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123