Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Test failures on selected architectures #1055
Comments
|
FYI, the latest version of ArrayFire cannot migrate to Debian testing (the future stable release), although the mandatory rest period in unstable has passed, because of the missing build on powerpc. |
|
Alirght, most problems were fixed with The following architectures (mips, powerpc, s390x) still fails because of one unit test: |
|
I checked the logs for the powerpc and s390x. It doesn't seem to be an endian related thing as other tests in the file are passing. If I gave to you a patch for the tests that would show more information about the failure, would you be able to run that for the select architectures? On a side note, can you remind me of the reason why linear algebra ("dense") tests are being skipped? |
LocutusOfBorg
commented
Jan 7, 2016
|
Hi @shehzan10, I can test patches on porterboxes with not too much issues. Just give me a commit id and I'll do a test build :) |
|
I don't think I'll be committing to this arrayfire repo as its more of a debugging thing rather than a official bug fix. I can do 1 of 2 things:
What would you prefer? |
LocutusOfBorg
commented
Jan 7, 2016
|
also a patch here is fine :) |
LocutusOfBorg
commented
Jan 7, 2016
|
I can wget github.com/project/name/commitid.patch also |
|
Attaching patch. |
@shehzan10 Because they take too much time to execute on some architectures. |
@LocutusOfBorg you are gonna have to teach me this one day :) |
LocutusOfBorg
commented
Jan 7, 2016
|
@ghisvail you just need to be a DM and ask for access, or be a DD and have it |
|
@ghisvail FYI if you build arrayfire with OpenBLAS instead of ATLAS or Netlib BLAS, the tests will be significantly faster. The atlas library shipped on most distros (atleast the debian based ones) uses only one core. The Netlib BLAS library also uses only one core at a time. If there is an option to use OpenBLAS during the build phase and let the user choose whatever BLAS alternative he wants later, that would work wonderfully. |
|
@ghisvail can you also strikeout the issues that are fixed and perhaps add anything new you are seeing in the original description ? |
|
@pavanky Thanks for the suggestion. The packaging already takes advantage of OpenBLAS if installed as a BLAS alternative. However, not all architectures supports it so the default should remain Netlib for now. |
LocutusOfBorg
commented
Jan 8, 2016
|
here you have the log file! |
|
Interesting. It looks like the channels are flipped (bgr vs rgb) for whatever reason. Other than that the data looks good. |
|
Can you test again with the following patch ? |
LocutusOfBorg
commented
Jan 8, 2016
|
testing, it will take a little bit to build (26% now) |
LocutusOfBorg
commented
Jan 8, 2016
|
seems to be working correctly @ghisvail hot fix in Debian?
|
|
I am on it. What's the commit hash of the fix ?
|
LocutusOfBorg
commented
Jan 8, 2016
enjoy! (YMMW, just issued some stuff) |
|
I think we can merge it in so that you can use the commit from the arrayfire org repo. |
LocutusOfBorg
commented
Jan 8, 2016
|
as you wish, even better that way, so the commit id is easily searchable on main history |
|
Since I am using the upstream git repo for the packaging, I'd prefer to
cherry-pick the fix from there.
Thanks guys for fixing this btw.
|
|
Ok, thats done. Are there any other code patches you are using that we could integrate? If I remember correctly, I believe you are using a couple of patches for CMake config. |
|
The link to the patch is https://github.com/arrayfire/arrayfire/commit/5940d4bc93a5f644ffb51d699d6effa2564418c1.patch |
pavanky
added
the
test
label
Jan 8, 2016
|
@shehzan10 Thanks for providing the commit id. I have already forwarded all patches that could be relevant to you guys. The remaining ones are Debian specific. |
ghisvail commentedOct 12, 2015
I left the Debian builders running for a week with the latest
v3.1.2. It builds fine on all architectures but the test suite fails for a number of architectures.Looking at the build logs, all these architectures fail on the same tests:
orb,imageioandharrisapparently fail with a tolerance / expected value error, whereassusangenerates a malloc error.As always the full build logs are available here.