CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Using GPUs with UDFs (http://www.cfd-online.com/Forums/fluent-udf/95691-using-gpus-udfs.html)

TMac December 29, 2011 01:50

Using GPUs with UDFs
 
I just read in the release notes that fluent now supports using GPUs in UDFs, but the beta documentation does not have any example. Have someone here used it already?

"Enable FLUENT UDFs to execute on GPUS (beta feature)" page 81

epc1 January 11, 2013 13:24

Quote:

Originally Posted by TMac (Post 337222)
I just read in the release notes that fluent now supports using GPUs in UDFs, but the beta documentation does not have any example. Have someone here used it already?

"Enable FLUENT UDFs to execute on GPUS (beta feature)" page 81

Hello i found this:

"UDFs can be compiled in ANSYS FLUENT with OpenCL support for execution on General Purpose Graphics Processing Units (GPGPUs) on lnamd64 and win64 platforms. To enable OpenCL support, you should use the following text user interface (TUI) command: /define/user-defined/enable-udf-on-gpu before compiling the UDF. The UDF library is linked with libOpenCL.so on lnamd64 and OpenCL.dll on win64. For execution on GPU systems, the appropriate environment variable (LD_LIBRARY_PATH on lnamd64 or %path% on win64) should be correctly set so that libOpenCL.so/OpenCL.dll is loaded along with the UDF library."


Can anyone help on how to define the appropiate variable so that it would work?


All times are GMT -4. The time now is 15:49.