Fluids

Fluids

UDF error on linux

    • soloviev
      Subscriber

      Hello,


      I am trying to compile a UDF on linux and when I do it gives me the following error:


      The UDF library you are trying to load (libudflinux) is not compiled for parallel use on the current platform (lnamd64).


       


      No such file or directory


      /home/bv169/simulations/gradient_adaption/libudflinux/lnamd64/3ddp_host/libudf.so


       


      I have run UDF's on this same machine previously and did not have this issue. The computer was able to generate the libudf.so file fine.


       


      Thanks,


      Alex

    • DrAmine
      Ansys Employee
      are u able to compile a dummy UDF?
    • soloviev
      Subscriber

      I have other UDFs that I can try to compile. They have worked in the past on the same machine. I will update after I try to compile a different UDF. 

    • soloviev
      Subscriber

      I tried another UDF and it compiled without error. 


       


      Thanks,


      Alex

    • DrAmine
      Ansys Employee
      Can you try compiling in new Fluent session before loading any case file?
    • soloviev
      Subscriber

      It did not work. I realized that the commenting out of the text in the UDF was in windows format and it needed to be changed to linux format.


       


      Thank you. 


      Alex

Viewing 5 reply threads
  • You must be logged in to reply to this topic.