Skip to content
Snippets Groups Projects
Commit 36126ccb authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

be more verbose in USER-PHONON install script when KSPACE is not installed

parent eeee2d30
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,16 @@ action () { ...@@ -26,6 +26,16 @@ action () {
fi fi
} }
# USER-PHONON uses the parallel FFT wrapper used in PPPM,
# so we must require the KSPACE package to be installed.
if (test $1 = 1) then
if (test ! -e ../fft3d_wrap.h) then
echo "Must install KSPACE package with USER-PHONON"
exit 1
fi
fi
# list of files with optional dependcies # list of files with optional dependcies
action fix_phonon.cpp fft3d_wrap.h action fix_phonon.cpp fft3d_wrap.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment