CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

'nmake' is not recognized as an internal or external command ...

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 27, 2012, 15:54
Default 'nmake' is not recognized as an internal or external command ...
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
hi everybody,

I have some problem with compiling my udf. I didn't work before with udfs. I searched the forum for my problem but I cannot solve it.

when I want to build my udf the this error apears:

Code:
Deleted old libudf\ntx86\2d\libudf.dll
        1 file(s) copied.
        1 file(s) copied.
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile")
        1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\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.

Done.
I think this error originates from Env. variables.
Is anybody here that can help me?!?!?!? what should I do???
adambarfi is offline   Reply With Quote

Old   September 28, 2012, 09:13
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
OK! I solved it.
I Installed the VS and ran the Fluent in its command prompt.
adambarfi is offline   Reply With Quote

Old   October 1, 2012, 02:15
Default
  #3
New Member
 
Join Date: Sep 2012
Posts: 7
Rep Power: 4
oinch is on a distinguished road
Hello!!!

I am facing the same problem that you used to!! And this is exactely what I wanted to ask in this forum!

Can you help me please because I don't know what is VS ? And what is the method to run Fluent in its command prompt?

Thank you very much for your help!

Samia
oinch is offline   Reply With Quote

Old   October 1, 2012, 03:49
Default
  #4
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 11
blackmask will become famous soon enough
VS = (Microsoft) Visual Studio
First you should make sure that you have at least one C compiler installed in your OS, MSVC is a common choice in windows. Then you should make sure that the directory containing "nmake.exe" is in the "Path" variable, otherwise you have to edit the Path manually. Search "manage environment variable windows" for more information.
You don't have to run Fluent from the "Visual Studio Command Prompt" if your path variable is set correctly.
blackmask is offline   Reply With Quote

Old   October 1, 2012, 08:00
Default
  #5
New Member
 
Join Date: Sep 2012
Posts: 7
Rep Power: 4
oinch is on a distinguished road
Thanks for your answer!

Well, I am using CVI in order to write the UDF, from the National Instrument, and it seems that the compiler is in the package. I searched "manage environment variable windows" and I openned the window path variables and there is nothing called nmake.exe or even nmake.

So I have to create the nmake.exe as a path variable?
oinch is offline   Reply With Quote

Old   October 6, 2012, 03:54
Default
  #6
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 11
blackmask will become famous soon enough
It seems that CVI don't ship a Makefile-capable utility like "nmake.exe". You have to install MSVC in order to compile your UDF under Win* environment. There is a work-around that to compile the library manually instead of invoking the Makefile, but to install MSVC is simpler. You can use "interpreted UDF" instead if there is no restriction to do that in your UDF.
blackmask is offline   Reply With Quote

Old   October 6, 2012, 04:00
Default
  #7
New Member
 
Brendan
Join Date: Oct 2012
Posts: 10
Rep Power: 4
clarkie_49 is on a distinguished road
Also, if you are using Windows 7 64-bit you may also need to download SDK for Windows 7 and launch fluent from the SDK command prompt (as i had to).

http://www.cfd-online.com/Wiki/Fluen...at_is_wrong.3F
clarkie_49 is offline   Reply With Quote

Old   October 6, 2012, 06:53
Default
  #8
Senior Member
 
Join Date: Jun 2011
Posts: 108
Rep Power: 6
mali28 is on a distinguished road
Quote:
Originally Posted by adambarfi View Post
hi everybody,

I have some problem with compiling my udf. I didn't work before with udfs. I searched the forum for my problem but I cannot solve it.

when I want to build my udf the this error apears:

Code:
Deleted old libudf\ntx86\2d\libudf.dll
        1 file(s) copied.
        1 file(s) copied.
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile")
        1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\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.

Done.
I think this error originates from Env. variables.
Is anybody here that can help me?!?!?!? what should I do???
See the solution here:

http://www.eureka.im/68.html
mali28 is offline   Reply With Quote

Old   October 8, 2012, 02:03
Default
  #9
New Member
 
Join Date: Sep 2012
Posts: 7
Rep Power: 4
oinch is on a distinguished road
Well thank you very much I will try to do that !
oinch is offline   Reply With Quote

Old   October 8, 2012, 07:52
Arrow
  #10
New Member
 
hzsme
Join Date: Sep 2012
Posts: 7
Rep Power: 4
hzsme is on a distinguished road
refer to below link and solve your problom


http://www.question-defense.com/2009...-or-batch-file
hzsme is offline   Reply With Quote

Old   October 10, 2012, 06:19
Default
  #11
Member
 
Tamil Nadu
Join Date: Oct 2012
Posts: 44
Rep Power: 4
nkme2007 is on a distinguished road
Hello All,

I want to do analysis of heat transfer from water flowing through pipes submerged inside concrete. I am modelling in GAMBIT and wish to analyse it on Ansys FLUENT.

Can anybody help me out, how to model and simulate?

Does any tutorials exist?
nkme2007 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 12:37
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 21:45
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26


All times are GMT -4. The time now is 21:07.