[petsc-dev] path used for make run in Emacs not set
Barry Smith
bsmith at mcs.anl.gov
Tue Dec 7 19:14:26 CST 2010
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
Thanks
Barry
-*- mode: compilation; default-directory: "/Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/sacuda/" -*-
Compilation started at Tue Dec 7 19:11:10
make PETSC_DIR=/Users/barrysmith/Src/petsc-dev PETSC_ARCH=arch-cuda-64
nvcc -m64 -c --compiler-options="-Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-cuda-64/include -I/opt/local/include -I/usr/local/cuda/cusp/ -I/usr/local/cuda/thrust/ -I/Users/barrysmith/Src/petsc-dev/include/mpiuni -D__INSDIR__=src/ksp/pc/impls/sacuda/" sacuda.cu
/bin/sh: nvcc: command not found
make[1]: *** [/Users/barrysmith/Src/petsc-dev/arch-cuda-64/lib/libpetsc.a(sacuda.o)] Error 127
/usr/bin/ranlib: file: /Users/barrysmith/Src/petsc-dev/arch-cuda-64/lib/libpetsc.a(mhyp.o) has no symbols
More information about the petsc-dev
mailing list