Hi Mark

I renamed and moved some files in ASCEND recently. I believe I made the
necessary fixes in r657 of the freesteam subversion repository, but I
haven't yet made an official updated release.

http://freesteam.svn.sourceforge.net/viewvc/freesteam/trunk/ascend/freesteam_ascend.c?r1=643&r2=657

If you're attempting to run the Rankine cycle simulations with ASCEND,
you might want to look at the newer version that makes use of FPROPS. I
have updated the wiki page according (sorry if this wasted your time):
http://ascendwiki.cheme.cmu.edu/Rankine_cycle

Cheers
JP

mark delgado wrote:
> Hello,
>
> I'm currently trying to compile freesteam so I can use it with ASCEND.
> I am currently using this guide to compile,
> http://ascendwiki.cheme.cmu.edu/Freesteam. However when I run scons I
> get the following output:
>
> scons: Reading SConscript files ...
> Checking for ASCEND... found (ASCEND_CPPPATH = ['/usr/local/include'])
> GSL_STATIC = 0
> Checking for C function fprintf()... (cached) yes
> Checking for C header file /usr/include/python2.6/Python.h... (cached) yes
> Checking version of SWIG... (cached) ok, 1.3.40
> Building targets: python ascend
> scons: done reading SConscript files.
> scons: Building targets ...
> Substituting vars from config.h.in <http://config.h.in> into config.h
> gcc -o region1.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include region1.c
> gcc -o region2.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include region2.c
> gcc -o region3.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include region3.c
> gcc -o region4.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include region4.c
> gcc -o steam_ph.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_ph.c
> gcc -o steam.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam.c
> gcc -o backwards.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include backwards.c
> gcc -o b23.os -c -Wall -W -Wconversion -Wimplicit -fPIC -I/usr/include
> b23.c
> gcc -o common.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include common.c
> gcc -o derivs.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include derivs.c
> derivs.c: In function 'freesteam_region4_dAdTx':
> derivs.c:335: warning: implicit declaration of function 'isnan'
> gcc -o zeroin.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include zeroin.c
> gcc -o steam_ps.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_ps.c
> gcc -o solver2.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include solver2.c
> gcc -o steam_pT.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_pT.c
> gcc -o steam_pu.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_pu.c
> gcc -o steam_Ts.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_Ts.c
> gcc -o steam_Tx.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_Tx.c
> gcc -o bounds.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include bounds.c
> gcc -o steam_pv.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include steam_pv.c
> gcc -o viscosity.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include viscosity.c
> gcc -o thcond.os -c -Wall -W -Wconversion -Wimplicit -fPIC
> -I/usr/include thcond.c
> gcc -o libfreesteam.so -Wl,-soname,libfreesteam.so.1 -shared
> region1.os region2.os region3.os region4.os steam_ph.os steam.os
> backwards.os b23.os common.os derivs.os zeroin.os steam_ps.os
> solver2.os steam_pT.os steam_pu.os steam_Ts.os steam_Tx.os bounds.os
> steam_pv.os viscosity.os thcond.os -L/usr/lib -lm -lgsl -lgslcblas -lm
> ln -s libfreesteam.so libfreesteam.so.1
> swig -o python/freesteam_wrap.c -python python/freesteam.i
> steam.h:49: Warning(312): Nested union not currently supported (ignored).
> gcc -o python/freesteam_wrap.os -c -Wall -W -Wconversion -Wimplicit
> -fPIC -I. -I/usr/include/python2.6 python/freesteam_wrap.c
> python/freesteam_wrap.c: In function 'SWIG_UnpackData':
> python/freesteam_wrap.c:635: warning: conversion to 'unsigned char'
> from 'int' may alter its value
> python/freesteam_wrap.c:637: warning: conversion to 'unsigned char'
> from 'int' may alter its value
> python/freesteam_wrap.c:642: warning: conversion to 'unsigned char'
> from 'int' may alter its value
> python/freesteam_wrap.c:644: warning: conversion to 'unsigned char'
> from 'int' may alter its value
> python/freesteam_wrap.c: In function 'SWIG_PackVoidPtr':
> python/freesteam_wrap.c:661: warning: conversion to 'size_t' from
> 'int' may change the sign of the result
> python/freesteam_wrap.c: In function 'SWIG_PyInstanceMethod_New':
> python/freesteam_wrap.c:1049: warning: unused parameter 'self'
> python/freesteam_wrap.c:1049: warning: unused parameter 'func'
> python/freesteam_wrap.c: In function '_PySwigObject_type':
> python/freesteam_wrap.c:1822: warning: missing initializer
> python/freesteam_wrap.c:1822: warning: (near initialization for
> 'tmp.tp_version_tag')
> python/freesteam_wrap.c: In function 'SwigPyObject_New':
> python/freesteam_wrap.c:1836: warning: conversion to 'size_t' from
> 'Py_ssize_t' may change the sign of the result
> python/freesteam_wrap.c: In function '_PySwigPacked_type':
> python/freesteam_wrap.c:1997: warning: missing initializer
> python/freesteam_wrap.c:1997: warning: (near initialization for
> 'tmp.tp_version_tag')
> python/freesteam_wrap.c: In function 'SwigPyPacked_New':
> python/freesteam_wrap.c:2011: warning: conversion to 'size_t' from
> 'Py_ssize_t' may change the sign of the result
> python/freesteam_wrap.c: In function 'SWIG_Python_MustGetPtr':
> python/freesteam_wrap.c:2629: warning: unused parameter 'argnum'
> python/freesteam_wrap.c: In function 'SWIG_AsCharPtrAndSize':
> python/freesteam_wrap.c:2949: warning: conversion to 'unsigned int'
> from 'int' may change the sign of the result
> python/freesteam_wrap.c:2949: warning: conversion to 'unsigned int'
> from 'int' may change the sign of the result
> python/freesteam_wrap.c:2963: warning: conversion to 'size_t' from
> 'int' may change the sign of the result
> python/freesteam_wrap.c: In function 'swig_varlink_type':
> python/freesteam_wrap.c:6007: warning: missing initializer
> python/freesteam_wrap.c:6007: warning: (near initialization for
> 'tmp.tp_version_tag')
> python/freesteam_wrap.c: In function 'SWIG_Python_newvarlink':
> python/freesteam_wrap.c:6021: warning: conversion to 'size_t' from
> 'Py_ssize_t' may change the sign of the result
> python/freesteam_wrap.c: In function 'SWIG_Python_InstallConstants':
> python/freesteam_wrap.c:6067: warning: conversion to 'size_t' from
> 'long int' may change the sign of the result
> python/freesteam_wrap.c: In function 'SWIG_Python_FixMethods':
> python/freesteam_wrap.c:6104: warning: conversion to 'size_t' from
> 'int' may change the sign of the result
> python/freesteam_wrap.c:6106: warning: conversion to 'size_t' from
> 'int' may change the sign of the result
> gcc -o python/_freesteam.so -shared python/freesteam_wrap.os -L.
> -L/usr/libs -lfreesteam -lpython2.6
> gcc -o ascend/freesteam_ascend.os -c -Wall -W -Wconversion -Wimplicit
> -fPIC -I/usr/local/include ascend/freesteam_ascend.c
> ascend/freesteam_ascend.c:23: fatal error:
> ascend/utilities/ascConfig.h: No such file or directory
> compilation terminated.
> scons: *** [ascend/freesteam_ascend.os] Error 1
> scons: building terminated because of errors.
>
> Any suggestions on how to fix this?
>
> -thanks
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ascend-sim-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
>   


-- 
Dr John Pye
Dept of Engineering
Australian National University



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to