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

Barry Smith bsmith at mcs.anl.gov
Tue Dec 7 19:38:46 CST 2010


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




More information about the petsc-dev mailing list