|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
1. 在并行版本上编译(interpreted形式)时出现如下错误信息:
cpp -I/gpfs/chen/usr/Fluent.Inc/fluent6.1.22/src
-I/gpfs/chen/usr/Fluent.Inc/fluent6.1.22/cortex/src
-I/gpfs/chen/usr/Fluent.Inc/fluent6.1.22/client/src
-I/gpfs/chen/usr/Fluent.Inc/fluent6.1.22/multiport/src
-I. -DUDFCONFIG_H="<udfconfig.h>" /gpfs/wu/tube/boundary.c
cpp: 1501-203 configuration file /etc/vac.cfg does not contain stanza cpp
Error: /gpfs/jzwu/draft tube/boundary.c: line 1: syntax error.
UDF代码应该不会有任何问题,因为在单机上编译时能通过,而且即使是编译一个简单的2D例子也会出现上述问题。
从提示的内容看,应该是没有CPP编译器之类的,但是换用其它几种C处理器,如gcc -E
、cc -E也会出现类似的情况。
2. 采用compiled形式编译UDF中的一个问题
在单机上建立好所需的文件目录(如: libudf\ntx86\2d、libudf\src)并将udf代码及udf_nt.udf、makefile_nt.udf放置到相应的文件夹、将makefile_nt.udf更名为makefile并修改udf_nt.udf后,在DOS环境下执行nmake命令,出现如下错误信息:
D:\Fluent.Inc\grid\libudf\ntx86\2d>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl /c /Za /DUDF_EXPORTING -Id:\fluent.inc\fluent6.1\ntx86\2d -Id:\fluen
t.inc\fluent6.1\src -Id:\fluent.inc\fluent6.1\cortex\src -Id:\fluent.inc\fluen
t6.1\client\src -Id:\fluent.inc\fluent6.1\tgrid\src -Id:\fluent.inc\fluent6.1\
multiport\src ..\..\src\vx2.c
';cl'; 不是内部或外部命令,也不是可运行的程序
或批处理文件。
NMAKE : fatal error U1077: ';cl'; : return code ';0x1';
Stop.
查看了makefile中对应的部分:
SRC = ..\..\src^\
CC = c1
根据UDF的帮助文件及makefile文件中的内容,在windows下并不需要修改makefile中的内容。
恳请各位大侠帮我指点迷津!!! 先谢了!
|
|