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

Compilation issues with Aspen Plus v8.4 and embedded Fortran subroutines

2019-08-26View Original

Thread Content

I opened Customize Aspen Plus V8.4, but it still won’t compile. What I have installed is Aspen Plus 8.4, Fortran 6.0, VS2012, and IVF2013. ASPCOMP: Warning! The Intel Fortran compiler ifort.exe was not found in %PATH%. ASPCOMP: Warning! The Microsoft C runtime library msvcrt.lib was not found in %LIB%. ASPCOMP: Warning! The Microsoft C runtime library is required for dynamic linking. ASPCOMP: Warning! The Intel Fortran runtime library libifcoremd.lib was not found in %LIB%. ASPCOMP: Warning! The Intel Fortran runtime library is required for dynamic linking. ‘ifort.exe’ is not an internal or external command, nor is it a runnable program. – This article is from **Chemical Engineering – Making chemical engineering techniques accessible to everyone; original URL: https://bbs.mahoupao.com/thread-215454-1-1.html
Reply #22019-08-27
Are the FORTRAN and VS environments installed?
Reply #32019-08-27
Fortran 6.0, VS2012, and the compiler IVF2013 are all installed
Reply #42019-08-27
Has it been set in Compile?
Reply #52019-08-27
I’m not sure if my settings are correct. After entering 18 in the field \"Enter option (1:32) for current USER, 0 to skip, -1 to delete\": the current compiler option settings are as follows: Intel_VS9 for the current user in the HKEY_CURRENT_USER registry; Intel_VS9 for the current machine in the HKEY_LOCAL_MACHINE registry; IVF12x_VS10 in the file d:\APRSYS~1.4\Engine\xeq\Compilers.cfg. Enter option (1:32) for current USER, 0 to skip, -1 to delete:
Reply #62019-08-28
Once your compilation environment is set up, in set compile, the environments that can be used for compilation will show as OK; just use those. If everything shows as error, it means your configuration is incorrect
Reply #72019-08-28
Another problem has arisen – the linking failed. Welcome to the Aspen Plus V8.4 Simulation Window. C:\ProgramData\AspenTech\Aspen Plus V8.4>cd C:\Users\91955\Desktop\yidong C:\Users\91955\Desktop\yidong>aspcomp usrkin.f C:\Users\91955\Desktop\yidong>asplink USRKIN Linking USRKIN.dll; sending messages to USRKIN.ld ********** LINK FAILURE. Check USRKIN.ld. ********** C:\Users\91955\Desktop\yidong>
Reply #82019-08-29
Is the absolute path to the obj file written in USRKIN_LIST_OBJ.opt?
Reply #92019-08-29
Yes, C:\Users\91955\Desktop\yidong\USRKIN.obj contains the content of the opt file
Reply #102019-08-29
I opened the USRKIN.ld file. LINK: fatal error LNK1104: cannot open file “kernel32.lib”. Link failure, status = 1104; asplink return code = 5

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.