CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Compile UDF (https://www.cfd-online.com/Forums/fluent/66944-compile-udf.html)

Alkulkarni July 29, 2009 00:05

Compile UDF
 
Dear All,

I am trying compile UDF from tutorial in Fluent. The error message displayed is as below

Deleted old libudf\win64\2d\libudf.dll
1 file(s) copied.
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\win64\2d\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "win64\2d")()
'nmake' is not recognized as an internal or external command,
operable program or batch file.
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Does anyone have idea to solve it?

Thank you,
Abhijit Kulkarni

Jiuan August 4, 2009 12:07

I had the same problem bofore. When I check the UDF manual, it is noted that we have install microsoft visual studio to compile UDF.


Quote:

Originally Posted by Alkulkarni (Post 224511)
Dear All,

I am trying compile UDF from tutorial in Fluent. The error message displayed is as below

Deleted old libudf\win64\2d\libudf.dll
1 file(s) copied.
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\win64\2d\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "win64\2d")()
'nmake' is not recognized as an internal or external command,
operable program or batch file.
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Does anyone have idea to solve it?

Thank you,
Abhijit Kulkarni


Alkulkarni August 5, 2009 04:37

I have installed Microsoft visual studio on both 64 bit and 32 bit machine. The window for commond prompt is not available.

Daniel Tanner August 5, 2009 07:49

Try opening fluent from a Visual studio terminal, something like:
start -> All Programs -> Visual Studio -> Visual studio Tools ...

This will ensure that the environment is properly configured and that the Visual Studio compilers are available to fluent.

launch fluent using the standard command line options, something like:
fluent 3ddp -64

If you want 64-bit you should open the 64-bit Visual Studio terminal.

Let me know if this works!


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