updating structure of the CMake build system

This commit is contained in:
zhangc43 2016-02-25 14:30:12 -05:00
parent eae0c3c2a4
commit 409f98514b
1 changed files with 19 additions and 0 deletions

19
build_spectral.sh Executable file
View File

@ -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"