Ray Speth
31ffb5e400
Added support for Sundials 2.5
2012-05-25 23:13:51 +00:00
Ray Speth
021e11456e
Fixed building with thread safety
2012-05-17 21:15:01 +00:00
Ray Speth
924d5b27a6
Improved detection of fortran compiler for setting the module output directory
2012-05-07 18:20:25 +00:00
Ray Speth
1ba0deca74
Fixed python module location in post-install message and setup_cantera script
2012-04-26 21:20:00 +00:00
Ray Speth
436b324ccf
Updated the post-build message to be platform-aware
2012-04-19 16:45:19 +00:00
Ray Speth
afc0bad412
Fixed an installation problem on OS X
2012-04-17 15:11:20 +00:00
Ray Speth
e2d775c2cb
Fixed configuration check for Sundials when Sundials requires BLAS/LAPACK
2012-04-16 21:00:04 +00:00
Ray Speth
16390cc547
All tests now run using "scons test"
...
The "newtest" target has been removed. Python and Matlab unit tests
can be run with "scons test-python" and "scons test-matlab",
respectively.
2012-04-12 15:28:33 +00:00
Ray Speth
ba8c814814
Use the Windows Registry to set PYTHONPATH
...
Cantera's mechanism conversion scripts are now installed in the main
Cantera directory, so processing should work fine as long as Python is
on the path, whether or not the Cantera Python module is installed.
2012-04-11 20:26:05 +00:00
Ray Speth
2076f37421
Fixed a dependency issue with the MSI target
...
MSI target now automatically implies "install" (to the stage dir)
2012-04-11 20:26:02 +00:00
Ray Speth
e11281477e
Added configuration option for building a single library
...
This is necessary particularly for Windows, where there's no easy way
to build shared libraries of the f2c code because those functions
don't have the necessary __declspec(dllexport) in their non-existent
headers.
2012-04-05 22:03:30 +00:00
Harry Moffat
25ba149aab
Sorry for monolithic commit. Will break it up in the future.
...
Moved the external libraries to separate library files so that libcantera.a just contains its own namespace externals.
Fixed several errors in the equilibrium program that occurred during the port. (int to size_t issues).
Moved some equilibrium program headers to the include file system, so that it can link with equilibrium program.
Worked on Cantera.mak. Needs more work.
Fixed an issue with the Residual virtual base classes within numerics. They didn't inherit due to int to size_t migration. This caused numerous test problems to fail (issue with backwards compatibility - do we want it and how much do we want?).
Added csvdiff back so that it's available for shell environment runtests.
2012-04-05 00:24:31 +00:00
Ray Speth
3acf30b3aa
Moved build directories for docs to make relative links consistent
2012-04-04 18:45:26 +00:00
Ray Speth
d16f70ab44
Fixed some spelling issues
2012-04-04 18:44:24 +00:00
Ray Speth
5c20b7f2af
SCons: Better error handling when sundials paths are given
...
If sundials_include or sundials_libdir are specified, promote
use_sundials='default' to 'y' so that we won't unexpectedly fall back
to the built in solvers if there's a configuration problem.
2012-04-04 18:44:14 +00:00
Ray Speth
287e4aa67e
Fixed problems detecting and linking to Sundials on Windows
2012-04-04 18:44:11 +00:00
Ray Speth
f22ecac5c4
Use the Accelerate framework for BLAS and LAPACK on OS X
2012-03-15 22:49:04 +00:00
Ray Speth
4506ee2f8a
Fixed some compiler warning issues
2012-03-15 19:55:18 +00:00
Ray Speth
503f57a24e
Modified MSVC debugger options to allow parallel builds
...
We now generate a .pdb file per source file, rather than having multiple
copies of the compiler trying to write to the same shared .pdb file
2012-03-15 19:52:40 +00:00
Ray Speth
870ae7ede2
Fixed compilation of the RedlichKwongMFTP class
...
Enabled with the build option "with_real_gases".
Class has no test cases.
2012-03-15 19:52:35 +00:00
Ray Speth
09d9ded2e7
Added templates for using Sphinx to generate the Python module docs
2012-03-13 17:34:38 +00:00
Ray Speth
bac65b26a1
Added machinery for unit testing of the Matlab toolbox
...
Unit tests are written using the Matlab xUnit Test Framework
2012-03-13 17:32:10 +00:00
Ray Speth
3be53356a2
Updated sample build scripts to include pthread where necessary
2012-03-09 22:59:50 +00:00
Ray Speth
82d467944f
Eliminated temporary files from the ct2ctml conversion process
...
Added libstringstream, which maps stdin and stdout to std::iostream.
Using this library means we no longer create either the temporary .py
file or the ct2ctml.log file.
This also eliminates the synchronization problems that motivated the
sleep commands around the system call, so cti to ctml conversions are
significantly faster now.
2012-03-09 22:59:21 +00:00
Ray Speth
50bef3ee5c
Fixed an environment issue with Python subprocesses
2012-03-09 22:54:21 +00:00
Ray Speth
346268f09c
Matlab extension compiled directly by SCons without invoking Matlab
2012-03-05 20:46:57 +00:00
Ray Speth
8150f49c2c
Simplified adding SCons build and install targets
2012-03-05 20:45:20 +00:00
Ray Speth
a3b1946871
Generate SConstruct files and Makefiles in the build directory
2012-03-05 20:45:09 +00:00
Ray Speth
3a15fef000
legacy_headers option now installs Cantera.h
2012-03-05 20:45:03 +00:00
Ray Speth
2e695a67de
Exclude certain file patterns from being installed with the samples
2012-03-05 20:44:58 +00:00
Ray Speth
c3398e7a3e
Added example SConstruct files to install with F77/F90 sample programs
2012-03-01 16:56:29 +00:00
Ray Speth
45fe098d51
Added example Makefiles to install with C++ sample programs
2012-03-01 00:44:56 +00:00
Ray Speth
70cdd1be3e
Made linking to Sundials libraries more consistent
2012-03-01 00:44:50 +00:00
Ray Speth
b3be325ade
Set default compiler flags for llvm-gcc
2012-03-01 00:44:46 +00:00
Ray Speth
77cd424821
Added support for compiling with Clang
2012-02-28 23:48:53 +00:00
Ray Speth
8877f95e3c
Modified some compiler warning settings
2012-02-28 19:01:35 +00:00
Ray Speth
ef0d68a2e0
Make Scons "debug" and "optimization" options independent
2012-02-27 18:16:10 +00:00
Ray Speth
31c7c36921
Added legacy_headers option to SCons
...
This will create symlinks (on posix systems) or copies (on Windows)
of the Cantera headers in the 'canterna/kernel' directory,
corresponding to the behavior of older versions of Cantera.
2012-02-27 18:16:05 +00:00
Ray Speth
6195b488c2
Allow compilation of the Fortran 90 module with MinGW
2012-02-27 18:16:00 +00:00
Ray Speth
b0ccecf4e4
Added machinery for running Python unit tests
2012-02-27 18:12:42 +00:00
Ray Speth
1ece5bcc3d
Some changes to make SCons faster
2012-02-23 21:25:20 +00:00
Ray Speth
6c181a92fe
Removed manual specification of PIC flag
...
This is already handled in a platform-independent way by SCons
2012-02-23 21:24:27 +00:00
Ray Speth
055b6e5710
Fixed issues compiling with MinGW using SCons
2012-02-21 16:06:07 +00:00
Ray Speth
9eb0f440a5
Added deprecation messages for numarray, numeric, and old Sundials versions
2012-02-21 16:03:01 +00:00
Ray Speth
4f600c048e
Fixed compilation of the C++ and Fortran sample programs
2012-02-15 18:06:55 +00:00
Ray Speth
f65da5d277
Fixed compilation of the Fortran 90 module
2012-02-15 18:06:50 +00:00
Ray Speth
b8ac7f9ccb
Added SCons options for propagating environment variables
2012-02-15 01:01:40 +00:00
Ray Speth
3ca1eb819e
SCons can now build and install the Doxygen-generated documentation
2012-02-13 17:24:44 +00:00
Ray Speth
99d951ceb8
Cantera now produces a single library for linking C++ applications
2012-02-13 17:24:34 +00:00
Ray Speth
8239c18091
Fixed some installation issues with samples and the Python module
2012-02-13 17:24:09 +00:00