-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
64 bit support #88
Comments
closed by #90, thanks! |
I can't reproduce this issue with libscotch 7.0.5. So I guess it's ok to close this issue. Thanks. |
hmm strange locally I cannot reproduce with pixi, but the feedstock builds still fail with the same issue
also running conda-build locally seems to work fine. |
Sorry, I misunderstood! I'll let @looooo decide when to close |
Seems like 64bit works on osx arm, but not on the other platforms. |
is it possible to add this test to the feedstock?
Actually I don't understand why osx-arm64 uses 64 bit ints as the definition seems to be the same for different platforms:
|
|
#94 adds a test. It passes on all platforms (including osx-arm64, which I had to test locally) if the assert is that |
For 64bit size of(Scotch_Num) should be 8. But it's possible to build pastix with PASTIX_INT64=Off.
the pastix osx-arm build uses libscotch: 7.0.5-h9f781f6_2 |
Check the full cmake error log, it might be misinterpreting an error |
seems like both tests fail. Is it possible that there might be an issue with cross compiling? |
If the test involves executing the result, that definitely cannot work. You'll need to bypass that, as is common in cross compiling. You'll have to check that project's cmake to see how exactly. |
Ok I will look into this. Just to clarify: |
You can't generally expect to run compiled executables for testing the environment when cross compiling. That means you either need to be able to compute the test without execution (possible in this particular case, since SCOTCH_Num is defined purely in the header and doesn't require compiling to find), or allow explicit user input to provide the answer to the test without running it, which is the more general solution. Basically, this check and any call to |
still there is something odd. When I compile pastix locally on osx-arm I see the following:
also the tests seem to work. |
I'm not sure what's up there, since the test seems to be giving the wrong result. Here's a simple pixi project which shows sizeof(SCOTCH_Num) is 4: https://gist.github.com/minrk/b29f7a1f89844fbce2d695a2ba944f68 Run it with:
which should install the env, run the build, and output:
|
Thanks for creating the pixi-project. I tried it and can reproduce the test with the same output Now I added the test to the calculix/pastix project and there I get:
looking at the pixi.lock file I see that I used a different build of libscotch. Actually a build I compiled myself for 64 bit support... stupid me, sry for the noise. |
Glad it's figured out! |
Comment:
Trying to setup a feedstock for pastix, I run into this issue:
while scotch is optional for pastix, it might be possible to compile scotch with 64 bit support?
The text was updated successfully, but these errors were encountered: