General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

UPF Linking error – Ansys v2023R1

    • Sasi Kumar Tippabhotla
      Subscriber

      I am trying to link UPF to Ansys WB V2023R1 and I get the following error

      ______________________________________________________________________

       ======================================== 
       Linking usercreep_EMCmth2 ... 
      Microsoft (R) Incremental Linker Version 14.29.30152.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
       
      -out:usercreep_EMCmth2Lib.dll 
      -def:usercreep_EMCmth2Libex.def 
      -dll 
      -machine:X64 
      -map 
      -manifest:embed 
      -defaultlib:ANSYS.lib 
      -defaultlib:ansMemManager.lib 
      -defaultlib:ansOpenMP.lib 
      *.obj 
      LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
      _____________________________________________________________________
       
      I am currently having VS2019 and intel oneAPI (as I dont have older versions of the compilers). Please help me solve this issue.
    • David Weed
      Ansys Employee
      Hello, We currently don't support Intel OneAPI for compiling UPFs. For 2023R1, we support Intel Fortran 2019 update 5. If you have an Intel account and license for a compiler, you can get previous versions from the Registration Center. The unsupported compiler could be one of the issues with the linking process. What method of compiling/linking are you using? Can you also try renaming your subroutine to usercreep.F and then compile?
Viewing 1 reply thread
  • The topic ‘UPF Linking error – Ansys v2023R1’ is closed to new replies.