MUMPS solver with Trilinos

83 views
Skip to first unread message

Rahul Gopalan Ramachandran

unread,
Oct 16, 2022, 11:42:50 AM10/16/22
to deal.II User Group
Hello everyone,

I am not able to get Trilinos working with MUMPS direct solver, so I am reaching out for some guidance. 

The Os is MacOs (Apple Silicon) and I am able to install mumps solver using Candi. By default candi installs version 5.4.0.  However, Trilinos with Amesos throws error while compiling. I am suspecting a conflict of scalapack to be the issue here. I am currently using MPICH as my MPI compiler and I think I will need to change it to OpenMPI to solve the issue with scalapack. Also interestingly, Trilinos with Amesos2 do not show any issue. So before I change to OpenMPI and reinstall everything, I thought to clarify a couple of  things.

1. Does mumps has to be any specific version to compile with  amesos. Trilinos documentation available on net suggest 4.7.3. However, this is fairly old version.

2. Dealii has no compatibility with Amesos2, right?

Thank you,
Rahul



Bruno Turcksin

unread,
Oct 17, 2022, 8:41:26 AM10/17/22
to deal.II User Group
Rahul,

On Sunday, October 16, 2022 at 11:42:50 AM UTC-4 grrah...@gmail.com wrote:

1. Does mumps has to be any specific version to compile with  amesos. Trilinos documentation available on net suggest 4.7.3. However, this is fairly old version.
I don't know the answer to this question but amesos is in maintenance mode so it's very possible that it only works with old version of mumps

2. Dealii has no compatibility with Amesos2, right?
That's right but you can extract the underlying Trilinos matrices/vectors and use them with Amesos2 yourself. That's what we do in the Trilinos wrappers.

Best,

Bruno

Rahul Gopalan Ramachandran

unread,
Oct 17, 2022, 8:44:42 AM10/17/22
to dea...@googlegroups.com
Hello Bruno, 

Thank you for the reply. Your suggestion for Amesos2 might be the best option. 

Thanks again,
Rahul

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/PczQlYM41Mc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/b185caa7-d2cd-4243-b09f-7a2989560aa1n%40googlegroups.com.

Praveen C

unread,
Oct 17, 2022, 9:51:34 AM10/17/22
to Deal. II Googlegroup
I have compiled and used mumps from trilinos, using spack, on M1 machines.

trilinos@13.0.1
mumps@5.4.1

best
praveen

Rahul Gopalan Ramachandran

unread,
Oct 17, 2022, 9:59:42 AM10/17/22
to dea...@googlegroups.com
Hello Praveen,

Excellent! Thank you for the input. May I ask if you had success with Open MPI or MPICH?

Regards,
Rahul

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/PczQlYM41Mc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.

Praveen C

unread,
Oct 17, 2022, 11:07:25 AM10/17/22
to Deal. II Googlegroup
openmpi is what I have now, I remember having compilation problems with mpich, but I have not tried it recently on M1 machines, so dont know if it works or not. 

Best
praveen

Rahul Gopalan Ramachandran

unread,
Oct 17, 2022, 12:55:10 PM10/17/22
to dea...@googlegroups.com
Thank you, most likely that is the issue!

Have a good day,
Rahul

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/PczQlYM41Mc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages