Hi Andreas,

yes I built the boost library (1.39) with the recommended flag

'architecture=x86'

and even  omitting

'--with-libraries=signals,thread,python'
which rebuilts all these libraries.

newer boost libraries (1.40,1.41,1.42) did not compile at all.

It could be that my Snow Leopard is broken somehow, I updated
the system from Leopard to Snow Leopard. But for the time being I am reluctant to
wipe out my disc and install SnowLeopard from scratch.

cheers and sorry for keeping you away from your work,

Daniel

Andreas Klöckner wrote:
On Montag 08 März 2010, Daniel Kubas wrote:
However I just can't find the piece which is not in 32 bit.

Is your boost library 32-bit?
Ian (I believe) wrote this here on the wiki at one point:

Since CUDA is 32-bit-only, boost needs to be built to match. On a Snow
Leopard Mac, replace the boostrap and bjam commands with:

$ ./bootstrap.sh --prefix=$HOME/pool --libdir=$HOME/pool/lib --with-
libraries=signals,thread,python $ ./bjam address-model=32_64 architecture=x86 variant=release link=shared install
The architecture setting comes from
http://old.nabble.com/Boost-on-Snow-Leopard-failing-to-build-32-bit-target-
td25218466.html
and is the key to not getting "the architecture is invalid" error when
running PyCuda's tests.
(see http://wiki.tiker.net/BoostInstallationHowto)

HTH,
Andreas


_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to