Skip to content

ExaHyPE binaries should tell about compile time flags

Sometimes I have an ExaHyPE binary and don't remember with which options I compiled it. I would like to see as much information as possible, for instance:

$ ExaHyPE-Euler-p5 --version
This is ExaHyPE.
Compiled at Mon 19 Dec 15:43:36 CET 2016
Based on ExaHyPE repository git commit fbec392.
Created with md5sum(ExaHyPE.jar) = xxxxxxxxxx

Built with options:
COMPILER       | GNU
MODE           | Release
SHAREDMEM      | None
DISTRIBUTEDMEM | None

Compiled with gcc v1.2.3.4
Compiled with MPI v2.3.4.5
Compiled with TBB v1.2.3.4

Especially the Mode = Release|Debug|... would be very helpful.