[dune-pdelab] Heat Equation in Parallel
Jö Fahlke
jorrit at jorrit.de
Thu Jun 16 16:59:13 CEST 2016
Am Thu, 16. Jun 2016, 12:28:11 +0200 schrieb Afshin Loni:
> I am trying to solve a heat equation in parallel but it seems impossible
> for me, So here's the story.
> I have the tutorials of the course that took place in March. and tutorial 3
> is solving the heat equation. basically the tutorial says you can run the
> code in parallel by simply running the mpirun. as you know the code checks
> for the mpi with mpihelper and then it prints out e.g. running in parallel
> on 1 process(es). but when I run the heat equation on two processors it
> prints
>
> running in parallel on 1 process(es)
> running in parallel on 1 process(es)
>
> which basically means the code is running sequentially twice.
> I thought I need to use some flags, so I used the following flags to
> compile:
>
> -DMPI_CC_COMPILER=mpicc.mpich \
> -DMPI_CXX_COMPILER=mpicxx.mpich
Hi!
You need to delete your build directory and rebuild completely after changing
such configuration flags.
In case you did that already, or in case that did not help: how exactly are
you specifying those flags? E.g. if you specify them in your .opts-file,
please provide it here.
Regards,
Jö.
> but I got no change.
> I thought tutorial 3 is incapable of running in parallel so I tried
> tutorial 6 which is about parallelization. But I got the same results.
> MPICH is also installed on my ubuntu 15.10 system.
>
> Any help would be appreciated.
>
> Regards,
> Afshin
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
--
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729
If God had intended Man to Smoke, He would have set him on Fire.
-- fortune
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20160616/abdad0bf/attachment.sig>
More information about the dune-pdelab
mailing list