Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1294 commits
Select commit Hold shift + click to select a range
5d2e720
Ugh, typo.
jaycedowell Sep 25, 2023
9465265
Set a burst size for rate limiting and add a mechanism to wait for th…
jaycedowell Oct 4, 2023
54c6e96
Unused variable.
jaycedowell Oct 4, 2023
6f21a1c
Remove most of the popen() calls.
jaycedowell Oct 6, 2023
9573c02
Bug fix plus try to minimize how much gets reset at each call.
jaycedowell Oct 6, 2023
8124424
Ugh.
jaycedowell Oct 6, 2023
03a4586
Make sure we only accept complete ARP entries.
jaycedowell Oct 11, 2023
c421587
Request completion event notification as soon as the CQ is created.
jaycedowell Oct 11, 2023
4a7e633
Use a more detailed accounting of packets to make sure we don't overw…
jaycedowell Oct 11, 2023
c6e428b
Wrong return type.
jaycedowell Oct 11, 2023
f07c6d0
Use compatible headers.
jaycedowell Oct 11, 2023
88625a6
A couple of fixes to get things working.
jaycedowell Oct 11, 2023
0eb382b
Enable burst sizes for packet rate limiting for all writer methods.
jaycedowell Oct 27, 2023
66cac67
Update linalg algorithms for better optimization
dentalfloss1 Nov 13, 2023
4a6248c
Update linalg.cu
dentalfloss1 Nov 14, 2023
2dbe94c
Update linalg.cu
dentalfloss1 Nov 14, 2023
694fb39
Update linalg.cu
dentalfloss1 Nov 14, 2023
75c74f6
Fix an off-by-one error from a header mis-match in how packets are ge…
jaycedowell Dec 4, 2023
e9c83c5
Merge pull request #221 from ledatelescope/numpy_resize
jaycedowell Dec 7, 2023
f390184
Merge pull request #220 from ledatelescope/unregistred_memory_type
jaycedowell Dec 7, 2023
af885c0
Update linalg_kernels.cu
dentalfloss1 Dec 7, 2023
3c68028
Merge pull request #224 from ledatelescope/update-linalg-algos
jaycedowell Dec 7, 2023
fae28f7
Merge pull request #3 from jaycedowell/caltech-bifrost-dsp
jaycedowell Dec 8, 2023
84cde94
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Dec 8, 2023
b0254e8
I thought this was in configure.ac already.
jaycedowell Dec 8, 2023
b16dc15
Fix a bad merge.
jaycedowell Dec 8, 2023
749f0ba
Give up on packet pacing for now.
jaycedowell Dec 8, 2023
e59a8ca
Make sure everything expects an OS index and use PU instead of CORE.
jaycedowell Dec 11, 2023
451650b
Additional verbs configuration options and packet pacing testing.
jaycedowell Dec 11, 2023
53e4189
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Dec 11, 2023
860b522
Reset tmp before trying to find the NUMA node.
jaycedowell Dec 11, 2023
a2aea31
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Dec 11, 2023
801ea2c
began simple header
dentalfloss1 Jan 19, 2024
c416496
progress
dentalfloss1 Jan 19, 2024
166c566
progress
dentalfloss1 Jan 24, 2024
5d04501
simple packet working
dentalfloss1 Jan 26, 2024
d043ac5
re-enable optimization
dentalfloss1 Jan 26, 2024
978e4d2
Missed a couple.
jaycedowell Jan 26, 2024
066f356
Also update the packet size so we know what to expect in the future.
jaycedowell Jan 26, 2024
a1cf369
There is so little to the header that we cannot tell if the observing…
jaycedowell Jan 26, 2024
c63f37e
Fixed not copying all the data to ring buffer
dentalfloss1 Feb 8, 2024
e89a650
simplify
dentalfloss1 Feb 8, 2024
c7478b1
Update simple.hpp
dentalfloss1 Feb 16, 2024
7dc1c5c
Explicitly include cstdint for gcc13 (#227)
league Feb 19, 2024
0407a30
Merge branch 'master' into ibverb-support
jaycedowell Feb 19, 2024
77ee338
Bad merge.
jaycedowell Feb 19, 2024
10f6437
Getting closer with this update.
jaycedowell Feb 19, 2024
03fa46a
Update configure.
jaycedowell Feb 19, 2024
08508b4
Missed one.
jaycedowell Feb 19, 2024
38264a8
Rebuild.
jaycedowell Feb 19, 2024
b6e6799
I think this is the correct fix.
jaycedowell Feb 19, 2024
4b9dd18
Merge branch 'ibverb-support' of https://github.com/ledatelescope/bif…
jaycedowell Feb 19, 2024
c9275ac
Lower cased names for the 'io' enum as well.
jaycedowell Feb 19, 2024
d1bb73a
Type hints.
jaycedowell Feb 19, 2024
c383f32
Type hints and cleanups.
jaycedowell Feb 19, 2024
7c07ef0
Drop some more Py2 stuff.
jaycedowell Feb 19, 2024
f634bd1
Remove for #222.
jaycedowell Feb 19, 2024
a9640e1
Typo.
jaycedowell Feb 19, 2024
67f9b70
Updates to also test on Py3.12 and clear up some Node.js 16 warnings.
jaycedowell Feb 20, 2024
b6ae8c8
memory.memcpy -> ndarray.copy_array
jaycedowell Feb 20, 2024
82939d3
No imp module in Py3.12.
jaycedowell Feb 20, 2024
98ccc58
Drop the GUPPI tests in testbench.
jaycedowell Feb 20, 2024
012aa2f
Drop the GUPPI tests in testbench.
jaycedowell Feb 20, 2024
53f0f2d
RegEx fix.
jaycedowell Feb 20, 2024
962339f
RegEx fix.
jaycedowell Feb 20, 2024
0c8f19b
Another regex fix.
jaycedowell Feb 20, 2024
898e4a8
Small update to test #228.
jaycedowell Feb 20, 2024
de72fab
Another small update to test #228.
jaycedowell Feb 20, 2024
567297b
not working yet
dentalfloss1 Feb 22, 2024
9c4306f
working disk io test for simple
dentalfloss1 Feb 23, 2024
6570bab
working test_udp
dentalfloss1 Feb 23, 2024
390f047
Merge branch 'ibverb-support' into add-simple-packet
dentalfloss1 Feb 23, 2024
9e5946a
remove debugging print statements
dentalfloss1 Feb 27, 2024
f5e371e
remove more debugging print statements
dentalfloss1 Feb 27, 2024
2906a95
undo line break
dentalfloss1 Feb 27, 2024
a7a5237
correct packet format size for simple
dentalfloss1 Feb 27, 2024
00756b7
Update packet_writer.hpp
dentalfloss1 Feb 27, 2024
801f6be
Update simple.hpp
dentalfloss1 Feb 27, 2024
463529b
Update packet_writer.hpp
dentalfloss1 Feb 27, 2024
d7ebb9b
Update test_disk_io.py
dentalfloss1 Feb 27, 2024
06ccc82
working on udp io test
dentalfloss1 Feb 27, 2024
36cf54e
remove debug file copy
dentalfloss1 Feb 27, 2024
66b0197
test udp io not working
dentalfloss1 Feb 27, 2024
4829990
retry
dentalfloss1 Feb 28, 2024
3fb4194
fix
dentalfloss1 Feb 28, 2024
f081fd1
working version of packet tests
dentalfloss1 Feb 28, 2024
8dce32d
Need be64toh, not 32
dentalfloss1 Mar 6, 2024
e1d950b
and the header filler too
dentalfloss1 Mar 6, 2024
30a03f9
debugging
dentalfloss1 Mar 7, 2024
9aff659
remove debugging
dentalfloss1 Mar 7, 2024
6458835
remove debugging
dentalfloss1 Mar 8, 2024
fe154b6
Merge branch 'add-simple-packet' of https://github.com/ledatelescope/…
dentalfloss1 Mar 8, 2024
3b27351
Unlock memory before free.
jaycedowell Mar 9, 2024
8d80917
Missed a couple unlocks. Plus, just use _limiter for the rate limit.
jaycedowell Mar 9, 2024
d97c645
Drop provide a default packet size.
jaycedowell Mar 9, 2024
012c9ee
Check both the upper and lower ends of the packet pacing range.
jaycedowell Mar 9, 2024
cfad6a1
Change assignment.
jaycedowell Mar 9, 2024
56b84d2
Update which version of ctypesgen to use.
jaycedowell Mar 15, 2024
92240df
Merge branch 'master' into astype-support
jaycedowell Mar 15, 2024
b706d5e
Bad merge.
jaycedowell Mar 15, 2024
e443012
Make a copy of the ring's data (#231).
jaycedowell Mar 15, 2024
351000a
Refactor into a TestCase per packet format.
jaycedowell Mar 16, 2024
dfccdda
Merge branch 'ibverb-support' into add-simple-packet
jaycedowell Mar 16, 2024
edfaca0
Naming cleanup.
jaycedowell Mar 17, 2024
0e6d1d8
Even more cleanups to make the test suite more useful as an example.
jaycedowell Mar 17, 2024
6de4594
Merge branch 'ibverb-support' into add-simple-packet
jaycedowell Mar 17, 2024
03d5073
More with closing().
jaycedowell Mar 17, 2024
53cd504
Formatting.
jaycedowell Mar 17, 2024
46693b3
Formatting.
jaycedowell Mar 17, 2024
96bc19a
The SIMPLE tests seem sensitive to what timetag0 is.
jaycedowell Mar 17, 2024
c22556d
Merge pull request #225 from ledatelescope/add-simple-packet
jaycedowell Mar 19, 2024
02434e2
Better comments plus formatting fixes.
jaycedowell Mar 19, 2024
0477754
Indentation.
jaycedowell Mar 19, 2024
4562c9d
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Mar 19, 2024
e32a32b
Nice.
jaycedowell Mar 19, 2024
b91235b
Merge pull request #177 from ledatelescope/astype-support
dentalfloss1 Mar 19, 2024
8860fd0
Merge branch 'master' into memory_space_fix
jaycedowell Mar 19, 2024
f9ae42b
Add back in GUPPI tests.
jaycedowell Mar 19, 2024
587044a
Don't shrink writer buffers.
jaycedowell Mar 22, 2024
8c356c5
Some tiny fixes for type annotations
league Apr 18, 2024
8c5d258
More changes to satisfy type checker
league Apr 18, 2024
dcbd02b
Better fix for dtype annotation in sigproc2.
league Apr 18, 2024
076d9fb
Slight cleanup of type annotations on these 3 blocks
league Apr 18, 2024
607b20b
Cleanups plus a switch to non-temporal stores for the SSE/AVX branches.
jaycedowell Apr 18, 2024
ce76668
Copy real and complex at the same time.
jaycedowell Apr 18, 2024
1751d05
Fixes.
jaycedowell Apr 18, 2024
0ca5998
Another one.
jaycedowell Apr 18, 2024
9d18f89
Merge pull request #206 from realtimeradio/lwa352
jaycedowell Apr 19, 2024
a360f0b
Formatting.
jaycedowell Apr 19, 2024
1c074b7
Type fixes, got prematurely excited about 3.10 notation
league Apr 19, 2024
e2c7946
Merge branch 'master' into dcp-sigproc-detect-update
jaycedowell Apr 19, 2024
b566729
Merge pull request #218 from ledatelescope/dcp-sigproc-detect-update
jaycedowell Apr 19, 2024
64c6f73
Lockfile will warn periodically if waiting more than 5s
league Apr 21, 2024
3c6c912
clarify the README for the docs
dentalfloss1 Apr 25, 2024
774cb48
include docs on writing packet formats
dentalfloss1 Apr 25, 2024
7e97eba
Cleanup whitespace
jaycedowell May 3, 2024
6445e69
Formatting.
jaycedowell May 3, 2024
3a2c4aa
Also need breathe.
jaycedowell May 3, 2024
6eae812
In Github CI script, update setup-python
league May 19, 2024
e3b6dae
Don't test with Python 3.6 on MacOS
league May 29, 2024
9706acd
Fix DeprecationWarning: invalid escape sequence \d
league May 29, 2024
8d87f9b
Merge pull request #235 from ledatelescope/mac-py36
jaycedowell May 29, 2024
0ae61e7
Added better documentation build environment detection.
jaycedowell May 29, 2024
b2d56a6
Consolidate docs toggling flags into two.
jaycedowell May 29, 2024
6efaa73
Tie in the doc build flags with the top level Makefile.
jaycedowell May 29, 2024
2a1f8fe
Rebuild configure.
jaycedowell May 29, 2024
7b52298
Switch to detecting the scripts that are used to build the python docs.
jaycedowell May 29, 2024
712d3af
We should make sure this is consistent with the rest of the build.
jaycedowell May 29, 2024
c064bf2
Rebuild configure.
jaycedowell May 29, 2024
27f2834
More verbose about sphinix components.
jaycedowell May 29, 2024
9aab2f2
Rebuild configure.
jaycedowell May 29, 2024
72230f2
Merge pull request #236 from ledatelescope/fix-regex-escapes
jaycedowell May 30, 2024
c57de22
added one import statement
dentalfloss1 Jun 3, 2024
09b9b3f
Merge branch 'master' of github.com:ledatelescope/bifrost
dentalfloss1 Jun 3, 2024
dce4eb1
Revert "Merge branch 'master' of github.com:ledatelescope/bifrost"
dentalfloss1 Jun 3, 2024
f779c50
Include the Python version with the telemetry.
jaycedowell Jul 2, 2024
ec07ffa
Write PID to Lockfile
league Jul 15, 2024
c7b89c0
Merge pull request #234 from ledatelescope/lockfile-wait-notice
jaycedowell Jul 15, 2024
75edbcf
Update README.md
dentalfloss1 Jul 16, 2024
df22011
Update README.md
dentalfloss1 Jul 16, 2024
1376fbb
Update README.md
dentalfloss1 Jul 16, 2024
23530b8
Adjust commands to match.
jaycedowell Jul 16, 2024
89c6d74
See if numpy<2 helps.
jaycedowell Jul 16, 2024
3acedcd
Merge pull request #240 from ledatelescope/telemetry_update
jaycedowell Jul 16, 2024
ccb5eb7
Merge pull request #233 from ledatelescope/update-docs
jaycedowell Jul 16, 2024
b0a73e8
These need memory binding as well.
jaycedowell Jul 16, 2024
8243297
Drop calls to cudaDeviceSetSharedMemConfig() since this doesn't do an…
jaycedowell Jul 17, 2024
0b219b6
We still support CUDA down to 10 so maybe wrap this code if we have t…
jaycedowell Jul 17, 2024
14f1220
Force all CUDA-related configure checks to be run with .cu extensions…
jaycedowell Jul 17, 2024
d8288d2
Fix the GPU shared memory check.
jaycedowell Jul 17, 2024
450cbd1
Give up on numpy2 for now.
jaycedowell Jul 17, 2024
d6d8295
We need a thrust::raw_pointer_cast() here as well.
jaycedowell Jul 17, 2024
d4e952e
include CUDA version info in docs
dentalfloss1 Jul 18, 2024
a6b5a45
Update README.md
dentalfloss1 Jul 18, 2024
3d0a8c1
Update README.md
dentalfloss1 Jul 18, 2024
6fd47cd
Add an __init__.py file.
jaycedowell Jul 19, 2024
da5566d
Use the correct version of Python.
jaycedowell Jul 19, 2024
61fbe38
Upgrade 11.2.2 to 'working'.
jaycedowell Jul 22, 2024
a285915
Typo.
jaycedowell Jul 22, 2024
bb055d2
Wording.
jaycedowell Jul 22, 2024
9baceaa
likely working -> working; Issue warning about CUDA 11.8.
jaycedowell Jul 22, 2024
ac9b7ab
Remove entries that are install/version mis-match problems.
jaycedowell Jul 22, 2024
70eb339
More wording.
jaycedowell Jul 24, 2024
05dc0ac
Merge pull request #244 from ledatelescope/add-cudaver-to-docs
jaycedowell Jul 24, 2024
3adca06
Update Getting-started-guide.rst
dentalfloss1 Aug 19, 2024
970dd02
Merge branch 'ibverb-support' into master
jaycedowell Aug 19, 2024
790c8f5
Merge branch 'master' into cuda_12.4_dep
jaycedowell Sep 5, 2024
168737b
Merge branch 'master' into cuda_12.4_dep
jaycedowell Sep 5, 2024
72540ee
Work around for #247.
jaycedowell Sep 5, 2024
3d9508f
Merge pull request #245 from ledatelescope/master
jaycedowell Sep 5, 2024
e8d10a0
Merge pull request #248 from ledatelescope/ibverb-support
jaycedowell Sep 6, 2024
29cc063
Merge pull request #242 from ledatelescope/cuda_12.4_dep
jaycedowell Sep 6, 2024
5b74761
ibverb-support has been merged.
jaycedowell Sep 6, 2024
5c980d1
ibverb-support has been merged.
jaycedowell Sep 6, 2024
9f1b5b8
So much has happened since this was last updated.
jaycedowell Sep 6, 2024
84cc3f9
Even more stuff.
jaycedowell Sep 6, 2024
9e6bd6c
Try universal ctags.
jaycedowell Nov 11, 2024
103d24f
Update the ctags check.
jaycedowell Nov 11, 2024
a4f63cf
README.md update for universal-ctags/Redhat.
jaycedowell Nov 11, 2024
71e8fe0
universal-ctags here as well (does that actually work?)
jaycedowell Nov 11, 2024
e2c1360
Missed updating these two files.
jaycedowell Nov 11, 2024
828da73
Try a little harder for #249.
jaycedowell Dec 9, 2024
1af88a3
Let's include the helper this time (#249).
jaycedowell Dec 9, 2024
91bdcf1
Add in doxygen and setuptools. Get the helper to build the docs.
jaycedowell Dec 9, 2024
cc48079
Add in breathe (#249).
jaycedowell Dec 9, 2024
1edb4e5
Move around the dependencies (#249).
jaycedowell Dec 9, 2024
60e7a92
Merge branch 'master' into master
jaycedowell Dec 9, 2024
6e6b9ae
Merge pull request #194 from bf-plugins/master
jaycedowell Dec 9, 2024
38d9317
Merge branch 'master' into universal-ctags
jaycedowell Dec 9, 2024
9da2041
Make this universal as well.
jaycedowell Dec 9, 2024
eefc974
Drop Ubuntu 20.04/Python 3.6 from testing on GHA.
jaycedowell Feb 11, 2025
54cedf9
Work on getting codecov running agin.
jaycedowell Feb 18, 2025
4900520
Update to readthedocs.org.
jaycedowell Feb 18, 2025
9550779
Codecov badge update.
jaycedowell Feb 18, 2025
c482892
More updates for the move to lwa-project.
jaycedowell Feb 18, 2025
004ac1f
Merge pull request #250 from lwa-project/universal-ctags
jaycedowell Feb 25, 2025
4777af4
Updated the rest of the links (except for the Docker stuff).
jaycedowell Feb 26, 2025
9251e4e
Merge branch 'master' into memory_space_fix
jaycedowell Apr 9, 2025
a90886c
Merge pull request #223 from lwa-project/memory_space_fix
jaycedowell Apr 9, 2025
2210944
Update to universal-ctags, Ubuntu 22.04, and CUDA 12.6.3.
jaycedowell Apr 9, 2025
281588a
Add in a few missing things - like Bifrost itself.
jaycedowell Apr 9, 2025
0378800
Fixed the GPU build.
jaycedowell Apr 10, 2025
e33d64f
Merge branch 'master' into fix-dockerfiles
jaycedowell Apr 11, 2025
85e0997
Deal with ComplexWarning getting moved.
jaycedowell Apr 11, 2025
d951aae
More shared memory for linalg.
jaycedowell Apr 11, 2025
631574b
Tweak rtol and make sure we have the right dtypes moving around.
jaycedowell Apr 11, 2025
3ccdb4a
Bad idea.
jaycedowell Apr 11, 2025
e39409b
Ugh.
jaycedowell Apr 11, 2025
ca0ee1d
Merge pull request #215 from lwa-project/fix-dockerfiles
jaycedowell Apr 11, 2025
e0037be
Merge branch 'master' into refactored_docker_build
jaycedowell Apr 16, 2025
b07259d
Update the Docker instructions in README.md.
jaycedowell Apr 16, 2025
27931c3
Add in a Python virtual environment to help with Python 3.12+.
jaycedowell Apr 17, 2025
17d7134
Show how to use other versions of Ubuntu and CUDA.
jaycedowell Apr 17, 2025
08f3de8
Remove build artifacts.
jaycedowell Apr 17, 2025
3355725
Merge pull request #92 from lwa-project/refactored_docker_build
jaycedowell Apr 29, 2025
3bdea3e
Make a note about it and move on (#202).
jaycedowell May 1, 2025
d54cf32
Finish adding support for the header-only version of NVTX (#247).
jaycedowell Jul 21, 2025
5c2c8a5
Cleanup and logic swap.
jaycedowell Jul 21, 2025
e0a851a
Add an option to control where the map cache is stored.
jaycedowell Jul 22, 2025
c12d289
Fix quoting on the directory.
jaycedowell Jul 22, 2025
fe975d8
This might actually work as intended.
jaycedowell Jul 22, 2025
38d1c54
Ugh.
jaycedowell Jul 22, 2025
72c5cce
Also ugh.
jaycedowell Jul 22, 2025
f4133bb
Random walk.
jaycedowell Jul 22, 2025
caadcc6
Fix up the AVX detection.
jaycedowell Jul 22, 2025
f135f0f
Cleanup SSE as well.
jaycedowell Jul 22, 2025
ff72cbe
Fixed a couple of AVX problems.
jaycedowell Jul 22, 2025
f78be67
Disable AVX512 for now since nothing uses it.
jaycedowell Jul 22, 2025
05cef34
Add in udp_verbs_transmit.
jaycedowell Jul 23, 2025
b0b2516
Fix an overflow in the buffer size calculation.
jaycedowell Nov 4, 2025
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
136 changes: 136 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
---
name: "Build and Test"
"on": [push, pull_request]
jobs:
pre_build:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
build:
needs: pre_build
if: ${{ needs.pre_build.outputs.should_skip != 'true' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [self-hosted, ubuntu-latest, macos-latest]
python-version: ['3.8', '3.10', '3.12']
fail-fast: false
steps:
- name: "Software Install - Ubuntu"
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'self-hosted' }}
run: |
sudo apt-get update && \
sudo apt-get install -y \
autoconf \
automake \
build-essential \
ca-certificates \
curl \
universal-ctags \
gfortran \
git \
libhwloc-dev \
libopenblas-dev \
libtool \
pkg-config \
software-properties-common
- name: "Software Install - MacOS"
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install \
curl \
gawk \
gnu-sed \
hwloc \
pkg-config \
universal-ctags
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: "Software Install - Python"
run: python -m pip install \
setuptools \
"numpy<2" \
matplotlib \
contextlib2 \
simplejson \
pint \
graphviz \
ctypesgen==1.0.2 \
pylint \
coverage
- name: "Software Install - Python, part 2"
if: ${{ matrix.os == 'self-hosted' }}
# Setting CPLUS_INCLUDE_PATH helps pycuda find the right
# Python header files <pyconfig.h> to use with its embedded
# subset of Boost.
env:
CPLUS_INCLUDE_PATH: "${{ env.pythonLocation }}/include/python\
${{ matrix.python-version }}"
run: python -m pip install \
cupy-cuda12x \
pycuda \
numba \
jupyterlab \
jupyter_client \
nbformat \
nbconvert
- name: "Software Install - PSRDADA"
if: ${{ matrix.os == 'self-hosted' }}
run: |
git clone git://git.code.sf.net/p/psrdada/code psrdada
cd psrdada
./bootstrap
./configure
make -j all
sudo make install
cd ..
- uses: actions/checkout@v3
- name: "Build and Install"
run: |
./configure
make -j all
sudo make install
- name: Test
env:
LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}
run: |
python -m pip install scipy
cd test
bash ./download_test_data.sh
python -c "from bifrost import telemetry; telemetry.disable()"
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline \
-m unittest discover
coverage xml
- name: "Test, part 2"
if: ${{ matrix.os == 'self-hosted' }}
env:
LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}
run: |
cd testbench
python generate_test_data.py
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_file_read_write.py
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_fft.py
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline your_first_block.py
python download_breakthrough_listen_data.py -y
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_fdmt.py ./testdata/pulsars/blc0_guppi_57407_61054_PSR_J1840%2B5640_0004.fil
coverage xml
- name: "Upload Coverage"
env:
UNITTEST_OS: ${{ matrix.os }}
UNITTEST_PY: ${{ matrix.python-version }}
if: ${{ matrix.os == 'self-hosted' && matrix.python-version == '3.8' }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./test/coverage.xml, ./testbench/coverage.xml
env_vars: UNITTEST_OS,UNITTEST_PY
fail_ci_if_error: false
verbose: true
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
doc
version.py
/python/bifrost/version/__init__.py
*_generated.py
*_typehints.py
.log*.txt
test/data/
*.bin

# Local configuration
aclocal.m4
autom4te.cache
config.status
config.mk
Makefile
src/Makefile
python/Makefile
share/bifrost.pc
src/bifrost/config.h

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
10 changes: 10 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
extraction:
cpp:
prepare:
packages:
- exuberant-ctags
before_index:
- export NOCUDA=1
index:
build_command:
- make -e libbifrost
4 changes: 4 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[mypy]

[mypy-scipy.fftpack.*]
ignore_missing_imports = True
61 changes: 0 additions & 61 deletions .travis.yml

This file was deleted.

Loading