-
Notifications
You must be signed in to change notification settings - Fork 7
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
any chance the changes are applied to the pastix-repo #21
Comments
also I am running into errors like this, trying to compile for windows:
Does anyone know a solution for this? |
so far, yes these changes are necessary how it's implemented. When we started there was no possibility to keep the matrix in memory and reuse the reordering permutation of the previous steps. |
I don't really use windows and so can't really help there, but it looks like it comes from the path how Windows uses it common**\d**_integer.c |
thanks, Windows is also not on my high-priority-list but conda-forge is cross-plattform so it would be nice to have a package for windows too. Maybe @3rav can help with the encountered error. [1] conda-forge/staged-recipes#27062 |
Yes would be nice to rebase this branch on the latest pastix release (6.4.0). I tried to use the pastix6.4.0 with calculix, but failed to run a .inp file. |
I was able to link pastix, but now pastix stops at:
this is the repo I use pixi is used to install all dependencies. To build the library with pixi:
But I have tested only on a osx system. |
There will be much more changes needed than the pastix Memalloc as far as I remember, because the spm handling is important with reuse mechanism how we implemented it back then. |
CalculiX label from PaStiX 6.3.0 and patch file (to make it easier to assess what has been introduced): |
Thanks for the information. I am maintainer of calculix and pastix for the conda-package-manager, so it's not a problem to add patches needed for calculix on top of pastix or spm. But I don't know what is needed for pastix to run with calculix. Maybe you can point me to the necessary commits/patches and we try to realign them on the current pastix/master. |
Thanks for the hint. I knew they were working on something, but it was not accessible in the public repo back then. Need to look into it again. @looooo I think I would make more sense to try to migrate as much to mainline pastix as possible, but I don't know out of my head how much or if we still need customization. The pastix guys are typically very open for adding things if it's reasonable in the long run. |
@Kabbone Yes I tried to use the pastix master now. But for sure there are some changes necessary. I am currently stuck with a crash of pastix and don't know how to proceed. Maybe someone knows which patch is necessary to continue from here:
You can find my attempt to build pastix and calculix here: pastix is added as a git submodule. And spm is a submodule of pastix pointing to: |
I am still stuck at this position. @Kabbone can you help with this issue? There are now pastix packages available via the conda-package-manager. It would be nice to make these pastix packages work with calculix. |
I would start with setting forceRedo=1 in pastix.c without condition, because the reuse mechanism like it's implemented now would not work with mainline pastix. You should also set PastixSchedStatic as Scheduler. |
I just tried a python example step_by_step.py and it also stops after the output is the following:
tried this with linux-aarch64. |
did you build and link pastix with scotch? As how I understand the documentation scotch should be picked by default, but you can also set explicitly with iparm[IPARM_ORDERING]=PastixOrderScotch |
no I was not able to build with scotch because of this issue: but we are working on this: |
" Ordering subtask : @looooo How to get such additional information, I test in msys2/mingw environment? |
With a debugger. In my Case I used lldb on OSX but you can also use gdb. |
|
very very basic version with pastix-6.4 upstream running: Basically no testing than not crashing and just checked 2 results of basic test cases. |
I am still trying to figure out what is wrong with my setup. There is one thing I wondering:
I am for sure not using a Intel cpu (it's a mac m1) |
It's only cost models when to put where which task (CPU, GPU). |
I am wondering if these changes in this repo are mandatory for the use of pastix in calculix. If the answer is yes, is there any chance to apply these changes to the pastix repo?
The text was updated successfully, but these errors were encountered: