Skip to content

Instantly share code, notes, and snippets.

@ntmoe
Created January 28, 2013 04:36
Show Gist options
  • Save ntmoe/4653087 to your computer and use it in GitHub Desktop.
Save ntmoe/4653087 to your computer and use it in GitHub Desktop.
Output of scons for freesteam-2.1 with build of Python bindings disabled in the SConstruct file on OS X 10.8.2
$ scons
scons: Reading SConscript files ...
Checking for ASCEND... found (ASCEND_CPPPATH = ['/Applications/ASCEND.app/Contents/Headers'])
GSL_STATIC = 0
GSL_LIBS = ['gsl', 'gslcblas']
GSL_LIBPATH = ['/usr/local/Cellar/gsl/1.15/lib']
GSL_CPPPATH = ['/usr/local/Cellar/gsl/1.15/include']
GSL_STATICLIBS = None
Checking for C function fprintf()... (cached) yes
Checking for C header file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h... (cached) yes
Checking version of SWIG... (cached) ok, 2.0.9
WARNING: Freesteam will be built without Python bindings. Python header 'Python.h' not found
Building targets: python ascend
scons: done reading SConscript files.
scons: Building targets ...
Substituting vars from config.h.in into config.h
gcc -o region1.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include region1.c
gcc -o region2.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include region2.c
gcc -o region3.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include region3.c
gcc -o region4.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include region4.c
gcc -o steam_ph.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_ph.c
gcc -o steam.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam.c
gcc -o backwards.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include backwards.c
gcc -o b23.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include b23.c
gcc -o common.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include common.c
gcc -o derivs.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include derivs.c
derivs.c: In function 'freesteam_region4_dAdTx':
derivs.c:335: warning: passing argument 1 of '__inline_isnanf' as 'float' rather than 'double' due to prototype
derivs.c:335: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:335: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
derivs.c:349: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:349: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
derivs.c:350: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:350: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
derivs.c:354: warning: passing argument 1 of '__inline_isnanf' as 'float' rather than 'double' due to prototype
derivs.c:354: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:354: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
derivs.c:356: warning: passing argument 1 of '__inline_isnanf' as 'float' rather than 'double' due to prototype
derivs.c:356: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:356: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
derivs.c:360: warning: passing argument 1 of '__inline_isnanf' as 'float' rather than 'double' due to prototype
derivs.c:360: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:360: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
derivs.c:361: warning: passing argument 1 of '__inline_isnanf' as 'float' rather than 'double' due to prototype
derivs.c:361: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
derivs.c:361: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
gcc -o zeroin.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include zeroin.c
gcc -o steam_ps.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_ps.c
gcc -o solver2.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include solver2.c
solver2.c: In function 'region3_f':
solver2.c:116: warning: passing argument 2 of 'gsl_vector_get' as integer rather than floating due to prototype
solver2.c:117: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:118: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:119: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c: In function 'region3_df':
solver2.c:126: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:127: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:129: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:129: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:130: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:130: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:131: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:131: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:132: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:132: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c: In function 'freesteam_solver2_region3':
solver2.c:161: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:162: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:179: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:179: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c: In function 'region4_f':
solver2.c:194: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:195: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:196: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:197: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c: In function 'region4_df':
solver2.c:204: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:204: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:205: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:205: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:206: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:206: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:207: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:207: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:208: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:208: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c: In function 'freesteam_solver2_region4':
solver2.c:237: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
solver2.c:237: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
solver2.c:238: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:239: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:257: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:257: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c: In function 'region2_f':
solver2.c:273: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:274: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:275: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:276: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c: In function 'region2_df':
solver2.c:283: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:284: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:286: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:286: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:287: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:287: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:288: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:288: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:289: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:289: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c: In function 'region2_print_state':
solver2.c:299: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:300: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c: In function 'freesteam_solver2_region2':
solver2.c:317: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:318: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:335: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:335: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c: In function 'region1_f':
solver2.c:351: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:352: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:353: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:354: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c: In function 'region1_df':
solver2.c:361: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:362: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:364: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:364: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:365: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:365: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:366: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:366: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c:367: warning: passing argument 2 of 'gsl_matrix_set' with different width due to prototype
solver2.c:367: warning: passing argument 3 of 'gsl_matrix_set' with different width due to prototype
solver2.c: In function 'freesteam_solver2_region1':
solver2.c:398: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:399: warning: passing argument 2 of 'gsl_vector_set' with different width due to prototype
solver2.c:416: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
solver2.c:416: warning: passing argument 2 of 'gsl_vector_get' with different width due to prototype
gcc -o steam_pT.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_pT.c
steam_pT.c: In function 'freesteam_set_pT':
steam_pT.c:80: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
steam_pT.c:80: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
steam_pT.c:84: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
steam_pT.c:84: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
gcc -o steam_pu.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_pu.c
gcc -o steam_Ts.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_Ts.c
steam_Ts.c: In function 'freesteam_set_Ts':
steam_Ts.c:169: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
steam_Ts.c:169: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
steam_Ts.c:186: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
steam_Ts.c:186: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
steam_Ts.c:197: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
steam_Ts.c:197: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
gcc -o steam_Tx.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_Tx.c
gcc -o surftens.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include surftens.c
gcc -o bounds.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include bounds.c
gcc -o steam_pv.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include steam_pv.c
gcc -o viscosity.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include viscosity.c
gcc -o thcond.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/usr/local/Cellar/gsl/1.15/include thcond.c
gcc -o libfreesteam.dylib -dynamiclib 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 surftens.os bounds.os steam_pv.os viscosity.os thcond.os -L/usr/local/Cellar/gsl/1.15/lib -lm -lgsl -lgslcblas
gcc -o ascend/freesteam_ascend.os -c -Wall -W -Wconversion -Wimplicit -fPIC -D_REENTRANT -I/Applications/ASCEND.app/Contents/Headers ascend/freesteam_ascend.c
ascend/freesteam_ascend.c: In function 'freesteam_register':
ascend/freesteam_ascend.c:318: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:318: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:329: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:329: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:340: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:340: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 7 of 'CreateUserFunctionBlackBox' with different width due to prototype
ascend/freesteam_ascend.c:343: warning: passing argument 8 of 'CreateUserFunctionBlackBox' with different width due to prototype
gcc -o ascend/libfreesteam_ascend.so -dynamiclib ascend/freesteam_ascend.os -L/Applications/ASCEND.app/Contents -L. -lascend -lfreesteam
scons: done building targets.
$ scons test && ./test
scons: Reading SConscript files ...
Checking for ASCEND... found (ASCEND_CPPPATH = ['/Applications/ASCEND.app/Contents/Headers'])
GSL_STATIC = 0
GSL_LIBS = ['gsl', 'gslcblas']
GSL_LIBPATH = ['/usr/local/Cellar/gsl/1.15/lib']
GSL_CPPPATH = ['/usr/local/Cellar/gsl/1.15/include']
GSL_STATICLIBS = None
Checking for C function fprintf()... (cached) yes
Checking for C header file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h... (cached) yes
Checking version of SWIG... (cached) ok, 2.0.9
WARNING: Freesteam will be built without Python bindings. Python header 'Python.h' not found
Building targets: test
scons: done reading SConscript files.
scons: Building targets ...
gcc -o test.o -c -Wall -W -Wconversion -Wimplicit -D_REENTRANT test.c
test.c: In function 'testsolver2':
test.c:508: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
test.c:508: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
test.c:516: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
test.c:516: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
test.c:527: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
test.c:527: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
test.c:538: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
test.c:538: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
test.c:549: warning: passing argument 1 of '__builtin_expect' with different width due to prototype
test.c:549: warning: passing argument 2 of '__builtin_expect' with different width due to prototype
gcc -o test -Wl,-rpath,. test.o -L. -lfreesteam
scons: done building targets.
REGION 1 TESTS
REGION 2 TESTS
REGION 3 TESTS
REGION 4 TESTS
REGION 1 (P,H) TESTS
REGION 2 (P,H) TESTS
REGION 3 (P,H) TESTS
REGION 3 (P,S) TESTS
REGION 3 PSAT(H) TESTS
REGION 3 PSAT(S) TESTS
REGION 2-3 BOUNDARY TESTS
SUCCESS! Max rel err = 4.603379e-07 %
FULL (P,S) TESTS
FULL (P,T) TESTS
FULL (T,S) TESTS
...tested 190 points.
FULL (P,V) TESTS
...tested 357 points.
FULL (T,X) TESTS
...tested 323 points.
SUCCESS! Max rel err = 2.348727e-08 %
FULL (P,H) TESTS
SUCCESS! Max rel err = 2.940542e-02 %
VISCOSITY (RHO,T) TESTS
SUCCESS! Max rel err = 3.341365e-06 %
THERMAL CONDUCTIVITY (P,T) TESTS
SUCCESS! Max rel err = 1.271168e-01 %
SURFACE TENSION (T) TESTS
SUCCESS! Max rel err = 4.554677e-01 %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment