|
[Sponsors] |
July 13, 2017, 17:32 |
First Step Parallel Simulation and HPC
|
#1 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Hello to all,
I'm moving my first steps in the world of parallel simulation and HPC. If i understood corectly, with parallel simulation i can divide my domain and let the single core of my CPU solve that part of domain assigned. So, if i had a quad core CPU, i could divide the domain in 4 part, and not more. Is it right? I run the pitzDailyExptInlet case, with my own PC, in the normal and parallel way but i didn't notice a substantial difference of velocity. Is my sensation wrong? Now a question for people who have already worked with HPC system. It is the first time i work with HPC system and i'm not sure about the structure of the system. To submit a job i have to specify: 1- The number of node NN 2- The number of CPUs (ncpus) max 16 in my case 3 -The number of MPI tasks per node (mpiprocs) I don't understand the meaning of 1 and 3. Suppose to choose these numbers (1,16,1) for the three value, this means that i have to decompose my domain in 16 regions, is it right? Last question: how does decomposePar work? Which criterion i should use to divide my domain? Which directions i should choose? Thanks for help. |
|
July 14, 2017, 05:17 |
|
#2 | |
Senior Member
Join Date: Jan 2015
Posts: 150
Rep Power: 11 |
Quote:
I suggest you to use 'scotch' method, which will do subdivision automatically without any extra input data. The number of subdomains in system/decomposeParDict could be arbitrary, but normally it is N or 2*N, where N is a total number of cores. Also, in HPC system you don't need to specify all (1)-(3) parameters. You should know which management system runs on your HPC station. If it is SLURM, then you can type 'sbatch -n 16 icoFoam -parallel', for example, where '16' is a number of threads (it should be equal to a number of subdomains (system/decomposeParDict)). |
||
July 14, 2017, 09:29 |
|
#3 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
Thank you Svensen, you clarified me some doubts.
To be precise my scheduling system is PBS. Best Regards, Roberto |
|
July 14, 2017, 10:05 |
|
#4 |
Senior Member
Join Date: Jan 2015
Posts: 150
Rep Power: 11 |
Normally for every HPC cluster there are some scripts, which used to submit a task for computing. The scripts generally are prepared by cluster administrators.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error while running a Fluent Simulation in Hpc cluster | averageindianjoe | FLUENT | 0 | February 7, 2017 06:10 |
help to run CFX simulation via HPC, please | happy | CFX | 19 | February 28, 2016 18:18 |
Job submit code in HPC for Workbench | beyonder1 | CFX | 0 | January 6, 2016 12:18 |
Ansys HPC licensing policy | assafwei | ANSYS | 0 | June 29, 2014 17:00 |
massive parallel run messed up lustre file system | matthias | OpenFOAM | 1 | May 28, 2011 17:18 |