hexagon logo

How to resolve exit number 2041 error?

I tried to perform an analysis with over 4 million tetrahedral elements. I got the error below. How can I solve this problem. I am using out-of-core, multiple threads and MUMPS solver.
gt
  • You can try CASI solver for this TET4 model or PARDISO. If you get a memory error with either of these solvers, check the out file for allowed memory & attempted use. That should give yo some idea about how much memory is required to run the job.
     
  • Dear Kiranraj Shetty,
     
    Thank you very much for your reply and I am sorry for my late message. I did various analyses by changing mesh density and solver type (such as CASI and PARDISO). I noticed that when the analsis contains a lot of elements I get error messages such as 4001, 2007, 2039, 4032 even though I used CASI or PARDISO solver with out-of-core element storage. I checked the out file and saw the error "upper bound on allowed memory exceeded". I have added the screen-shot below. Which memory is referred here? How can I resolve this problem? Should I change my computer? Should I use multiple computers in parallel? And lastly, does Marc has any upper limit for the number of elements to be used in an analysis?
     
    ErrOr
  • Marc does not have a practical limitation on the number of nodes / dof. However, MAXNUM by default is set to 1000000 which represents the maximum number of nodes and elements.
    This can be specified in the "include_win64.bat" file located in Marc installation ex: D:\MSC.Software\marc2021.2\tools
     
    The message from .out file shows about 7.5GB is allowed, and Marc needs about 12GB of RAM.
     
    Memory limit is specified in the same "include_win64.bat" file and by default set to max RAM available in the machine. If it is set to any value in your file, increase the limit, If not you should run on a machine with more RAM.
     
  • Dear Kiranraj Shetty,
     
    Thank you for your quick reply. How can I change max. no. of nodes and max. memory?
     
    mm
  • Open the file "include_win64.bat" in text editor and change the values set to MAXNUM to some value above the default value of 1000000.
     
    To specify the memory limit beyond which marc goes out of core, you can use the keyword -ml XX while submitting the job through the command window (where XX Is the memory Specified in Mbyte.)
     
    Or can set the value in "set MEMLIMIT= XXXXXXX" in the include_win64.bat file. where XXX... represents the memory.