Parallel version of MICRESS

FAQs about installation, license manager, pecularities of specific operating systems
Post Reply
deepumaj1
Posts: 104
Joined: Fri Feb 13, 2015 11:00 am
anti_bot: 333
Contact:

Parallel version of MICRESS

Post by deepumaj1 » Fri Feb 20, 2015 7:54 pm

Can MICRESS run parallely?

Bernd
Posts: 1504
Joined: Mon Jun 23, 2008 9:29 pm

Re: Parallel version of MICRESS

Post by Bernd » Fri Feb 20, 2015 11:22 pm

Hi deepumaj1,

MICRESS is parallel since Version 6.1 (the actual version is 6.2). But in general, one should not expect too much, scaling is good only in certain cases.

The problem of making MICRESS perform well in parallel is that we strongly optimized it for serial usage. This is good because it is much faster than other phase-field software, and because of that it can be used on "normal" computers. The drawback is that parallelisation is really difficult. We are working on it, but there is a lot which remains to be done...

Presently, a good speedup can be expected in the following cases:

1.) Simulations with a rather high grid resolution, where the diffusion solver is the bottleneck (typically more scientific problems). The diffusion solver is parallel and scales quite well.

2.) Simulations with coupling to the stress solver. The stress solver is very time-consuming and scales very good,so a good speedup can be expected.

3.) For pure grain growth, as the phase-field solver is parallel.

Bernd

Raina
Posts: 13
Joined: Thu May 21, 2015 2:03 am
anti_bot: 333

Re: Parallel version of MICRESS

Post by Raina » Thu May 21, 2015 2:11 am

Hi Bernd,

We cannot use multi-threads for MICRESS_par_noTQ_x64 (6.200) on our linux server.
We used the driving file "Grain_Growth_3D.in" in the examples. The number of threads was set to 4. But the CPU usage is <=100% which means one cpu was used. It was also the case for my own simulation.
I wrote an openmp C++ code to test our system and found my parallel code can run with multi-threads, e.g. cpu usage of 400% when i set OMP_NUM_THREADS=4.

Did anyone report similar problems to you?

Ben

ralph
Posts: 167
Joined: Wed Apr 27, 2011 4:42 pm
anti_bot: 333

Re: Parallel version of MICRESS

Post by ralph » Thu May 21, 2015 9:57 am

Sorry. that is because point 3 of Bernd's post is wrong.

The diffusion, stress and temperature solvers are parallelized, resp. additionally the flow solver in version 6.200. See the MICRESS 6.2 manual volume 2 ( chapter 3.2.21 ) for a description how to estimate the performance which could be expected for test cases. A quick answer would be to consult the TabP output and see how much time is spend in the different solvers.

We are working on the parallelization of the phase field solver but still have to solve some problems because of the reason mentioned by Bernd above. Especiallly, this part of the code and data structures in use is highly optimized for serial execution.

Ralph

Post Reply