24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2940  |  回复: 15
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zl83828

铁虫 (初入文坛)

[交流] 【求助】单机多核UDF怎么并行计算已有12人参与

我在进行计算的时候,单机添加UDF可以计算,但是想使用单机多核计算的时候,添加UDF程序以后就没法并行计算了,怎么才能解决呢?
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zl83828

铁虫 (初入文坛)

引用回帖:
Originally posted by zl83828 at 2010-11-26 10:32:21:

是链接上的问题,链接不上啊,是不是路径有问题?

具体是这样的:我的是解释型的,四个核可以编译成功,如下:
cpp -I"C:\fluent.inc\fluent\fluent6.3.26/src" -I"C:\fluent.inc\fluent\fluent6.3.26/cortex/src" -I"C:\fluent.inc\fluent\fluent6.3.26/client/src" -I"C:\fluent.inc\fluent\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="" "C:\Fluent.Inc\flu
nt\ntbin\pressure_proile1.c"

cpp -I"C:\fluent.inc\fluent\fluent6.3.26/src" -I"C:\fluent.inc\fluent\fluent6.3.26/cortex/src" -I"C:\fluent.inc\fluent\fluent6.3.26/client/src" -I"C:\fluent.inc\fluent\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H=" ig-node0.h>" "C:/Users/zl/AppData/Local/Temp/pressure_proile1.c.0.c"

cpp -I"C:\fluent.inc\fluent\fluent6.3.26/src" -I"C:\fluent.inc\fluent\fluent6.3.26/cortex/src" -I"C:\fluent.inc\fluent\fluent6.3.26/client/src" -I"C:\fluent.inc\fluent\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H=" ig-node1.h>" "C:/Users/zl/AppData/Local/Temp/pressure_proile1.c.1.c"

cpp -I"C:\fluent.inc\fluent\fluent6.3.26/src" -I"C:\fluent.inc\fluent\fluent6.3.26/cortex/src" -I"C:\fluent.inc\fluent\fluent6.3.26/client/src" -I"C:\fluent.inc\fluent\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H=" ig-node2.h>" "C:/Users/zl/AppData/Local/Temp/pressure_proile1.c.2.c"

cpp -I"C:\fluent.inc\fluent\fluent6.3.26/src" -I"C:\fluent.inc\fluent\fluent6.3.26/cortex/src" -I"C:\fluent.inc\fluent\fluent6.3.26/client/src" -I"C:\fluent.inc\fluent\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H=" ig-node3.h>" "C:/Users/zl/AppData/Local/Temp/pressure_proile1.c.3.c"
但是在边界条件中选择udf的时候就出现
999999 (..\..\src\mpsystem.c@1123): mpt_read: failed: errno = 10054

999999: mpt_read: error: read failed trying to read 4 bytes: Invalid argument
,unable to read the cmd header on the pmi context, Undefined dynamic error code.
unable to read the cmd header on the pmi context, Undefined dynamic error code.
unable to read the cmd header on the pmi context, Undefined dynamic error code.
received suspend command for a pmi context that doesn't exist: unmatched id = 3
received suspend command for a pmi context that doesn't exist: unmatched id = 2
unable to read the cmd header on the pmi context, Undefined dynamic error code.

job aborted:
The Parallel FLUENT process could not be started.
rank: node: exit code[: error message]
0: zl-PC: -1073741819: process 0 exited without calling finalize
1: zl-PC: -1073741819: process 1 exited without calling finalize
2: zl-PC: -1073741819: process 2 exited without calling finalize
3: zl-PC: 123

Interrupting...
Done.
这是怎么回事啊?
6楼2010-12-07 20:26:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 16 个回答

enrique_26

至尊木虫 (正式写手)


小木虫(金币+0.5):给个红包,谢谢回帖交流
这个问题应该不会存在的阿  并行的和单机 UDF没有区别阿
人是感性和理性的共同体!
2楼2010-11-24 10:18:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

47425804

木虫 (正式写手)



小木虫(金币+0.5):给个红包,谢谢回帖交流
可否详细说下情况,具体是哪一步出问题了?build还是load还是计算出错~~
3楼2010-11-26 09:43:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zl83828

铁虫 (初入文坛)

引用回帖:
Originally posted by 47425804 at 2010-11-26 09:43:50:
可否详细说下情况,具体是哪一步出问题了?build还是load还是计算出错~~

是链接上的问题,链接不上啊,是不是路径有问题?
4楼2010-11-26 10:32:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复(可上传附件)
信息提示
请填处理意见