diff --git a/Cantera/src/config.h b/Cantera/src/config.h index 656ac8921..f4963eb8f 100755 --- a/Cantera/src/config.h +++ b/Cantera/src/config.h @@ -1,4 +1,4 @@ -/* ../config.h. Generated by configure. */ +/* ../config.h. Generated automatically by configure. */ // // Run the 'configure' script to generate 'config.h' from this input file. // @@ -9,11 +9,11 @@ //------------------------ Fortran settings -------------------// -// define types doublereal, integer, and ftnlen to match the +// define types doublereal, integer, and ftnlen to match the // corresponding Fortran data types on your system. The defaults // are OK for most systems -typedef double doublereal; // Fortran double precision +typedef double doublereal; // Fortran double precision typedef int integer; // Fortran integer typedef int ftnlen; // Fortran hidden string length type @@ -22,7 +22,7 @@ typedef int ftnlen; // Fortran hidden string length type // adding a hidden argement with the length of the string. Some // compilers add the hidden length argument immediately after the // CHARACTER variable being passed, while others put all of the hidden -// length arguments at the end of the argument list. Define this if +// length arguments at the end of the argument list. Define this if // the lengths are at the end of the argument list. This is usually the // case for most unix Fortran compilers, but is (by default) false for // Visual Fortran under Windows. @@ -37,7 +37,7 @@ typedef int ftnlen; // Fortran hidden string length type //-------- LAPACK / BLAS --------- // Define if you are using LAPACK and BLAS from the Intel Math Kernel -// Library +// Library /* #undef HAVE_INTEL_MKL */ #define LAPACK_FTN_STRING_LEN_AT_END @@ -50,7 +50,7 @@ typedef int ftnlen; // Fortran hidden string length type // The configure script defines this if the operatiing system is Mac // OS X, This used to add some Mac-specific directories to the default // data file search path. -#define DARWIN 1 +#define DARWIN 0 //--------- Fonts for reaction path diagrams ---------------------- @@ -60,13 +60,13 @@ typedef int ftnlen; // Fortran hidden string length type //--------------------- Python ------------------------------------ // used to run Python to process .cti files -#define PYTHON_EXE "/usr/bin/python" +#define PYTHON_EXE "c:/python23/python" -//--------------------- Cantera ----------------------------------- +//--------------------- Cantera ----------------------------------- -// used to find data files -#define CANTERA_ROOT "/usr/local/cantera" +// used to find data files +#define CANTERA_ROOT "c:/cantera/cantera" diff --git a/Cantera/src/ct2ctml.cpp b/Cantera/src/ct2ctml.cpp index 7ed0e3465..58f4d4b2e 100644 --- a/Cantera/src/ct2ctml.cpp +++ b/Cantera/src/ct2ctml.cpp @@ -42,10 +42,10 @@ namespace ctml { } static bool checkPython() { - string path = tmpDir() + "/check.py"; + string path = tmpDir() + "/.check.py"; ofstream f(path.c_str()); if (!f) { - throw CanteraError("checkPython","cannot write to "+tmpDir()); + throw CanteraError("checkPython","cannot open "+path+" for writing); } f << "from Cantera import *\n"; f.close();