fluent计算老是容易出现的错误,是什么原因?是因为开的核数太多吗

reversed flow in 418 faces on pressure-outlet 3. Error: Unknown object encountered in garbage collectionError encountered in critical code sectionMPI Application rank 0 exited before MPI_Finalize() with status 1***************************************************************************** hwloc has encountered what looks like an error from the operating system.** Socket (cpuset 0xfff000ff) intersects with Socket (cpuset 0x000fffff) without inclusion!* Error occurred in topology.c line 940** Please report this error message to the hwloc user✀s mailing list,* along with any relevant topology information from your platform.**************************************************************************** The fl process could not be started.
2026年09月23日 09:56
有1个网友回答
网友(1):

是这样吧,我也碰到过。如果你打的是这样的形式:
char ch;
do
{
语句A;
}while(ch=='abcdefg');
就会报错
错误原因:单引号表示字符型常量。一般的,单引号中必须有,也只能有一个字符(使用转义符时,转义符所表示的字符当作一个字符看待),如果单引号中的字符数多于4个,就会引发这个错误。 另外,如果语句中某个字符常量缺少右边的单引号,也会引发这个错误。注意:如果单引号中的字符数是2-4个,编译不报错,不过会截断常量值。