From 409f98514baa95f80d91f0ebffcbcd0294b36a56 Mon Sep 17 00:00:00 2001 From: zhangc43 Date: Thu, 25 Feb 2016 14:30:12 -0500 Subject: [PATCH] updating structure of the CMake build system --- build_spectral.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 build_spectral.sh 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