Last active
September 20, 2022 20:39
-
-
Save matthiasdiener/479edb060ca26d3f4b3a9aeb45c303ac to your computer and use it in GitHub Desktop.
Install emirge with the Fusion Array Context and SVM support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script to install emirge with the Fusion Array Context and SVM support | |
# THIS SCRIPT IS LIKELY NOT NECESSARY ANYMORE | |
# Open PRs that are involved for SVM: | |
# - https://github.com/pocl/pocl/pull/1067 | |
set -ex | |
# Emirge | |
git clone [email protected]:illinois-ceesd/emirge svmfuse | |
cd svmfuse | |
./install.sh --branch=production | |
source config/activate_env.sh | |
# Loopy | |
cd loopy | |
## Actually set an argument size limit | |
sed -i.bak "s,limit_arg_size_nbytes: Optional\[int\] = None,limit_arg_size_nbytes: Optional[int] = 1024," loopy/target/pyopencl.py | |
cd .. | |
# Y2-Isolator | |
git clone [email protected]:illinois-ceesd/drivers_y2-isolator | |
# Finish | |
set +x | |
echo "Installation finished. To test it:" | |
echo "$ source svmfuse/config/activate_env.sh" | |
echo "$ cd svmfuse/drivers_y2-isolator/smoke_test" | |
echo "$ python -m mpi4py isolator.py -i run_params.yaml --lazy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment