Coder Social home page Coder Social logo

Comments (11)

Thomas-Ulrich avatar Thomas-Ulrich commented on July 26, 2024

from pumgen.

vyasjc avatar vyasjc commented on July 26, 2024

Hii Thomas,

Thanks for the suggestions. You are quite right that its simmodeler error as you can see below in the warning. I am using 64 nodes and 1 task per node and 1 cpu per task. Actually, my domain size is big. Therefore, when i use grid size of 800m on fault as well as in domain it creates mesh but when i use 200m on fault and 800m in domain it fails. I am thinking this is because of memory issue but not quite sure how to fix it.


Sep 06 22:33:52, Debug: SimModeler: MeshCubeRefine
16% [=========== ] ^MSun Sep 06 22:33:52, Debug: Creating volume mesh 1 0 0 0
16% [=========== ] |^MSun Sep 06 22:33:52, Debug: Creating volume mesh 1 0 0 0
16% [=========== ] /^MSun Sep 06 22:33:52, Debug: Creating volume mesh 1 0 0 0
16% [=========== ] -^MSun Sep 06 22:33:52, Debug: Creating volume mesh 1 0 0 0
16% [=========== ] ^MSun Sep 06 22:33:52, Debug: Creating volume mesh 1 0 0 0
16% [=========== ] |^MSun Sep 06 22:33:52, Debug: Creating volume mesh 1 0 0 0
Sun Sep 06 22:34:01, Warn: SimModeler: [49] Code: 60 String: General error
Rank 49 [Sun Sep 6 22:34:01 2020] [c6-2c2s9n1] application called MPI_Abort(MPI_COMM_WORLD, 1) - process 49
srun: error: nid05157: task 49: Aborted
srun: Terminating job step 15578354.0
slurmstepd: error: *** STEP 15578354.0 ON nid05104 CANCELLED AT 2020-09-06T22:34:01 ***
srun: error: nid05127: task 19: Terminated
srun: error: nid05162: task 54: Terminated
srun: error: nid05109: task 5: Terminated
srun: error: nid05140: task 32: Terminated

from pumgen.

Thomas-Ulrich avatar Thomas-Ulrich commented on July 26, 2024

Hi, I would need to see the mesh parameters, but with 64 nodes, you have a huge amount of RAM on shaheen I think, so this should not be the problem.
What the size (number of cells) of the mesh with 800m everywhere?

from pumgen.

vyasjc avatar vyasjc commented on July 26, 2024

Below is the attached input file (.xml file). With 800m on fault and in domain grid size, the mesh size is 44 Million (successful run case). Now when I have 200m on fault and 800m in domain, not sure on how to estimate mesh size in advance (ofcourse for uniform grid spacing it is straight forward).

TP-3D-final_withXML.xml.pdf

from pumgen.

Thomas-Ulrich avatar Thomas-Ulrich commented on July 26, 2024

Hi,

I would not recommend using too many SmoothingLevel (time to mesh, usefulness?) and too small aspect ratio (less fit of the target geometry to match the AR criteria).
Here is what I usually use:

<area_AspectRatio value="6"/>
<vol_AspectRatio value="12"/>
<SurfaceMeshing SmoothingLevel="1" SmoothingType="Gradient" DiscreteAngle="5.0" Snap="0"></SurfaceMeshing>
<VolumeMeshing  SmoothingLevel="1" SmoothingType="Gradient" SetOptimisation="1"></VolumeMeshing>

Apart from that, I think if you can mesh with 800m on fault you should be able to mesh with 200m, because the mesh wont be much larger.
You should launch a set of runs with slightly varying parameters until simmodeler can mesh (e.g. gradation rate 0.14,0.15,0.16).
That's what I do usually and it works.
(we should report the problem also to simmodeler at some point so that it get fixed).

from pumgen.

vyasjc avatar vyasjc commented on July 26, 2024

Hii Thomas,

Thanks for your suggestions. I used your suggested parameters for area and volume aspect ratio and also tried different gradation rate (from 0.1 to 0.3) but still getting the similar error. I will try very large aspect ratio to check if that works.

from pumgen.

Thomas-Ulrich avatar Thomas-Ulrich commented on July 26, 2024

can you share the folder on shaheen? I can try to mesh it on supermucNG with an older (and therefore more stable) simModelerLib.

from pumgen.

vyasjc avatar vyasjc commented on July 26, 2024

Thanks, here is the folder: /project/k1488/mesh/simmodeler-mesh-final-800m

from pumgen.

Thomas-Ulrich avatar Thomas-Ulrich commented on July 26, 2024

Hi,
So I could generate a mesh with your files, on supermuc NG test queue, with:

#SBATCH --nodes=3
#SBATCH --ntasks-per-node=8

and the mesh is not significantly larger than with fault mesh size=800:

Tue Sep 08 09:33:55, Info:  AR max: 11.9975 
Tue Sep 08 09:33:55, Info:  AR (target: < ~10): 
Tue Sep 08 09:33:55, Info:    [ 0.00 , 2.00 ): 882814 
Tue Sep 08 09:33:55, Info:    [ 2.00 , 4.00 ): 45818488 
Tue Sep 08 09:33:55, Info:    [ 4.00 , 6.00 ): 1174844 
Tue Sep 08 09:33:55, Info:    [ 6.00 , 10.00 ): 544527 
Tue Sep 08 09:33:55, Info:    [ 10.00 , 20.00 ): 5304 
Tue Sep 08 09:33:55, Info:    [ 20.00 , 40.00 ): 0 
Tue Sep 08 09:33:55, Info:    [ 40.00 , 100.00 ): 0 
Tue Sep 08 09:33:55, Info:    [ 100.00 ,inf): 0 
Tue Sep 08 09:33:55, Info:  Converting mesh to APF 
Tue Sep 08 09:34:46, Info:  Mesh size: 48425977 
Tue Sep 08 09:34:48, Info:  Minimum insphere found: 10.1935 

my pumgen is compiled against simmodeler: 14.0-190921, which is slightly more recent than your 14.0-200719.
Maybe that's one of the problems.
(also note that I use much less nodes than you).

from pumgen.

vyasjc avatar vyasjc commented on July 26, 2024

Hii Thomas,

When I use only 4 nodes, I am also able to create mesh with my simmodeler (so old one). This is really strange and bizarre, is it that the work load balance was creating whole problem? Is that the old simmodeler has some work partitioning issue that you are aware of? And thanks for your suggestions, because without experience you can't find out such tiny detail.

from pumgen.

Thomas-Ulrich avatar Thomas-Ulrich commented on July 26, 2024

Good,

Maybe they do not have access to large HPC infrastructures, or it is not much tested because there are not many HPC users.

from pumgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.