<div class="gmail_quote">On Wed, Dec 8, 2010 at 02:14, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Any idea how to set the path that Emacs uses for bash when you run make in Emacs? It seems to ignore .bashrc .profile .profile_bash .emacs_bash I can never get it to find nvcc</blockquote></div><br><div><div>(setq compilation-environment '("PETSC_DIR=/home/jed/petsc"</div>
<div><span class="Apple-tab-span" style="white-space:pre">                              </span>"PETSC_ARCH=ompi"</div><div>                                "PATH=whatever:you:need"))</div></div>