This may be an elementary question but I haven't found any confirmation of the following question or come up with any counterexample.
Suppose we have an open cover $\{U_{\alpha}\}$ for a manifold $M$ and smooth functions $f_{\alpha}:U_{\alpha}\to\mathbb{R}$. Does there exist a partition of unity subordinate to $\{U_{\alpha}\}$, say $\{\varphi_{\alpha}\}$, such that $$\sum_{\alpha}\varphi_{\alpha}f_{\alpha}$$ is smooth?