Skip to content

Commit

Permalink
fixes meson builds of eigensolver and adds new test to CI for dynamic…
Browse files Browse the repository at this point in the history
… stability(#37)

* adds new test to CI testing script

* add the .py file...

* trying to debug eigen test

* trying to debug eigen test 2 and some cleaning

* fixed change to eispack and added needed flag to meson'

* undo debugging steps

---------

Co-authored-by: Joshua Anibal <[email protected]>
  • Loading branch information
joanibal and Joshua Anibal authored Sep 21, 2024
1 parent 1167f4a commit f358ad9
Show file tree
Hide file tree
Showing 11 changed files with 99 additions and 337 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
# Not supported for now
# - [ubuntu-22.04, musllinux, x86_64]
# - [windows-2019, win, AMD64]
# - [macos-12, macosx, arm64]
# accelerate causes a segfault for some reason...
# - [macos-13, macosx, x86_64, accelerate, "14.0"]
# - [macos-14, macosx, arm64, accelerate, "14.0"]

# working
- [ubuntu-22.04, manylinux, x86_64]
- [macos-12, macosx, x86_64, openblas, "10.13"]
- [macos-14, macosx, arm64, openblas, "12.3"]
# accelerate causes a segfault for some reason...
# - [macos-13, macosx, x86_64, accelerate, "14.0"]
# - [macos-14, macosx, arm64, accelerate, "14.0"]


python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]
# python: [["cp310", "3.10"]]
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ examples/aircraft/*.html
examples/aircraft/*.db
tests/reports/
tests/*.html

tests/*_out.avl
tests/reports
tests/opt_*.avl
.devcontainer
**.DS_Store
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
Expand Down
11 changes: 0 additions & 11 deletions examples/aircraft/aircraft_exp.mass

This file was deleted.

152 changes: 0 additions & 152 deletions examples/aircraft/aircraft_exp.txt

This file was deleted.

152 changes: 0 additions & 152 deletions examples/aircraft/aircraft_old.txt

This file was deleted.

7 changes: 0 additions & 7 deletions find_cross_file.sh

This file was deleted.

7 changes: 0 additions & 7 deletions find_native_file.sh

This file was deleted.

4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ ff_args += [
'-ffixed-line-length-80',
'-std=legacy',
'-fdefault-real-8',
'-fPIC'
'-fdefault-double-8',
'-fPIC',
'-O2'
]

numpy_nodepr_api = '-DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION'
Expand Down
3 changes: 1 addition & 2 deletions src/eispack.f
Original file line number Diff line number Diff line change
Expand Up @@ -3949,8 +3949,7 @@ SUBROUTINE ELMHES(NM,N,LOW,IGH,A,INT)
A(J,M) = Y
120 CONTINUE
C .......... END INTERCHANGE ..........
130 IF (DABS(X) .LE. 1e-12_8) GO TO 180
! 130 IF (X .EQ. 0.0D0) GO TO 180
130 IF (X .EQ. 0.0D0) GO TO 180
MP1 = M + 1
C
DO 160 I = MP1, IGH
Expand Down
Loading

0 comments on commit f358ad9

Please sign in to comment.