Repository navigation
Conversation
meta.yaml: - update to newer conda file layout - depend on openblas instead of lapack build.sh: - correct LDFLAGS setup - workaround how Conda setups up Fortran compilers
|
I tried getting the entire build process is carried out and it looks like everything is fine up until the final test. At the very end I get the error This error is occurring on the final step of the build process, where conda attempts to import slycot. Near as I can tell from looking online this is a problem with my local python installation, but I have not yet been able to sort it out. |
|
Quick update: I am having the same problem doing a "standard" build: if I use |
|
I know nothing about OS X, but from snap-stanford/snap#88 (comment) it looks like this is a Slycot build error. I did change the build flags in build.sh (LDFLAGS and FFLAGS) - perhaps one of those is the culprit? Separately, I'm still struggling to get Slycot to build on Windows. |
|
I found the import slycot error with the PyThreadState_Get issue. Use of openblas is interesting, where do you get it from, and is it built for all three platforms? I know I tried about a year ago, but could not get the conda openblas for windows. Maybe things are better now, since we can use compilers+linkers from conda. By the way, I now have that slycot version + control for all three platforms on my anaconda channel (repa). Greetings, |
|
There is openblas for Windows, but only on conda-forge.
For Slycot, I've been trying to start with the instructions at
https://pav.iki.fi/blog/2017-10-08/pywingfortran.html
but without much luck yet.
The `{{ compiler('fortran') }}` in meta.yaml doesn't map to
m2w64-gcc-fortran. And one still needs MSVC.
So while this may be progress on Linux, it looks like regression on
Windows.
|
|
On the repagh/Slycot master branch (I know, I shouldn't), I got the Windows build working. Still need to figure out how to nicely git-push that on your work. Solution chosen:
The current conda packages are in the "repa" conda channel. |
|
Rory, I think your CONDA=0 builds use lapack instead of openblas, at least that is what you install, and link to in the slycot/setup.py |
|
It sounds like we are going to have a problem supporting different installation environments. One tool that we might use is |
|
This PR is superseded by PR #26. |
Still in progress, but I have successfully built on Travis with Conda with Python 2.7, 3.5, and 3.6. The CI build fails with Python 3.6 in the non-Conda build; I'm still investigating that. See https://travis-ci.org/roryyorke/Slycot/builds/391434012
The main changes:
To-do; would appreciate any assistance with these: