dbirch997 / cantera

Automatically exported from code.google.com/p/cantera
1 stars 0 forks source link

Need to remove bundled blas and lapack libraries from the Cantera distribution #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Building the Cantera distribution as provided
2. Using blas and lapack libraries from another source in any code
3. Using Cantera within that same code

What is the expected output? What do you see instead?
Everything is happening behind the scenes in my code, but it's wreaking all 
sorts of havoc and seems to be resulting in memory errors that Valgrind won't 
catch.  I've most likely been chasing errors in my code associated with this 
incompatibility for several years.

What version of the product are you using? On what operating system?
cantera-1.8.0-beta, Linux

Please provide any additional information below.
Bundling versions of blas and lapack with Cantera is a bad idea and can cause 
major problems for users that use other blas and lapack libraries in their code 
directly, or through the inclusion of other external software libraries.  
Please remove the blas and lapack libraries that are included with the Cantera 
distribution and let those currently using it know of a very likely 
compatibility issue with the current version.  Thanks.

Original issue reported on code.google.com by daniel.a...@gmail.com on 29 Apr 2011 at 5:24

GoogleCodeExporter commented 9 years ago
Cantera already supports linking against user-provided BLAS and LAPACK 
libraries (with the exception of the Matlab extension; see Issue 34). The 
included copies are necessary for platforms (namely Windows) where BLAS and 
LAPACK are not usually available. 

If there are specific issues that can be identified with the included BLAS and 
LAPACK, then we can fix them. I suspect that the problem here is with the sizes 
of C and Fortran types, which isn't really a problem with the libraries, but 
one of consistent compiler settings.

Original comment by yarmond on 11 Apr 2012 at 6:05