我要加入 登录
声振论坛 返回首页

cquhdd的个人空间 http://home.vibunion.com/?223870 [收藏] [复制] [分享] [RSS]

日志

How to use FEM Solvers in parallel?

已有 1161 次阅读2014-9-3 20:31 |个人分类:Virtual.lab 应用

The race for more CPU power by boosting up the clock rate has been stagnating for a couple of years now. Instead of increasing the clock speed, CPU manufacturers are now creating more powerful computers by increasing the numbers of cores. Nowadays, almost any new desktop computer or even notebook has at least two CPU cores. But unfortunately, this extra computational power can only be taken advantage of when the software running on these computers is developed to do so. If this is not the case, you will loose half (2 cores) or 75% (4 cores) of your computational power because only one core can be used.

LMS Virtual.Lab allows you to use parallel processing in order to take full advantage of the available CPU power as well as memory. However, implementing parallel processing is not straightforward and one should be very careful while doing this. It is not easy for you as a user to know the optimal settings for a parallel job, so the goal of this section will be to give some guidance in order to select the available tools in an easy manner.

The different types of Parallelism available in LMS Virtual.Lab are:

  1. Single Process: means that only one process is used for computing the analysis cases.
  2. Multi Process Frequency Level: means that the frequency range to be computed will be divided into equal parts and each will be computed on one computation node. This is beneficial to accelerate the solution of any size of problem. It provides the best speed-up (almost linear), and is the preferred choice if there is enough memory to solve each process "in-core". For example, 3 GB of memory is needed to solve a system at 1 frequency. If 16 GB of physical memory with 4 CPUs is available, then one can use all the available 4 CPUs in frequency level, so that 4 frequencies are solved using the available 4 CPU at the same time.
  3. Multi Process Matrix Level: means that the assembled system matrix at one frequency will be processed on several nodes. This is mostly beneficial for very large problems on a system with less memory to solve each process "in-core". For example, 12GB is needed to solve system at one frequency. If 16GB of physical memory with 4 CPUs is available then use 4 CPUs in matrix level, so that each of the 4 CPUs solves for a sub-matrix at one frequency at the same time.
  4. Multi Process Domain Level: means that the mesh is split into several parts and reduced size problems are solved on each part by different processors. A domain decomposition technique (METIS) is used for this domain-level parallelism. Domain decomposition is only supported in uncoupled FEM, provided that they are no PML, no infinite elements, and no acoustic-acoustic transfer admittances since these are technically difficult to handle with geometric partitioning.
  5. Multi-threading: This delivers a less good speed-up. (In LMS Sysnoise, it is only available in some parts of the code). This is the last possible choice. While multi-threading can easily decrease the computation time for a given computation, it does not allow to decrease the memory consumption, nor does it allow to use several nodes of a cluster. The idea here is to distribute a run over several processors in order to run the solver where memory consumption doesn't allow running it sequentially. This issue is critical for computing 3D cases, which can be solved by using a parallel out-of-core solver.

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 我要加入

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-2 07:43 , Processed in 0.030672 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部