Thread Content
Hello everyone, I have been working with Fortran programming recently. By reading posts on forums and studying Fortran, I wrote a .f file; it was compiled using ASPCOMP to produce an .obj file, and then linked using ASPLINK to create a .dll file. Since I am using Aspen 11.1, I placed the .f file, .obj file, .dll file, and the Aspen project file in the same folder and tried to run the Aspen program. However, I still encountered an error stating that the required files could not be found. The error message reads as follows: *** SEVERE ERROR: COULD NOT RESOLVE USER OR IN-LINE FORTRAN SUBROUTINES: SUBROUTINE “LX3” IS MISSING *** SEVERE ERROR: PROGRAM TERMINATED DUE TO UNRESOLVED ROUTINES! Errors were encountered while processing the input specifications. Please help me figure out what’s wrong or what might be missing. Thank you very much!
I’m also looking into this area, but wasn’t a hint given to you in the error message? I don’t quite understand; there’s something wrong with your Fortran program, right?
Reply to 2# lidaxue1987: It says that the subroutine cannot be found. I checked the entire process; I followed the steps carefully, and I’m not sure why this error still occurs. Please help me figure it out, thank you!
Reply to 3# syc3396: THE SUBROUTINE “LX3” IS MISSING#. Regarding the missing subroutine for LX3, please take a close look at the requirements outlined in the usermodel documentation. As for what LX3 actually is, you’ll need to analyze it carefully on your own
Someone in the forum has introduced this~ http://bbs.hcbbs.com/thread-581579-1-4.html
SUBROUTINE “LX3”: If it is a variable, then it means that the module being used is not connected; this applies to the subroutines within the selected model