Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Insufficient memory allocated

    • ferranroigtio
      Subscriber

      Hi, there.


      I've been trying to run several models of 1 to 15 million elements in CFX. I've been using different Partition Types (MeTiS, Optimized RCB, Recursive Coord Bisection, Simple Assignment...), I've tried Memory Alloc Factors from 1 to 8, including 1.2 and 1.5. In all cases, the partition was unsuccessful, with errors like the one copied below.



      *** INSUFFICIENT MEMORY ALLOCATED ***

      ACTION REQUIRED : Increase the real stack memory size.

      Details :
         Requested space             :       38312091 words
         Current allocated space   :       75940293 words
         Current used space         :       58913880 words
         Current free space           :       17026413 words
         Number of free areas      :              1



      Details of error:-

      Error detected by routine MAKDAT
      CDANAM =  CrdIPVx CDTYPE =  REAL ISIZE =  38312091
      CRESLT = FULL



      The numbers may change depending on the precise settings for each case. I have been able to control Current allocated space (thorugh Memory Alloc Factor), but I couldn't find out what caused a change in Requested space or Current used/free space. Nevertheless, Current free space was always less than Requested space.


      I'm running out of resources and hope. Hence, I would appreciate any sort of help or light.

    • Rob
      Forum Moderator

      What licence are you using? The Student & Teaching keys are capped at 512k cells as they're for learning rather than running big models. 

    • ferranroigtio
      Subscriber

      Thanks, rwoolhou. I am indeed using an academic licence. However, that could explain the error partially.


      On the one side, I am able to run the models if I skip partition (in Serial mode). Yet, they still have 1 to 15 million elements. Then, in this case the capping does not apply.


      On the other side, I am allowed to use a cluster in the university meant for big models. Although I produce my .def file using an academic licence, I don't think the cluster runs with academic licence too. Yet, the error is the same during partition.


      Thank you anyway for your insight.

    • Rob
      Forum Moderator

      Also check RAM on the head node. I use Fluent mainly (I can just about drive CFX) and partitioning can cause problems if the RAM isn't available. Run a monitor on the cluster to see what's going on. 

    • ferranroigtio
      Subscriber

      Thanks. I finally overrode the real memory with the maximum value (some 2147 Mwords in my case). The partition was successful and the solver is ongoing in the cluster. Fingers crossed.

Viewing 4 reply threads
  • The topic ‘Insufficient memory allocated’ is closed to new replies.