Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
53 Views

Intel Fortran Composer XE 2013 SP1 is not compiling using Customize Aspen Plus

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.

41 compiler sections in C:\Program Files (x86)\AspenTech\APrSystem V8.8\Engine\xeq\Compilers.cfg

 

## Section      State Description
-- ------------ ----- --------------------------------------------------
 1 Intel_VS71   ERROR Intel Fortran 9.x and Microsoft Visual Studio .NET 2003
 2 Intel_VS8    ERROR Intel Fortran 9.x and Microsoft Visual Studio 2005
 3 Intel_VS9    ERROR Intel Fortran 9.x and Microsoft Visual Studio 2008
 4 Intel_VCX8   ERROR Intel Fortran 9.x and Microsoft VC++ 2005 Express
 5 Intel_VCX9   ERROR Intel Fortran 9.x and Microsoft VC++ 2008 Express
 6 IVF10_VS71   ERROR Intel Fortran 10.x and Microsoft Visual Studio .NET 2003
 7 IVF10_VS8    ERROR Intel Fortran 10.x and Microsoft Visual Studio 2005
 8 IVF10_VS9    ERROR Intel Fortran 10.x and Microsoft Visual Studio 2008
 9 IVF10_VCX8   ERROR Intel Fortran 10.x and Microsoft VC++ 2005 Express
10 IVF10_VCX9   ERROR Intel Fortran 10.x and Microsoft VC++ 2008 Express
11 IVF11_VS71   ERROR Intel Fortran 11.0 and Microsoft Visual Studio .NET 2003
12 IVF11_VS8    ERROR Intel Fortran 11.0 and Microsoft Visual Studio 2005
13 IVF11_VS9    ERROR Intel Fortran 11.0 and Microsoft Visual Studio 2008
14 IVF11_VCX8   ERROR Intel Fortran 11.0 and Microsoft VC++ 2005 Express
15 IVF11_VCX9   ERROR Intel Fortran 11.0 and Microsoft VC++ 2008 Express
16 IVF11x_VS71  ERROR Intel Fortran 11.x and Microsoft Visual Studio .NET 2003
17 IVF11x_VS8   ERROR Intel Fortran 11.x and Microsoft Visual Studio 2005
18 IVF11x_VS9   ERROR Intel Fortran 11.x and Microsoft Visual Studio 2008
19 IVF11x_VSB   ERROR Intel Fortran 11.x and Bundled VS 2008 Shell ONLY
20 IVF11x_VCX8  ERROR Intel Fortran 11.x and Microsoft VC++ 2005 Express
21 IVF11x_VCX9  ERROR Intel Fortran 11.x and Microsoft VC++ 2008 Express
22 IVF12x_VS9   ERROR Intel Fortran 12.x/2011 and Microsoft Visual Studio 2008
23 IVF12x_VS10  ERROR Intel Fortran 12.x/2011 and Microsoft Visual Studio 2010
24 IVF12x_VSB   ERROR Intel Fortran 12.x/2011 and Bundled VS 2008 Shell ONLY
25 IVF12x_VSB2  ERROR Intel Fortran 12.x/2011 and Bundled VS 2010 Shell ONLY
26 IVF12x_VCX10 ERROR Intel Fortran 12.x/2011 and Microsoft VC++ 2010 Express
27 IVF13_VSB    ERROR Intel Fortran 13/2013 and Bundled VS 2010 Shell ONLY
28 IVF13_VS10   ERROR Intel Fortran 13/2013 and Microsoft Visual Studio 2010
29 IVF13_VCX10  ERROR Intel Fortran 13/2013 and Microsoft VC++ 2010 Express
30 IVF13_VCX11  ERROR Intel Fortran 13/2013 and VS Express 2012 for Win Desktop
31 IVF13_VS11   ERROR Intel Fortran 13/2013 and Microsoft Visual Studio 11/2012
32 IVF13_VS12   ERROR Intel Fortran 13/2013 and Microsoft Visual Studio 12/2013
33 IVF14_VSB    OK    Intel Fortran 2013SP1 and Bundled VS 2010 Shell ONLY
34 IVF14_VCX11  ERROR Intel Fortran 2013SP1 and VS Express 2012 for Win Desktop
35 IVF14_VCX12  ERROR Intel Fortran 2013SP1 and VS Express 2013 for Win Desktop
36 IVF14_VS11   ERROR Intel Fortran 2013SP1 and Microsoft Visual Studio 11/2012
37 IVF14_VS12   ERROR Intel Fortran 2013SP1 and Microsoft Visual Studio 12/2013
38 IVF15_VCX12  ERROR Intel Fortran 15/2015 and VS Express 2013 for Win Desktop
39 IVF15_VS10   ERROR Intel Fortran 15/2015 and Microsoft Visual Studio 10/2010
40 IVF15_VS11   ERROR Intel Fortran 15/2015 and Microsoft Visual Studio 11/2012
41 IVF15_VS12   ERROR Intel Fortran 15/2015 and Microsoft Visual Studio 12/2013

 

The current compiler option settings in order of searching
   Not set for current user in HKEY_CURRENT_USER registry
   IVF14_VSB for current machine in HKEY_LOCAL_MACHINE registry
   IVF14_VS12 in file C:\Program Files (x86)\AspenTech\APrSystem V8.8\Engine\xeq\Compilers.cfg

 

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. 

https://software.intel.com/en-us/forums/intel-software-development-products-download-registration-li...

Thank you

0 Kudos
2 Replies
Highlighted
Black Belt Retired Employee
53 Views

How about you invoke the Aspen script from a Fortran build command prompt - that should help.

0 Kudos
Highlighted
Black Belt
53 Views

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.

0 Kudos