Ansys Learning Forum Forums Discuss Simulation General Mechanical Fatal error in compiling the Usermat Subroutine Reply To: Fatal error in compiling the Usermat Subroutine

Erik Kostson
Ansys Employee

 

The error message “LINK : fatal error LNK1104:  “ifconsol.lib” .” indicates that the linker cannot find the ifconsol.lib file.
This issue is commonly encountered when the Intel Fortran library directory is not correctly specified in your Visual Studio project settings.
 
Access the link below which provides some steps to resolve this issue:
https://community.intel.com/t5/Intel-Fortran-Compiler/Error-LNK1104-Cannot-open-file-ifconsol-lib/m-p/820786

That is all advice we (Ansys employees) can give on Fortran Subroutines in general (we do not troubleshoot or debug), but perhaps other forum members can chime in and help more perhaps if needed.

All the best

Erik