Thread Content
The version of ASPEN I am using is V8.6, and the compiler settings have been configured according to the tutorial, as shown in the figure below. Now I want to use ASPEN’s user model to create a new module written in Fortran. To test whether this approach works, I wrote a very simple program for experimentation (as shown in the figure). After generating the F90 file, I created obj and dll files using the instructions in the tutorial; however, errors occurred when trying to run the program in Aspen Plus. I would appreciate some guidance from those who are more experienced. I’ve already checked the help documents, but my programming skills are quite limited, and I couldn’t understand the contents of those documents well enough to resolve the issue.
Right after posting the thread, I seemed to figure out how to solve it... The help files stated that the dynamic links are contained within the lib files, and the error message said that the xx.ld file needed to be checked. So I entered the command aspcomp _xx.ld in Customize Aspen Plus, and then it ran successfully. 0.0
It’s extremely troublesome to debug this thing; I have to go through this process every time
I entered the command aspcomp _xx.ld in customize aspen plus, and it ran successfully with a result of 0.0; this might be due to other operations – this single command alone should not be enough to explain it