sidjou
Subscriber

The same issue when using built-in compiler in 22R2. 

(system "copy "C:\PROGRA~1\ANSYSI~1\v222\fluent"\fluent22.2.0\src\udf\sconstruct.udf "libudf\win64\3ddp_node\SConstruct" ")

1 fichier(s) copi?(s).

(system "copy "C:\PROGRA~1\ANSYSI~1\v222\fluent"\fluent22.2.0\src\udf\scons_test.bat "libudf\win64\3ddp_node\scons_test.bat" ")

1 fichier(s) copi?(s).

(chdir "libudf")(chdir "win64\3ddp_node")

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\SConstruct", line 8, in

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\SConstruct", line 18, in

Compiler used is "C:\PROGRA~1\ANSYSI~1\v222\fluent"\ntbin\clang\bin\clang-cl

Linker used is "C:\PROGRA~1\ANSYSI~1\v222\fluent"\ntbin\clang\bin\lld-link

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\SConstruct", line 152, in

Copy("C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\resolve.exe", "C:\PROGRA~1\ANSYSI~1\v222\fluent\ntbin\win64\resolve.exe")

Copy("C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\platetestinput.c", "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\src\platetestinput.c")

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 324: character maps to :

File "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\SConstruct", line 176:

generate_udf_source(t,s,env)

File "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf\win64\3ddp_node\SConstruct", line 87:

for line in f:

File "C:\PROGRA~1\ANSYSI~1\v222\fluent/../commonfiles/CPython/3_7/winx64/Release/python\lib\encodings\cp1252.py", line 23:

return codecs.charmap_decode(input,self.errors,decoding_table)[0]

Done.

 

When I click on LOAD

m...: Opening library "C:\...\FLUENT\TRIALUDFINPUT\TrialUDFinput_files\dp0\FLU-1\Fluent\libudf"...

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

Le fichier sp�cifi� est introuvable.

C:\\...\\FLUENT\\TRIALUDFINPUT\\TrialUDFinput_files\\dp0\\FLU-1\\Fluent\\libudf\\win64\\3ddp_host\\libudf.dll

Done.