Commit fb769d1e authored by Cody Permann's avatar Cody Permann

Merge branch 'develop' into 'develop'

Added build script for coupled MOOSE+Nek5000 example

This includes a script (examples/template_example/build_coupled_nek.sh) for building the Nek5000 libraries and MOON.  The script also deletes/updates the Nek5000 configuration files.  

.gitignore is updated to include build and run artifacts from Nek5000.

See merge request !7
parents dac9ddd1 c687e5b3
......@@ -141,3 +141,8 @@ include/base/*Revision.h
# phase_field/tests/solution_rasterizer
out.xyz
# Nek5000 run files
*.sch
SESSION.NAME
nek5000
#k!/usr/bin/env bash
NEK_CASENAME="$(basename $(pwd))"
NEK_SOURCE_DIR="$(dirname $(dirname $(pwd)))/Nek5000"
SCH_FILE="$NEK_CASENAME.sch"
if [ -e $SCH_FILE ]; then
echo "Deleting $SCH_FILE..."
rm -f $SCH_FILE
fi
echo "Creating SESSON.NAME..."
echo "$NEK_CASENAME" > SESSION.NAME && pwd >> SESSION.NAME
echo "Building Nek5000 objects..."
$NEK_SOURCE_DIR/core/makenek $NEK_CASENAME $NEK_SOURCE_DIR
echo "Building libNek5000.a..."
make -f makefile.nek lib
echo "Building MOON driver..."
make
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment