nmake error message when compiling a Fluent UDF ‘nmake’ is not recognized as an internal or external command, operable program or batch file.
Tagged: 19.1, Compiler Support, FLUENT - SYS, Installation/Licensing/Systems, N/A, nmake
-
-
January 25, 2023 at 7:28 am
FAQ
ParticipantQuestion: Fluent reports this error message when compiling a Fluent UDF: ‘nmake’ is not recognized as an internal or external command, operable program or batch file. Answer: UDFs require that a compiler be installed. Linux operating systems typically come with a number of compilers and any ANSI-compliant compiler will do. Windows requires that “Microsoft Visual Studio” is installed. See the Ansys Help//Windows Installation Guide//Compiler Requirements for which versions are compatible with the version of Ansys you are running. The Community Edition requires the user to register after 30 days and is subject to certain restrictions under Microsoft Terms & Agreements. Please read the Terms & Agreement from Microsoft before you decide to use this version as this version is not free for commercial customers. https://visualstudio.microsoft.com/license-terms/mlt553321/. As an alternative, you can install the “Microsoft Visual C++ Build Tools” which contains just the basic compilation tools with no integrated development environment (IDE) and these are sufficient to compile UDFs. For example, the Build Tools can be downloaded from the following link: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017. Once installed, update the udf.bat file in the C:Program FilesANSYS Incv19.xfluentntbinwin64 directory (rename the existing udf.bat first) and add the following line. “if exist “%MSVC_DEFAULT%BuildToolsVCAuxiliaryBuildvcvarsall.bat” set MSVC=%MSVC_DEFAULT%BuildTools” If the ‘nmake’ error still occurs after a compiler has been installed then this is normally due to Microsoft Visual Studio not being installed with sufficient permissions on Windows. The compiler needs to be installed with sufficient administrative rights that allow the registry to be edited. For example, it is possible for a user to have admin rights but not have rights to edit the registry. If this is the case then you will need to have IT install the compiler with full IT admin rights.
-

Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...

How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...

Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1 provides background information on the model and a...

Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- When I am trying to launch Fluent, the GUI is stuck at this message. Host spawning Node 0 on machine “abcd-pc” (win64) There is no error. Same problem in serial mode I am not connected to VPN.
- Unexpected error: The following required addins could not be loaded: Ans.SceneGraphChart.scencegraphaddin. The software will exit
- Ansys Licensing: Managing Activations
- FLEXnet Licensing Error -96: Error getting status: License server machine is down or not responding. (-96,7:11001 “WinSock: Host not found (HOST_NOT_FOUND)”) ansyslmd: The desired vendor daemon is down. (-97,121)
- Installing ANSYS License Manager on Windows
- 2019R1 Workbench Fluent design point update (foreground in Solution and foreground in Parameter Set) stuck at end of 1st DP and doesn’t proceed to next DP. Fluent processes could not be terminated after iterations and cas/dat files are written in 1st DP.
- Unable to start the Geometry or Mechanical Editor (Linux)
© 2023 Copyright ANSYS, Inc. All rights reserved.