-
Notifications
You must be signed in to change notification settings - Fork 579
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
Amesos2 MUMPS control over matrix type ( i.e. symmetric, nonsymmetric, ... ) #5819
Comments
Not sure if this helps or not. This is just an attempt to directly mess with MUMPS native parameters. I tried to do some reverse engineering. I used these code lines:
At run-time I get this error:
[jhux2: edited for clarity] |
@trilinos/amesos2 |
Yes, we do check which parameters get passed. Our support for symmetric problems is not very strong. Is this distributed memory ? |
Currently I am running it on one node only so although MPI is enabled I am
not really using it in the strong sense.
Is there a workaround for this?
I tried to read the code without much luck though.
…On Thu, Aug 29, 2019 at 4:44 PM Siva Rajamanickam ***@***.***> wrote:
Yes, we do check which parameters get passed. Our support for symmetric
problems is not very strong. Is this distributed memory ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5819?email_source=notifications&email_token=AADCLFKDWZD5K7UAJBFCTK3QHAYJHA5CNFSM4ISFSB5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5PYKGY#issuecomment-526353691>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADCLFPEWMH44GZIVC2RBDDQHAYJHANCNFSM4ISFSB5A>
.
|
If you are running on one MPI, it could just work if you just add ICNTL(1) as a valid parameter for MUMPS. It might be just a 3 line change, but no guarantees. We do not test this case at all. |
Can you elaborate where or in which file
I will certainly try if you point with more specifics
Thanks
…On Thu, Aug 29, 2019 at 4:54 PM Siva Rajamanickam ***@***.***> wrote:
If you are running on one MPI, it could just work if you just add ICNTL(1)
as a valid parameter for MUMPS. It might be just a 3 line change, but no
guarantees. We do not test this case at all.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5819?email_source=notifications&email_token=AADCLFIH4XDBMPQG3O5HW5LQHAZOVA5CNFSM4ISFSB5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5PZE6Q#issuecomment-526357114>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADCLFO6DEDGWSYPRLWG3CDQHAZOVANCNFSM4ISFSB5A>
.
|
See
ICNTL(1) is already recognized, you just need to pass an int instead of on. We just past the int to MUMPS. |
Thank you Siva
and got this error at runtime: terminate called after throwing an instance of 'Teuchos::Exceptions::InvalidParameterType' The correct type is "string". It seems to me as there is a bug involved in this. |
I added the sym parameter by adding these lines to Amesos2_MUMPS_def.hpp Now I am getting the error about validator which I am not sure what it implies or how it can be resolved: terminate called after throwing an instance of 'Teuchos::Exceptions::InvalidParameterType' Any suggestions on how to address this?? |
OK, upon further research I was able to create a sol called validator and get to change the mumps_par in Amesos2_MUMPS_def.hpp (with some corrections to the code there as well ) MUMPS<Matrix,Vector>::MUMPS( Question is, how do I get the knowledge of matrix symmetry (or the lack of) into this function? Andy advise is highyl appreciated. |
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. |
This issue was closed due to inactivity for 395 days. |
From Trilinos 12.8, I am using Amesos2 to solver Tpetra based sparse linear problems.
Between the doc and doxygen I was not able to figure out how to inform the solver that the matrix is symmetric so that I can take advantage of filling only one half of the matrix.
The older documentation mentions MatrixType as a general parameter for amesos2 but this option does not seem to be available in the newer versions of Amesos2.
Any advice is highly appreciated.
Davood
The text was updated successfully, but these errors were encountered: