[petsc-dev] path used for make run in Emacs not set

Jed Brown jed at 59A2.org
Tue Dec 7 19:36:27 CST 2010


On Wed, Dec 8, 2010 at 02:14, Barry Smith <bsmith at mcs.anl.gov> wrote:

> 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


(setq compilation-environment '("PETSC_DIR=/home/jed/petsc"
"PETSC_ARCH=ompi"
                                "PATH=whatever:you:need"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101208/d563738c/attachment.html>


More information about the petsc-dev mailing list