Commit 186737e5 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Improve script to find main driver from path.

parent bea5ed84
#! /bin/bash
set -ex
set -eux
scriptdir=$(dirname $0)
if [[ x$scriptdir != x ]]; then
scriptdir+=/
fi
module load cmake/3.17.1-gcc-9.1.0 gcc/6.4.0 intel/17.0.6 \
openmpi/2.0.2p2_hpcx-intel14 \
autoconf/2.69 automake/1.14.1 libtool/2.4.6
......@@ -16,7 +20,7 @@ mkdir -p "$SCRATCH"
lfs setstripe --stripe-count 8 "$SCRATCH"
trap 'rm -rf "$builddir"' EXIT
export PATH="${netcdf_dir}/bin:$PATH"
./build-cdi-pio-stack.sh \
${scriptdir}build-cdi-pio-stack.sh \
build=intel17-openmpi-2.0.2p2 \
builddir="$builddir" \
multi_installs=: \
......
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