edf-hpc/verrou

Does it buid with Intel compilers ?

aminiussi opened this issue · 5 comments

Hi,

My build is failing with:

backend_mcaquad/verrou_amd64_linux-interflop_mcaquad.o: In function `_mca_dbin':
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:369: undefined reference to `__dtoq'
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:370: undefined reference to `__dtoq'
backend_mcaquad/verrou_amd64_linux-interflop_mcaquad.o: In function `_mca_inexactq':
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:280: undefined reference to `__addq'
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:280: undefined reference to `__addq'
backend_mcaquad/verrou_amd64_linux-interflop_mcaquad.o: In function `_mca_dbin':
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:378: undefined reference to `__addq'
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:378: undefined reference to `__addq'
/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:378: undefined reference to `__addq'
backend_mcaquad/verrou_amd64_linux-interflop_mcaquad.o:/beegfs/home/alainm/install/valgrind-3.14.0/verrou/backend_mcaquad/mcalib.c:280: more undefined references to `__addq' follow
[....]

Is there something I forgot to disable ?

Update: I do not have that problem when building with gnu compilers (as opposed to Intel compilers)

Thanks

We do not provide configure option to deactivate backend_mca.
Did you test old version of verrou before introduction of backend_mca (ie v2.1.0)?
If it works with intel compiler, it means this configure option will be useful .

I tried with 938fb4c and it failed (after a lot of warnings) with:

[...]
mv -f .deps/verrou_amd64_linux-vr_clo.Tpo .deps/verrou_amd64_linux-vr_clo.Po
make[3]: *** No rule to make target `vr_include_trace.c', needed by `verrou_amd64_linux-vr_include_trace.o'.  Stop.
make[3]: Leaving directory `/beegfs/home/alainm/install/valgrind-3.14.0/verrou'
[...]

The file vr_include_trace.c was not in this version. I think you should do again all the compile process
with ./autogen.sh and ./configure.

Ok, it build then (with a lot of warnings) and make check didn't fail (at valgrind build root).

Is it enough to assume it's ok ?

make check only compile the test programs. To run it you need to do
perl tests/vg_regtest --all

This will include some verrou test. As it is difficult to test arithmetic properties in the valgrind test framework, you also need to run other tests with make -C verrou/unitTest. To pass these tests you need to configure verrou with fma.