Repository navigation
working TD04AD.f, does not crash any more on edge cases (N=0, NR=0), #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
dd90059
72a9875
46171e5
f897e75
3c6f49f
253ed42
e8edd6f
54f0510
a2298fd
6d30bd0
f01ba18
59e920b
9c812db
9a8da81
74241a8
b4e82cb
a6090e3
8a46dd3
11fe4f5
a893db4
d9bef4f
97a1e94
2e72514
1b8ff5f
2df2163
c387595
439558b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,14 +12,17 @@ env: | |
|
|
||
| before_install: | ||
| # | ||
| # Install fortran compiler | ||
| # Install fortran compiler, if not using Conda's | ||
| # | ||
| - sudo apt-get install gfortran | ||
| #- sudo apt-get install gfortran | ||
| # | ||
| # If not using conda, then install liblapack here (conda version | ||
| # will handle this through the build recipe) | ||
| # | ||
| - if [[ $TEST_CONDA == 0 ]]; then sudo apt-get install liblapack-dev; fi | ||
| - if [[ $TEST_CONDA == 0 ]]; then | ||
| sudo apt-get install liblapack-dev libblas-dev; | ||
| sudo apt-get install gfortran; | ||
| fi | ||
|
|
||
| install: | ||
| # | ||
|
|
@@ -50,13 +53,17 @@ install: | |
| # Install the slycot package (two ways, to improve robustness). For the | ||
| # conda version, need to install lapack from conda-forge (no way to specify | ||
| # this in the recipe). | ||
| # add the conda-forge channel to the config, otherwise openblas or | ||
| # lapack cannot be found in the check | ||
| # with --override-channels to make sure the locally built slycot is installed | ||
| # | ||
| - if [[ $TEST_CONDA == 1 ]]; then | ||
| conda install -c conda-forge lapack; | ||
| conda config --append channels conda-forge; | ||
| conda build --python "$TRAVIS_PYTHON_VERSION" conda-recipe; | ||
| conda install slycot --use-local; | ||
| conda install -c conda-forge lapack; | ||
| conda install --override-channels -c local slycot; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this way of doing a local install instead of using
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. But --use-local adds the local channel to your set of channels. If the slycot build failed, it would happily install the slycot found in other channels! This happened in the python 2.7 and 3.5 variants. Also, --override-channels, which you need to block all others, will not work with --use-local. |
||
| else | ||
| python setup.py install; | ||
| LAPACKLIBS=lapack:blas python setup.py install; | ||
| fi | ||
| # | ||
| # coveralls not in conda repos :-( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| :: Uncoment following two lines for local test build | ||
| cd %RECIPE_DIR% | ||
| cd .. | ||
|
|
||
| set F77=%BUILD_PREFIX%\Library\bin\flang.exe | ||
| set F90=%BUILD_PREFIX%\Library\bin\flang.exe | ||
|
|
||
| "%PYTHON%" setup.py build | ||
| "%PYTHON%" setup.py install | ||
|
|
||
| if errorlevel 1 exit 1 | ||
|
|
||
| :: Add more build steps here, if they are necessary. | ||
|
|
||
| :: See | ||
| :: http://docs.continuum.io/conda/build.html | ||
| :: for a list of environment variables that are set during the build process. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| cd $RECIPE_DIR/.. | ||
| $PYTHON setup.py install |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| package: | ||
| name: slycot | ||
| version: "0.3.2" | ||
|
|
||
| build: | ||
| number: 1 | ||
| requirements: | ||
| host: | ||
| - numpy | ||
| - openblas >=0.3.0 | ||
| - libflang # [win] | ||
| - libgfortran # [not win] | ||
| - python | ||
|
|
||
| build: | ||
| - {{ compiler('fortran') }} # [not win] | ||
| - {{ compiler('c') }} # [win] | ||
| - flang # [win] | ||
| # on Windows, this relies on having visual studio CE 2015 | ||
| # this link needed quite some searching, please do not delete! | ||
| # https://go.microsoft.com/fwlink/?LinkId=532606&clcid=0x409 | ||
| run: | ||
| - numpy | ||
| - openblas >=0.3.0 | ||
| - libgfortran # [not win] | ||
| - libflang # [win] | ||
|
|
||
| test: | ||
| imports: | ||
| - slycot | ||
|
|
||
| about: | ||
| home: https://github.com/python-control/slycot | ||
| license: GPLv2 | ||
| summary: 'A wrapper for the SLICOT control and systems library' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| cd $RECIPE_DIR/.. | ||
| LDFLAGS="-shared" FFLAGS="-fPIC" $PYTHON setup.py install | ||
| export LAPACKLIBS=lapack:blas | ||
| $PYTHON setup.py install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest removing this line rather than commenting it out.