<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Running large grids using OpenFOAM on XSEDE Kraken</title>
  <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_thread?p_l_id=&amp;threadId=582012" />
  <subtitle>Running large grids using OpenFOAM on XSEDE Kraken</subtitle>
  <entry>
    <title>RE: Running large grids using OpenFOAM on XSEDE Kraken</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=668171" />
    <author>
      <name>Mark William Crosskey</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=668171</id>
    <updated>2014-03-07T20:24:16Z</updated>
    <published>2014-02-24T18:14:51Z</published>
    <summary type="html">Karthik,&lt;br /&gt;&lt;br /&gt;I believe I&amp;#039;ve found a way around decomposePar not running in parallel. The solution is to use redistributePar as it says in the header file:&lt;br /&gt;&lt;br /&gt;# Create empty processor directories (have to exist for argList)&lt;br /&gt;mkdir processor0&lt;br /&gt;..&lt;br /&gt;mkdir processorN&lt;br /&gt;# Copy undecomposed polyMesh&lt;br /&gt;cp -r constant processor0&lt;br /&gt;# Distribute&lt;br /&gt;mpirun -np ddd redistributePar -parallel (for Kraken this would be aprun -n redistributePar -parallel)&lt;br /&gt;&lt;br /&gt;However, this leaves out a very important line on the second step. You also have to do &amp;#034;cp -r 0 processor0&amp;#034; or the fields will not be distributed with the mesh. Once the results are finished, you also cannot recombine them with recomposePar as that utility can also not be run in parallel. Therefore, you can create the something.openfoam file and read in each section of the grid or all of them at once from the processor directories in Fieldview/Paraview using the OpenFOAM direct reader.&lt;br /&gt;&lt;br /&gt;-Mark</summary>
    <dc:creator>Mark William Crosskey</dc:creator>
    <dc:date>2014-02-24T18:14:51Z</dc:date>
  </entry>
  <entry>
    <title>Running large grids using OpenFOAM on XSEDE Kraken</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=582011" />
    <author>
      <name>Karthik Rudra Reddy</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=582011</id>
    <updated>2014-01-30T18:57:27Z</updated>
    <published>2013-08-23T00:44:38Z</published>
    <summary type="html">Hi all,&lt;br /&gt;&lt;br /&gt;I&amp;#039;ve been running simulations using OpenFOAM on Kraken for sometime now. Recently I tried running a grid with ~10M cells, but ran into memory issues while trying to do domain decomposition (using decomposePar). I also tried creating some simple grids using OpenFOAM&amp;#039;s blockMesh utility to see how large a grid it can handle. The utility was able to generate grids with ~6M cells, and for larger grids, would return this error message:&lt;br /&gt;&lt;br /&gt;new cannot satisfy memory request.&lt;br /&gt;This does not necessarily mean you have run out of virtual memory.&lt;br /&gt;It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library&lt;br /&gt;Aborted&lt;br /&gt;&lt;br /&gt;This was while I was working on the login nodes (with 8GB memory). I recently submitted a ticket regarding this, and tech support suggested I use the compute nodes instead (with 16GB memory). This did take care of the memory issue. However, I&amp;#039;m not really sure if this is a memory issue and not some other bug, since ~10M cells is not a big grid by today&amp;#039;s standards. So I&amp;#039;m curious to know if other people running OpenFOAM have encountered this error while working with large grids (&amp;gt;10M cells). I&amp;#039;d really appreciate if people who&amp;#039;ve experienced this could comment here.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Karthik</summary>
    <dc:creator>Karthik Rudra Reddy</dc:creator>
    <dc:date>2013-08-23T00:44:38Z</dc:date>
  </entry>
</feed>

