Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
half-reif-benchmarks bench_env.sh
1.2 kB · 31 lines
Shell
at develop
1234567891011121314151617181920212223242526272829303132if [[ "${BASH_SOURCE[0]}" = "${0}" ]]; then >&2 echo "Remember: you need to run me as 'source bench_env.sh', not execute it!" exitfi
# Create or activate Python virtual environmentif [ -d venv ]; then source venv/bin/activateelse python3 -m venv venv source venv/bin/activate python3 -m pip install git+https://github.com/MiniZinc/mzn-bench.gitfi
# Set other environment variables and load cluster modulesmodule load Bisonmodule load CMakemodule load Cbc/2.10.5-foss-2020amodule load CPLEX/12.10-GCCcore-9.3.0module load flexmodule load Gecode/431520083a51fc2f31c22fbc7b0378e7a1588e42-GCCcore-9.3.0module load Gurobi/9.1.0module load SCIPOptSuite/7.0.0-gompi-2020a
cmake -S software/minizinc -B software/minizinc/build -DCMAKE_INSTALL_PREFIX=`pwd`/software/install/cmake --build software/minizinc/build --config Release --target installcmake -S software/chuffed -B software/chuffed/build -DCMAKE_INSTALL_PREFIX=`pwd`/software/install/cmake --build software/chuffed/build --config Release --target install
export PATH=`pwd`/software/install/bin:$PATHexport LD_LIBRARY_PATH=`pwd`/software/install/lib:$LD_LIBRARY_PATH