HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Seeking help with errors that occur during the use of Aspen user models! !

2021-06-11View Original

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.
Reply #22021-06-11
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
Reply #32021-06-18
It’s extremely troublesome to debug this thing; I have to go through this process every time
Reply #42021-12-22
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

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.