Jed,

   Thanks, but that is painful because my path changes and I'd prefer to have 
it just get if from my .bashrc

  Barry

On Dec 7, 2010, at 7:36 PM, Jed Brown wrote:

> 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"))


Reply via email to