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
PaStiX and mingw #1
Comments
Hi @3rav , |
Great, Right now, I just want to compile PaStiX properly in the mingw environment (and CalculiX with PaStiX). |
Hi, When compiling, the parsec in mingw has an error of around 65% but I have generated libparsec-base.a |
Hi, |
Hi 3rav, Be carefull, my branch is a dev branch, you should check the results carefully! EDIT: I forgot to mention, GPU is not possible on this branch |
Hi Kabbone, Currently this version of PaStiX has a few problems on mingw64:
For test I simply turn off scotch
If I manually comments line 157, compilation stops on error 3.
Best regards |
Hi, I skipped the 2nd and 3rd error by replacing the code from the newer (official) version: ad.1 ad. 2 6.0.1 (kernels_trace.h):
6.1.0 (kernels_trace.h):
ad. 3 6.0.1 (spm/src/drivers/laplacian.c):
6.1.0 (spm/src/drivers/laplacian.c):
But now I have this errors:
|
Hi, Once I managed to compile PastiX (cudaless) to the end with a few fixes (only python2, not 3!):
and patch for Starpu 1.3: https://gitlab.inria.fr/solverstack/pastix/-/commit/b66f26d693554966700c3641b4167a1621c29edb For test I add this patch (replace orginaj files) in to Linux Ubuntu version and its worsks (ccx also). After these changes I was able to compile Pastix, then I tried to recompile pastix (test whether compilation can be repeated), unfortunately I get an error (if I turn off scotch then this error not occurse, compilation passes 100% without error):
|
Hello, Just to comment quickly on these issues. I just added a patch on the official version to fix 1 and 5 (bzero beeing obsolete I removed it as you suggested). It will be integrated in 6.1.1. 2 and 4. There is a protection against these missing functions in the last master for several month now, so it should not be required. For 3, rand and srand are obsolete in favour of random and srandom so I would not do this change. I'm curious about the last error, can you give me more details about it and how to reproduce it please ? Finally, just by curiosity, why not having pastix as a submodule and providing a cmake cache file to configure it for calculix ? It's not enough for your requirements ? |
Please see: msys2/MINGW-packages#6952 |
Hi,
May I ask for a version without unnecessary libraries (CUDA, parsec, ...). The minimum version necessary to work with CalculiX 2.17 (only pastix)?
hwloc-2.2.0 and mingw - OK
scotch 6.0.9 and mingw - OK
parsec and mingw - error: https://bitbucket.org/icldistcomp/parsec/issues/270/parsec-and-mingw64
Reagards
Rafal
The text was updated successfully, but these errors were encountered: