[dune-pdelab] Heat Equation in Parallel

Afshin Loni afshin.loni at gmail.com
Thu Jun 16 12:28:11 CEST 2016


Dear PDELabbers,

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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20160616/65c8cb92/attachment.htm>


More information about the dune-pdelab mailing list