Closed GoogleCodeExporter closed 9 years ago
The cause of this problem is different architectures (32 and 64 bit) being
linked together, which doesn't work.
the _dg.... functions in the libraries being linked are Lapack and Blas stuff.
These are your (64-bit) system Lapack and Blas. On Mac, those are built-in
(that's what the -framework Accelerate does). They are 64 bit b/c Snow Leopard
is 64 bit. Snow Leopard is capable of compiling and running 32-bit programs,
but to be safe, or anytime you're linking to system libraries, you will want to
build 64-bit architecture binaries.
You can force your compiler to do this by using CFLAGS and CXXFLAGS, which are
compiler flags that Cantera will use. Set them like this (in your preconfig
file):
CFLAGS="-arch x86_64"
CXXFLAGS="-arch x86_64"
This will force Cantera to build using the 64-bit architecture, to match your
Lapack/Blas.
Original comment by r...@charlesmartinreid.com
on 15 Dec 2011 at 3:10
This should be implicitly resolved by the transition to the SCons-based build
system.
Original comment by yarmond
on 9 Apr 2012 at 11:53
i still get this error using cantera 2.0 with intel mkl
Original comment by ricardo...@gmail.com
on 5 Jun 2012 at 2:10
[deleted comment]
Did you know how to solve this issue on mac os x lion using canter 2. It
happens when i compile the flame speed demo using scons
Original comment by ricardo...@gmail.com
on 21 Jun 2012 at 5:47
Original issue reported on code.google.com by
goxbe...@gmail.com
on 8 Jul 2011 at 4:36