Jump to content



Featured Articles

Check out the latest featured articles.

File Library

Check out the latest downloads available in the File Library.

New Article

Product Viscosity vs. Shear

Featured File

Vertical Tank Selection

New Blog Entry

Low Flow in Pipes- posted in Ankur's blog

Error In Aspen Adsim!


This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic
Share this topic:
| More

#1 napoleonIV

napoleonIV

    Brand New Member

  • Members
  • 9 posts

Posted 27 December 2008 - 06:53 AM

Hi
I used fortran to write user procedure in aspen adsim. But I can't make gusersub.dll
This is my error:"
Preparing for gusersub.dll
The system cannot find the path specified.

Microsoft ® Program Maintenance Utility Version 6.00.8168.0
Copyright © Microsoft Corp 1988-1998. All rights reserved.

Compiling pugdispI.f
'ifort' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'ifort' : return code '0x1'
Stop.
Deleting temporary/intermediate files
Could Not Find C:\Program Files\AspenTech\Aspen Adsim 2006.5\Examples\New_Luanva
n\*.obj
Could Not Find C:\Program Files\AspenTech\Aspen Adsim 2006.5\Examples\New_Luanva
n\*.exp
Could Not Find C:\Program Files\AspenTech\Aspen Adsim 2006.5\Examples\New_Luanva
n\*.lib

Build Complete"

Press any key to continue . . .

What do I need to compile gusersub.dll?
Help me!
Thanks for reading.

#2 joerd

joerd

    Gold Member

  • ChE Plus Subscriber
  • 371 posts

Posted 30 December 2008 - 03:19 PM

I am not familiar with Adsim, but from your error message it looks like you need to install the Intel Fortran compiler ifort. I don't know if it is part of the Adsim installation - check to make sure that you did a full installation including all "customization" features.
If you decide to use another compiler, you'll have to refer to the Adsim documentation and update the Make script to refer to the proper compiler/linker.

#3 napoleonIV

napoleonIV

    Brand New Member

  • Members
  • 9 posts

Posted 30 December 2008 - 08:13 PM

Thanks. I fixed my errors. I install Visual Fortran Compaq 6.6 and I creat a dynamic link library. If you want to know more about Adsim, I could help you some.

#4 Patibar

Patibar

    Brand New Member

  • Members
  • 1 posts

Posted 20 January 2009 - 01:17 PM

QUOTE (napoleonIV @ Dec 31 2008, 01:13 AM) <{POST_SNAPBACK}>
Thanks. I fixed my errors. I install Visual Fortran Compaq 6.6 and I creat a dynamic link library. If you want to know more about Adsim, I could help you some.



Hi NapoleonIV,

I have the same kind of ERROR message than you.
More precisely,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Preparing for gusersub.dll
The system cannot find the path specified.

Microsoft ® Program Maintenance Utility Version 1.60.5270
Copyright © Microsoft Corp 1988-1995. All rights reserved.

Compiling pugisoppI.f
'ifort' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'ifort' : return code '0x1'
Stop.
Deleting temporary/intermediate files
Could Not Find C:\MY SIMS ASPEN\C5-C6 separation\*.obj
Could Not Find C:\MY SIMS ASPEN\C5-C6 separation\*.exp
Could Not Find C:\MY SIMS ASPEN\C5-C6 separation\*.lib

Build Complete

Press any key to continue . . .
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I use to compile FORTRAN codes with FORTRAN POWER STATION 4.0, but with ASPEN it doesn’t works… It isn't able to create the file gusersub.dll…

According with the HELP TOPICS, it should works also using “GENERATE PROCEDURE CODE” in the “TOOLS” menu, but the software displays in the “SIMULATION MESAGE” box the following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information: Generating procedure implementation files...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The computer displays this message since 3 hours… It seems that nothing is happening…

I didn't find Visual FORTRAN Compaq 6.6 in the web. I will be very appreciated if you could help me with this?
Thank you in advance!
Cheers,
Patibar


#5 jcazenave

jcazenave

    Veteran Member

  • Members
  • 44 posts

Posted 22 January 2009 - 01:23 AM

the reason you can not find compaq fortran is that it is not sold anymore. it stops a couple of years ago.

Aspentech is using the Intel fortran, so you should be able to use it with A+. ( if you dont want to use a crack software....)

You can always contact aspentech support to be sure of what fortran is supported.



#6

  • guestGuests
  • 0 posts

Posted 31 January 2010 - 06:10 PM

Hello guys,


On the line of this thread, I would like to ask you about some trouble I am having with Aspen Plus V7.1 running on Windows 7 Home Premium.

This is the error message shown in control panel after trying to execute a sensibility analysis:

*** SEVERE ERROR
ERROR COMPILING IN-LINE FORTRAN
COMPILER MESSAGES FOLLOW ...


C:\PROGRA~1\ASPENT~1\APRSYS~1.1\Engine\xeq\gcpp.exe -DWIN32 -DAWINNTN -D__INTE
ASPCOMP: Warning! Intel Fortran compiler ifort.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! Intel Fortran runtime library libifcoremd.lib not found in %
ASPCOMP: Warning! Intel Fortran runtime library is needed for Dynamic Linking.
ifort.exe /nologo /c /Qsave /iface:cvf /MD "-object:_1004zcy.obj" "_100

*** SEVERE ERROR
COULD NOT RESOLVE USER OR IN-LINE FORTRAN SUBROUTINE(S):

SUBROUTINE "ZZSENS" IS MISSING

*** SEVERE ERROR
PROGRAM TERMINATED DUE TO UNRESOLVED ROUTINES



Not sure whether the problem is the compiler or the path to libraries... do not know.


Besides, this is the result of running "Select Compiler for Aspen Properties and Aspen Plus Model Library":

Posted Image


Any help will be much appreciated,

PanJamon




Similar Topics