CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX error: "enforce system memory limit" controls whether this is a fatal error (https://www.cfd-online.com/Forums/cfx/168692-cfx-error-enforce-system-memory-limit-controls-whether-fatal-error.html)

windfire March 27, 2016 04:06

CFX error: "enforce system memory limit" controls whether this is a fatal error
 
hello,everyone,i have a problem in cfx ,this tip means not have enough memory? how to solve it?
thank you
| Host Memory Information (Mbytes) |
+--------------------------------------------------------------------+
| Host | Npart | System | Allocated | % |
+------------------------+-------+-------------+-------------+-------+
| WSA | 16 | 23542.21 | 27439.56 |116.55 |
+------------------------+-------+-------------+-------------+-------+

+--------------------------------------------------------------------+
| ERROR #333100220 has occurred in subroutine Out_MemPar. |
| Message: |
| |
| The allocated memory exceeds the system memory on 1 host(s). |
| |
| The logical expert parameter "enforce system memory limit" |
| controls whether this is a fatal error. |
| |
| The current setting is: fatal |
| |
| Allocating more than the system memory may result in slow or |
| unreliable operation and is not recommended. |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created. |
+--------------------------------------------------------------------+

Opaque March 28, 2016 08:33

It means the software requires more memory than currently available on the machine. You have several options:

- Run the same case in parallel on multiple machines, i.e. reduce the requirements per partition and spread the memory requirements among multiple machines

- Reduce the memory estimated by the software and see if it can work with less memory. See memory settings under the advanced control when defining the run

- Use the expert parameter provided, and see if it can work even there is not enough memory. I doubt it will, but you can give it a try.

Hope the above helps,

tata136 August 23, 2016 04:02

how to change the "The current setting is: fatal"
 
I have similar problem.
In my case, the percent difference between allocated memory and system's memory is no greater than 1 %.
From the out file there is this error description message that says
"The logical expert parameter "enforce system memory limit" controls whether this is a fatal error.
The current setting is: fatal"

So i've been thinking about changing the current setting value of the logical expert parameter "enforce system memory limit" to be not "fatal", hoping the solver may be able to solve my case. But i cant find such "enforce system memory limit" in the expert parameter tab.
Can anyone share me some enlightments?

Thanx in advance.

kabuforever August 23, 2016 04:19

Decrease your mesh elements or upgrade your computer with more memory.

ghorrocks August 23, 2016 05:52

Or use distributed parallel - and if you are already use more nodes.

Jiricbeng October 11, 2016 04:38

Quote:

Originally Posted by Opaque (Post 591942)
- Reduce the memory estimated by the software and see if it can work with less memory. See memory settings under the advanced control when defining the run

Could you please explain why to try to reduce the memory?

ghorrocks October 11, 2016 05:21

Because the system does not have enough memory to run the simulation as it is configured, so if you reduce the memory used somehow it might run. Isn't that obvious?

Jiricbeng October 12, 2016 04:45

Memory allocations have never been obvious to me :-)

Thank you

YuhanW March 22, 2020 17:58

Quote:

Originally Posted by ghorrocks (Post 621007)
Because the system does not have enough memory to run the simulation as it is configured, so if you reduce the memory used somehow it might run. Isn't that obvious?


Hi Sir,
I met the exact same problem here. I also could not find the "enforce system memory limit" in the expert parameters. I did like you suggested for running in distributed parallel: Intel MPI Distributed Parallel, but a new error was shown like below:

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The Intel MPI hydra service is not running and/or no user |
| credentials have been registered. The output given by E:\ANSYS |
| 2019R1\ANSYS |
| Inc\v193\commonfiles\MPI\Intel\2018.3.210\winx64\b in\mpiexec.exe |
| was: |
| |
| FAIL: Unable to read the credentials from the registry. |
| |
| Either: |
| |
| 1. Install Intel MPI using the ANSYS Installer, caching the |
| password as per the installation instructions. CFX must then be |
| restarted. |
| |
| 2. Alternatively, configure MPI using the commands: |
| |
| cfx5parallel -install-impi-service |
| |
| cfx5parallel -register-impi-user |
+--------------------------------------------------------------------+

can you give me some other suggestions? or do I need to choose "IBM MPI Distributed Parallel"?

Thank you in advance!

ghorrocks March 22, 2020 18:20

You need to configure the Intel MPI service as described in the installation instructions, or change to a different MPI method (eg IBM).

YuhanW March 22, 2020 20:17

Quote:

Originally Posted by ghorrocks (Post 762507)
You need to configure the Intel MPI service as described in the installation instructions, or change to a different MPI method (eg IBM).

Thanks for replying!
I tried with "IBM MPI Distributed Parallel" but it did not work. The original error "The allocated memory exceeds the system memory" back to the solver. I wonder if the Distributed Parallel is the only method to solve that? Is there any other way for that? Or how could we find the "enforce system memory limit" in the expert parameter setting?

Thanks in advance!

ghorrocks March 23, 2020 04:19

The only way to fix the "exceeds system memory" error is to either put more memory in the machine or to make the simulation size in that node smaller but using more partitions or a coarser mesh.

YuhanW March 23, 2020 08:15

Quote:

Originally Posted by ghorrocks (Post 762539)
The only way to fix the "exceeds system memory" error is to either put more memory in the machine or to make the simulation size in that node smaller but using more partitions or a coarser mesh.

Thanks for replying!
The thing is I met an "insufficient allocated memory" problem before and it took me a whole weekend to fix that, and finally it shown that the problem is due to I set up the wrong rotational axis (not sure how the axis related to the memory stuff). The mesh is only 1.5million and my computer has 8GB ram I think it is fine to run that, so I am wondering if the memory problem this time could also happen for some setting in CFX-Pre rather than the computer itself?

Thanks in advance!


All times are GMT -4. The time now is 02:28.