diff --git a/build_spectral.sh b/build_spectral.sh new file mode 100755 index 000000000..1f8f8473f --- /dev/null +++ b/build_spectral.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +cat README +echo "Building spectral solver with ${FC}" + +# prepare building directory +if [ ! -d build_spectral ] ; then + mkdir build_spectral +fi +cd build_spectral + +# start building +cmake -D PETSC_DIR=${PETSC_DIR} \ + -D HDF5=${HDF5} \ + .. + +# instruction for compiling +echo "Please go into build_spectral directory and use make" +echo "to build DAMASK_spectal.exe" \ No newline at end of file