pmodels / mpich

Official MPICH Repository
http://www.mpich.org
Other
541 stars 280 forks source link

mpl: pass MPL's CFLAGS back to MPICH #7152

Closed yfguo closed 1 week ago

yfguo commented 1 week ago

Pull Request Description

PR#7074 consolidated SSE2 and AVX related optimization options into MPL's configure because only MPL explicitly use them. MPICH's CFLAGS no longer has those options. However, with Intel compilers, this does results in some performance degradation. Therefore, we need to propagate the CFLAGS in MPL back into the MPICH configure.

This PR creates a MPL_CFLAGS in the localdefs that allows the PAC_CONFIG_MPL macro to add it to the main CFLAGS.

This is an alternative and probably better solution than the 2nd commit in #7150 .

Author Checklist

yfguo commented 1 week ago

test:mpich/ch4/ofi test:mpich/ch4/ucx

yfguo commented 1 week ago

test:mpich/ch4/ofi test:mpich/ch4/ucx