Hello!

I have come across a problem compiling valgrind with MPI support
(using the intel mpicc). The configure script hangs at the line:

checking primary target for usable MPI2-compliant C compiler and mpi.h...

I can see several mpicc processes running. When I hit CTRL+C to check
the config.log, I see the command:

configure:10780: /path/to/mpicc -o conftest -g -O
-fno-omit-frame-pointer -Wall -fpic -m64  -fpic -shared -m64
conftest.c  >&  5

I saved the conftest.c and issued the command:

/path/to/mpicc -o conftest -g -O -fno-omit-frame-pointer -Wall -fpic
-m64  -fpic -shared -m64 conftest.c

The compiler issues a warning:

conftest.c(96): remark #111: statement is unreachable
    return 0;
    ^

but produces the binary conftest nevertheless. However, when I execute
it I get a segfault.

When I compile it with /path/to/mpicc -o conftest -g -O
-fno-omit-frame-pointer -Wall -fpic -m64  -fpic -shared-intel -m64
conftest.c

i.e. "-shared-intel" instead of plain "-shared", I do not get the
segfault upon execution.

So I tried to change the LDFLAGS_MPI in configure to
LDFLAGS_MPI="-fpic -shared-intel". But that did not help in getting
past the  "primary target test".

Now my question is: how can I get valgrind to compile with MPI support (intel)?

Thank you,

Thomas

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to