[deal.II] SparseDirectMUMPS before deal.ii 8.3.0

35 views
Skip to first unread message

hkch...@gmail.com

unread,
Apr 21, 2022, 4:00:32 AM4/21/22
to deal.II User Group
Hi, everyone.

I have installed the deal.ii version 8.2.1 to use SparseDirectMUMPS replace SparseDirectUMFPACK. It seems that I can run it in parallel like mpirun -np 2 ./MyProgram, but standard IO std::cout is used in my code, what should I do to print log in terminal only once?

Best,
Chen

Praveen C

unread,
Apr 21, 2022, 4:14:02 AM4/21/22
to Deal. II Googlegroup

陈敏

unread,
Apr 21, 2022, 11:33:11 PM4/21/22
to dea...@googlegroups.com
Thanks, Praveen.

I think the SparseDIrectMUMPS in dealii-8.2.1 don't need run program with mpirun -np N ./Program just ./Program and MUMPS will run parallel controlling by itself. can I control it by myself?

Best,
Chen

Praveen C <pra...@gmx.net> 于2022年4月21日周四 16:14写道:
--
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 the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/A31F6FC8-22E6-441F-9386-BBD76519B7D5%40gmx.net.

Wolfgang Bangerth

unread,
Apr 22, 2022, 2:13:59 PM4/22/22
to dea...@googlegroups.com
On 4/21/22 21:32, 陈敏 wrote:
>
> I think the SparseDIrectMUMPS in dealii-8.2.1 don't need run program with
> mpirun -np N ./Program just ./Programand MUMPS will run parallel controlling
> by itself. can I control it by myself?

If you call a program without mpirun, it will not know that there is a
universe of parallel execution out there. It can only run with multiple
threads in a shared memory space on a single machine. It will definitely not
be able to use other machines.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages