Make PTG compiler optional#783
Conversation
Not all consumers of PaRSEC require the PTG compiler. Setting `PARSEC_BUILD_PTGPP=OFF` will build only the runtime component needed for DTD and direct users of the PaRSEC runtime. Also fixes a duplicated installation of apply.h. Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
bosilca
left a comment
There was a problem hiding this comment.
I think you also need to remove it from the generated PaRSECConfig.cmake to let any potential users know the ptgpp is missing in this install.
My big problem with this is that you now get a crippled data helper library, everything based on JDF will not exists, such as basic collectives, reduce/broadcast, or more elaborate features, the data redistribution.
So I guess the real question is what is the harm of builbin the ptgcc most of the time, even if you don't plan to use it ?
|
Mhh, I was having issues with executing the PTG compiler during build when enabling address sanitizer. Not because of an issue in PaRSEC but because ASAN is stuck in init. Then I thought that I don't really need the compiler. But having an incomplete PaRSEC library also isn't great. Closing for now. |
Not all consumers of PaRSEC require the PTG compiler. Setting
PARSEC_BUILD_PTGPP=OFFwill build only the runtime component needed for DTD and direct users of the PaRSEC runtime.Also fixes a duplicated installation of apply.h.