I tried this:
% setenv LAMHCP "purify gcc"
% gmake
....
purify mpicc -o a.out my_prog.o
Sorry, 'mpicc' is an unknown compiler.
Usage: purify <compiler> foo.o ...
Purify only knows about the following compilers:
cc, acc, CC, gcc, g++, clcc, OSCC and ld.
See details in script:
/opt/rational/releases/purify.sol.2002a.06.00/purify.sh
I am using version 6.5.9. Is it possible that the LAMHCP environment
variable is available only in version 7? Is there a place that talks about
all the LAM env variables? I can't find LAMHCP in the 7.0.6 Manual, for
example. What does it do?
>From: Jeff Squyres <jsquyres_at_[hidden]>
>
>There's a far simpler solution -- just change the underlying compiler that
>LAM is using in the wrapper compiler. For example (this assumes a
>Bourne-like shell):
>
>shell$ export LAMHCP="purify cc"
>shell$ mpicc myprogram.c -o myprogram
>
>This will tell LAM to use "purify cc" as your underlying compiler, and
>should do all the Right Things (i.e., the "purify" command will never see
>the command "mpicc"; it will only see "cc" [or whatever underlying compiler
>you are using]). Ensure that you have configured and compiled LAM with
>--with-purify to avoid a bunch of false positive results.
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
|