Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
335 B

2 years ago
#!/usr/bin/env bash
if [ -z "$1" ]
then
printf "Usage: setup.sh install_directory [dependencies].\n" 1>&2
exit 1
2 years ago
fi
# $2 = NetCDF-C $3 = HDF5
2 years ago
cd $(dirname $0)
libname=$(basename $(pwd))
mkdir -p build
2 years ago
cd build
STATIC=YES FORTRAN=NO MPI=NO INSTALL_PATH="$1" NETCDF_PATH="$2" HDF5_PATH="$3" ../cmake-exodus
make -j8
make install