Ansys Free Student Software

Ansys Free Student Software

UDF Compiling Error – UDF library is not complied for parallel use on win64

    • jasonsum25
      Subscriber
      I have been trying to solve the error: “The UDF library you are trying to load (libudf) is not complied for parallel use on the current platform (win64)” when I am planning to insert my .c file so as to set UDF for inlet velocity profile (human breathing sinesoidal pattern).
       
      Based on the online guidance and forum discussion, I have already tried series of solution but in vain:
       
      - I have downloaded Visual Studio Community 2017 and start fluent via x86_x64 Cross Tools Command Prompt for VS2017
       
      - I have edited the environment variables in Advanced System Setting under computer setting by adding 
      “C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools” & “C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC” & “C:\Program Files\ANSYS Inc\v202\fluent\ntbin\win64” 
       
      - I planned to try by using series instead of parallel solvers but seems v2022 does not offer series solver setting.

      Below is my .c code for setting variable velocity inlet of human breathing patterns (inhaling and exhaling):

      Below is the error window popped up after loading the .c file:

      DESKTOP-3DT4CDJ: Opening library "C:\Test\libudf"...

      Error at host: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_host\libudf.dll

      Error at Node 9: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 0: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 1: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 2: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 3: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 4: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 5: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 6: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 7: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 8: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 10: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 11: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 12: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 13: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 14: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 15: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 16: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 17: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 18: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error at Node 19: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).

      The system cannot find the file specified.

      C:\Test\libudf\win64\3ddp_node\libudf.dll

      Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).\n\nThe system cannot find the file specified.

      \n\nC:\Test\libudf\win64\3ddp_host\libudf.dll

      Error Object: #f

    • Rob
      Ansys Employee

      When you tried to compile it you'll have got an error, almost certainly "nmake" is featured in the text.  

      As you're on Windows try the built in compiler.  We've had problems with the VS builds, mainly that the various free components move around Microsoft's site every release so added a built in compiler (CLANG) a couple of versions ago. Or use Linux as the compilers are built into the OS so even fewer problems. 

Viewing 1 reply thread
  • You must be logged in to reply to this topic.