Ok i think you didn’t compile StaMPS in the first Place.
For a start it might be better to download StaMPS again from here:
https://homepages.see.leeds.ac.uk/~earahoo/stamps/
Go to your Download-Folder, right Click “Open in Terminal” (no File/Folder selected).
In Terminal:
tar -xvf StaMPS_v3.3b1.tar.gz
cd StaMPS_v3.3b1/src/
make
make install
You can move the Folder after that if you want. You need to change the “StaMPS_CONFIG.bash” File again. And also replace the two files mentioned here:
Make sure you have triangle, snaphu, Doris and Matlab. And to also change these Paths in “StaMPS_CONFIG.bash”
I just needed to change the follwing paths:
export STAMPS
export DORIS_BIN
export TRIANGLE_BIN
export SNAPHU_BIN
If you have Matlab installed but the command “matlab” in terminal dosen’t work try making a link.
In Terminal:
sudo ln -s [/usr/local/MATLAB/R2018a/]bin/matlab matlab
change the path between to match your System bevor running the command. And also remove the .