Skip to content

Commit

Permalink
Added mustang compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewBonanni committed Feb 1, 2022
1 parent 08c5ea7 commit a448e02
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions compile_script_mustang_intel.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#! /bin/bash
# Need to build SUNDIALS with -fPIC and set(CMAKE_MACOSX_RPATH 1)
export CANTERA_DIR=~/local/cantera/2.4.0/
export SUN_INCLUDE=~/local/sundials/2.7.0/include
export SUN_LIB=~/local/sundials/2.7.0/lib
export BOOST_INCLUDE=~/local/boost/1.55.0/build/include
export EIGEN_INCLUDE=~/local/eigen/3.2.9

scons -j24 build prefix=$CANTERA_DIR \
CXX=g++ CC=gcc FORTRAN=gfortran python_package=none \
optimize_flags='-O3' \
env_vars='all' \
sundials_include=$SUN_INCLUDE sundials_libdir=$SUN_LIB \
boost_inc_dir=$BOOST_INCLUDE f90_interface=y system_eigen=y \
extra_inc_dirs=$EIGEN_INCLUDE
if [ -z "SCONS_TEST" ]; then
scons -j24 test
fi
scons -j24 install

0 comments on commit a448e02

Please sign in to comment.