Thread Content
Hello everyone. I have been working on developing user models for AspenPlus unit processes based on Fortran recently, but it seems that installing only Aspen Plus V7’s process modelling tool does not include the Intel Fortran Compiler and Microsoft Visual Studio .NET. Are these two programs required to be installed separately?
Microsoft Visual Studio .NE seems to need to be installed separately; the compiler Aspen is included by default. The Aspen Plus simulation engine can be used, and its usage can be found in the \"User Model\" document
If Aspen already has a compiler, why do we still need to install .net? Can’t you write the code in Notepad and then have the compiler compile it? I don’t even know if there is a compiler or not. However, if you need to develop secondary unit modules, it is more convenient to use a custom modeler. Use Fortran for the physical property model
In v7, mvs.net is installed automatically
But why do I get the following error when compiling? C:PROGRA~1ASPENT~1APRSYS~1Enginexeqgcpp.exe -DWIN32 -DAWINNTN -D__INTEL_COMPILER=900 @gcpp.opt “usran4.for” “usran4.i” 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 /nologo /c /Qsave /iface:cvf “-object:usran4.obj” “usran4.i”"
Put your Fortran program and the Aspen file that uses it in the same folder, and the problem will be solved
Does the Fortran program refer to that DLL file?
These two software programs are not included in the ASPEN package; they need to be installed separately. ASPEN 2006 is quite troublesome when it comes to creating user models, as there are many restrictions. It is necessary to install Microsoft Visual Studio.net (version 2003 or later) as well as Intel.Visual.Fortran.Compiler V9. The former software should be installed first, followed by the compiler software; it requires a significant amount of hard drive space, with a total usage of over 4GB. Therefore, ensure that there is enough hard drive space available before installing it. Furthermore, other FORTRAN compilers (such as Compaq Visual Fortran) seem not to support it. I spent a lot of effort just on installing the software, and I hope to help others so they don’t have to go through the same hassle.