-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9989f4d
commit df6af86
Showing
7 changed files
with
104 additions
and
40 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: run small search using pegasus + condor | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 90 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: install condor | ||
run: | | ||
wget -qO - https://research.cs.wisc.edu/htcondor/ubuntu/HTCondor-Release.gpg.key | sudo apt-key add - | ||
echo "deb http://research.cs.wisc.edu/htcondor/ubuntu/8.9/focal focal contrib" | sudo tee -a /etc/apt/sources.list | ||
echo "deb-src http://research.cs.wisc.edu/htcondor/ubuntu/8.9/focal focal contrib" | sudo tee -a /etc/apt/sources.list | ||
sudo apt-get -o Acquire::Retries=3 update | ||
sudo apt-get -o Acquire::Retries=3 install minihtcondor | ||
sudo systemctl start condor | ||
sudo systemctl enable condor | ||
- name: install pegasus | ||
run: | | ||
wget -qO - https://download.pegasus.isi.edu/pegasus/gpg.txt | sudo apt-key add - | ||
echo "deb https://download.pegasus.isi.edu/pegasus/ubuntu bionic main" | sudo tee -a /etc/apt/sources.list | ||
sudo apt-get -o Acquire::Retries=3 update | ||
sudo apt-get -o Acquire::Retries=3 install pegasus=5.0.8-1+ubuntu18 | ||
- run: sudo apt-get -o Acquire::Retries=3 install *fftw3* intel-mkl* | ||
- name: Install pycbc | ||
run: | | ||
python -m pip install --upgrade 'pip<22.0' setuptools | ||
pip install GitPython # This shouldn't really be needed! | ||
pip install -r requirements.txt | ||
pip install . | ||
- name: installing sbank | ||
pip install sbank | ||
- name: generating template bank | ||
run: bash -e examples/search/bank.sh | ||
- name: running workflow | ||
run: | | ||
cp examples/tmpltbank/compress_workflow/*.ini ./ | ||
bash -e examples/tmpltbank/compress_workflow/gen.sh | ||
cd output | ||
bash -e ../examples/search/submit.sh | ||
python ../examples/search/check_job.py | ||
find submitdir/work/ -type f -name '*.tar.gz' -delete | ||
- name: store log files | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: logs | ||
path: output/submitdir/work | ||
- name: store result page | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: results | ||
path: html |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
pycbc_make_bank_compression_workflow \ | ||
--workflow-name compress \ | ||
--output-dir output \ | ||
--config-files \ | ||
compress.ini \ | ||
executables.ini \ | ||
--config-overrides \ | ||
results_page:output-path:$(pwd)/html |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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