deanmc16
Chemical
- Mar 23, 2011
- 4
I am attempting to compile a user defined kinetics subroutine for use in an Aspen Plus simulation. I have a subroutine called ESKIN.for, based on the supplied template usrkin.f.
I understand that I am supposed to open the Simulation Engine and type the command 'aspcomp ESKIN.for' in order to compile the Fortran before I may use it in the simulation. However, when I do this, I receive the following error messages:
ASPCOMP: Warning! DEC Fortran compiler f77.exe not found in %PATH%
ASPCOMP: Warning! Microsoft C runtime library msvcrt.lib not found in %LIB%
ASPCOMP: Warning! Microsoft C runtime library is needed for Dynamic Linking.
ASPCOMP: Warning! DEC Fortran runtime library dformd.lib not found in %LIB%
ASPCOMP: Warning! DEC Fortran runtime library is needed for Dynamic Linking.
Spawn failed: No such file or directory
Error in compiling preprocessed file: Check compile.log.
A check of the compile.log reveals the same list of error messages. It seems that a specific fortran compiler program, f77.exe, is being searched for and not found. I have downloaded a free fortran compiler (Plato IDE, Silverfrost) and am wondering if and how I can use this to perform the aspcomp procedure.
Has anyone been successful in compiling and implementing a user fortran subroutine in Aspen Plus before? If so, your input would be greatly appreciated.
Thanks for your time,
Dean
I understand that I am supposed to open the Simulation Engine and type the command 'aspcomp ESKIN.for' in order to compile the Fortran before I may use it in the simulation. However, when I do this, I receive the following error messages:
ASPCOMP: Warning! DEC Fortran compiler f77.exe not found in %PATH%
ASPCOMP: Warning! Microsoft C runtime library msvcrt.lib not found in %LIB%
ASPCOMP: Warning! Microsoft C runtime library is needed for Dynamic Linking.
ASPCOMP: Warning! DEC Fortran runtime library dformd.lib not found in %LIB%
ASPCOMP: Warning! DEC Fortran runtime library is needed for Dynamic Linking.
Spawn failed: No such file or directory
Error in compiling preprocessed file: Check compile.log.
A check of the compile.log reveals the same list of error messages. It seems that a specific fortran compiler program, f77.exe, is being searched for and not found. I have downloaded a free fortran compiler (Plato IDE, Silverfrost) and am wondering if and how I can use this to perform the aspcomp procedure.
Has anyone been successful in compiling and implementing a user fortran subroutine in Aspen Plus before? If so, your input would be greatly appreciated.
Thanks for your time,
Dean