- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have tried to run intel fortran to compile a file from an example from Aspen Plus v8.8. I have installed Intel Fortran Composer XE 2013 SP1 and Visual Studio 2010. I have checked in Set compiler to Aspen Plus that option 33 has been set as Ok. I have chosen option 33 for user and machine option as reccomended by Aspen suporter.
After I tried to compile using Customize Aspen Plus (Prompt command screen from Aspen Plus) but I have otained the following error message:
Welcome to Aspen Plus V8.8 Simulation Window.
C:\ProgramData\AspenTech\Aspen Plus V8.8>cd reactdist
C:\ProgramData\AspenTech\Aspen Plus V8.8\reactdist>ASPCOMP actkin.f
ASPCOMP: Warning! Intel Fortran compiler ifort.exe not found in %PATH%
ASPCOMP: Warning! Intel Fortran runtime library libifcoremd.lib not found in %LIB%
ASPCOMP: Warning! Intel Fortran runtime library is needed for Dynamic Linking.
'ifort.exe' is not recognized as an internal or external command,
operable program or batch file.
Error in compiling preprocessed file: Check compile.log
I have seen that a similar issue was discussed in the forum before as below but I did not find if it was solved and how it was solved. Can anyone help me? Aspen suporter has not found yet how to solve this issue.
Thank you
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about you invoke the Aspen script from a Fortran build command prompt - that should help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a bit of detail behind Steve's excellent suggestion.
When a package such as Aspen, Ansys, etc., attempts to compile a user's Fortran code into a DLL and call that DLL, two sets of requirements have to hold:
- the environment should be configured for the specific package (Aspen) to work
- the environment should be configured for the compiler (Intel Fortran) to work
Unless you had Intel Fortran installed prior to installing Aspen, and the Aspen installation process detected Intel Fortran's presence and adjusted its own configuration accordingly, you will not have satisfied the second set of requirements.
It is quite simple to test whether the Aspen-Fortran integration has been accomplished: open an Aspen command prompt, as you did, and attempt to compile and run a simple Fortran program (e.g., one that prints a message such as "Hello World!"). If the test fails, you will probably have to ask Aspen support for help with the configuration of their product.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page