On Tuesday, October 3 at 02:45 PM, quoth Paul Van Allsburg:
>Now when I try to use the wrapper it no doubt fails.
Where is the
>wrapper and can I just edit it?
The wrapper is, unfortunately, a binary executable, so you
can’t just
edit it.
On the other hand…
>Note that this compiler was either specified at
configure time or in
>one of many possible environment variables. Please see
the man page
>for the LAM wrapper compilers for more information.
THAT bit tells you what you need to know. Or, to quote the
man page:
By default, mpicc uses the C compiler that was selected
when LAM
was configured (with the –with-cc flag to ./configure,
or by
setting the environment variable CC before ./configure
was
invoked) as the local native C compiler, but this can be
overridden by the LAMMPICC environment variable.
So, to use mpicc again, you can simply do this:
export LAMMPICC=/opt/intel/cce/9.1.039/bin/icc
mpicc -c foo.c
--
Kyle B. Wheeler Scalable Computing
Systems (1423)
Student Intern Sandia
National Laboratories
kbwheel sandia.gov
505-844-7179
MS: 1319
CSRI/237
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/ |