Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 646 install #680

Merged
merged 21 commits into from
Feb 12, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#646 making scikits install faster
  • Loading branch information
valentinsulzer committed Oct 27, 2019
commit 102436d0c4b1e82edd02fa8d25093206f1b6f191
10 changes: 9 additions & 1 deletion scripts/install_scikits_odes.sh
Original file line number Diff line number Diff line change
@@ -13,7 +13,15 @@ tar -xvf $SUNDIALS_NAME
mkdir build-sundials-3.1.1
cd build-sundials-3.1.1/
cmake -DLAPACK_ENABLE=ON -DSUNDIALS_INDEX_TYPE=int32_t -DBUILD_ARKODE:BOOL=OFF -DEXAMPLES_ENABLE:BOOL=OFF -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR ../sundials-3.1.1/
make install
if [ "$(uname)" == "Darwin" ]; then
# Mac OS X platform
NUM_OF_CORES=$(sysctl -n hw.cpu)
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# GNU/Linux platform
NUM_OF_CORES=$(cat /proc/cpuinfo | grep processor | wc -l)
fi
make clean
make -j$NUM_OF_CORES install
cd $CURRENT_DIR
rm -rf $TMP_DIR
export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH # For Linux