I'm using my local emacs to edit files on a remote cluster. Therefore I added:
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
to my remote .zshrc and I can edit and browse files without any problems. I can even compile (M-x compile) file using:
gcc test.c -o test
I checked: It runs on the cluster and not my local machine, however if I run:
mpicc -std=c99 -Wall -o exec heat.c /bin/sh: line 2: mpicc: command not found
If I do the same in a regular SSH-Session it works without any problems.
How can I use mpicc on the cluster from emacs?
emacs -Q doesn't help.