[ATfL] OMPT support should not be built at that stage#274
[ATfL] OMPT support should not be built at that stage#274pawosm-arm merged 1 commit intoarm-softwarefrom
Conversation
It turned out that libomp.a that we are shipping is useless. It should not support OMPT as it tries to dlopen() libarcher.so We are already building libomp.so with OMPT support enabled along with libarcher.so in the previous stage. Fully operational libomp.a is needed by Allinea Smoke Tests. With OMPT disabled, -ldl is not needed for OpenMP tests to pass, so the config file hack could be removed from build.sh.
Is there no libarcher.a? |
There is an equivalent, it's called libarcher-static.a, but it doesn't solve the problem. Linking against it does not stop OMPT from looking for libarcher.so. I suppose the use case scenario for libarcher-static.a is different (hence the name preventing straight substitution between .so and .a). Setting archer-specific environment variables (e.g. the one which disable its operation) isn't helping with the problem, and it makes sense as libarcher.so wasn't open, so it can't read its own environment variables. I couldn't find any environment variable similar to |
kiranchandramohan
left a comment
There was a problem hiding this comment.
LG.
Might be worth raising an upstream issue.
It turned out that libomp.a that we are shipping is useless.
It should not support OMPT as it tries to dlopen() libarcher.so
We are already building libomp.so with OMPT support enabled along with libarcher.so in the previous stage.
Fully operational libomp.a is needed by Allinea Smoke Tests.
With OMPT disabled, -ldl is not needed for OpenMP tests to pass, so the config file hack could be removed from build.sh.