| 2 | 1/1 | 返回列表 |
| 查看: 1744 | 回復(fù): 1 | |||
zoupeng2046金蟲 (正式寫手)
|
[求助]
在linux中算fluent時采用解釋性UDF時出錯
|
|
各位大俠,本人在linux中用fluent13加載UDF時出現(xiàn)了兩個問題,盼望各位大俠施以援手。 問題1:自己編寫了一個UDF文件,在windows下進行解釋和編譯都沒有問題,然而在linux(版本是ret hat enterprise linux5)下,對UDF進行解釋時提示下面錯誤 Error:/root/zoupeng/thetmalconduct.c:line 2:syntax error. 在網(wǎng)上查詢時,有人說時是格式不對,需要用dos2unix進行格式轉(zhuǎn)換 然而在對thetmal.c這個UDF文件進行轉(zhuǎn)換時,發(fā)現(xiàn)轉(zhuǎn)換不成功: [root@node1 ~]# dos2unix thetmalconduct.c dos2unix: converting file thetmalconduct.c to UNIX format ... dos2unix: problems converting file thetmalconduct.c 不知道是什么原因。 問題2:對另外一個UDF文件,在windows系統(tǒng)中解釋和編譯沒問題,但在linux中編譯時,進行build時沒有提示錯誤,但是當(dāng)進行l(wèi)oad時,就會提示 Opening library "libudf"... Primitive Error at Node 1 pening_udf_library:No such file or directoryPrimitive Error at Node 2 pening_udf_library:No such file or directoryPrimitive Error at Node 3 pening_udf_library:No such file or directoryPrimitive Error at Node 4 pening_udf_library:No such file or directoryPrimitive Error at Node 5 pening_udf_library:No such file or directoryPrimitive Error at Node 6 pening_udf_library:No such file or directoryPrimitive Error at Node 7 pening_udf_library:No such file or directoryPrimitive Error at Node 8 pening_udf_library:No such file or directoryPrimitive Error at Node 9 pening_udf_library:No such file or directoryPrimitive Error at Node 10 pening_udf_library:No such file or directoryPrimitive Error at Node 11 pening_udf_library:No such file or directoryPrimitive Error at Node 0 pening_udf_library:No such file or directoryError pening_udf_library:no error ErrorObject:#f 請教論壇各位大俠們,這是出了什么錯誤 ![]() |
|
文件格式問題,如果轉(zhuǎn)換不了,告訴你一個最笨的方法,linux下打開vim,重新寫一下。 或者windows下ultraedit軟件將\r\n轉(zhuǎn)換為\n. |
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 285求調(diào)劑 +6 | AZMK 2026-03-29 | 9/450 |
|
|---|---|---|---|---|
|
[考研] 317求調(diào)劑 +8 | 十閑wx 2026-03-24 | 8/400 |
|
|
[考研]
|
gr哈哈哈 2026-03-28 | 3/150 |
|
|
[考研] 284求調(diào)劑 +14 | junqihahaha 2026-03-26 | 15/750 |
|
|
[考研] 0703化學(xué) +14 | 妮妮ninicgb 2026-03-27 | 14/700 |
|
|
[考研] 生物技術(shù)與工程 +7 | 1294608413 2026-03-25 | 8/400 |
|
|
[考研] 南京大學(xué)化學(xué)調(diào)劑 +10 | 景隨風(fēng) 2026-03-29 | 15/750 |
|
|
[考研] 求調(diào)劑,一志愿 南京航空航天大學(xué)大學(xué) ,080500材料科學(xué)與工程學(xué)碩 +6 | @taotao 2026-03-26 | 7/350 |
|
|
[考研] 311求調(diào)劑 +6 | 冬十三 2026-03-24 | 6/300 |
|
|
[考研]
|
nnnnnnn5 2026-03-25 | 11/550 |
|
|
[考研] 343求調(diào)劑085601 +3 | 要努力學(xué)習(xí)x 2026-03-29 | 3/150 |
|
|
[考研] 279求調(diào)劑 +4 | 蝶舞輕繞 2026-03-29 | 4/200 |
|
|
[考研] 本科新能源科學(xué)與工程,一志愿華理能動285求調(diào)劑 +3 | AZMK 2026-03-27 | 5/250 |
|
|
[考研] 347求調(diào)劑 +3 | 山頂見α 2026-03-25 | 3/150 |
|
|
[考研] 292求調(diào)劑 +14 | 鵝鵝鵝額額額額?/a> 2026-03-25 | 15/750 |
|
|
[考研] 0703化學(xué)求調(diào)劑,各位老師看看我。。 +5 | 祁祺祺 2026-03-25 | 5/250 |
|
|
[考研] 086000調(diào)劑 +3 | 7901117076 2026-03-26 | 3/150 |
|
|
[考博] 26申博 +3 | 加油沖。 2026-03-26 | 3/150 |
|
|
[考研] 網(wǎng)絡(luò)空間安全0839招調(diào)劑 +4 | w320357296 2026-03-25 | 6/300 |
|
|
[考研] 347求調(diào)劑 +4 | L when 2026-03-25 | 4/200 |
|