NewMac/Cantera: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 44: | Line 44: | ||
$ python setup.py install --prefix=/Users/charles/pkg/scipy-0.9.0 | $ python setup.py install --prefix=/Users/charles/pkg/scipy-0.9.0 | ||
</source> | </source> | ||
[[Category:Cantera]] | |||
Revision as of 07:37, 12 May 2011
Installation Process
Using preconfig included below:
Ran make... successful
Ran make install... unsuccessful
$ make install
/usr/bin/install -c -d /Users/charles/pkg/cantera/1.8.0/include/cantera
cp -r -f build/include/cantera /Users/charles/pkg/cantera/1.8.0/include
/usr/bin/install -c -d /Users/charles/pkg/cantera/1.8.0/lib
rm -fR /Users/charles/pkg/cantera/1.8.0/lib/*
( for ilib in /Users/charles/pkg/_sources/cantera-1.8.0-beta/build/lib/i386-apple-darwin10.7.0/*.a ; do \
/usr/bin/install -c -c -m 644 ${ilib} /Users/charles/pkg/cantera/1.8.0/lib ; \
done )
ranlib /Users/charles/pkg/cantera/1.8.0/lib/*.a
cd Cantera/clib/src; make install
/usr/bin/install -c -d /Users/charles/pkg/cantera/1.8.0/lib
/usr/bin/install -c -c -m 644 /Users/charles/pkg/_sources/cantera-1.8.0-beta/build/lib/i386-apple-darwin10.7.0/libclib.a /Users/charles/pkg/cantera/1.8.0/lib
install: /Users/charles/pkg/_sources/cantera-1.8.0-beta/build/lib/i386-apple-darwin10.7.0/libclib.a: No such file or directory
make[1]: *** [install] Error 71
make: *** [clib-install] Error 2
Next step: realized I didn't have numpy or scipy
(Ran "from numpy import *" and got an error)
Downloaded numpy and scipy source
Used the following install process:
$ cd /path/to/numpy/source
$ python setup.py build
$ python setup.py install --prefix=/Users/charles/pkg/numpy-1.5.0
$ /path/to/scipy/source
$ python setup.py build
$ python setup.py install --prefix=/Users/charles/pkg/scipy-0.9.0