Ask Your Question
0

Package running in 64 bit, not running in 32 bit

asked 2014-10-07 02:15:42 -0600

altella gravatar image

Hello all;

I have a package that uses PCL libraries and that works perfectly in Groovy and Hydro, both in 64 bit machines. In 32 bit machines, I can compile the package exactly the same way, without problems, but in execution it does not work. The callbacks in it go indredibly slow, sometimes taking more than a minute, when in 64 bit they work perfectly fine. Any possible causes for this package being stuck in 32 bit? I am runnning Ubuntu 12.04 64 bit with Hydro and Groovy, and Ubuntu 12.04 32 bit with Hydro.

Thank you all in advance,

edit retag flag offensive close merge delete

Comments

Can you please post the error that you get during execution?

Tirjen gravatar imageTirjen ( 2014-10-07 02:39:11 -0600 )edit

It really gives no error... simply the callbacks are not executing at the rate specified

altella gravatar imagealtella ( 2014-10-07 03:00:17 -0600 )edit

So are the callbacks executing at a lower rate or they are not executing at all? Are the two machines equivalent in terms of CPU, RAM etc?

Tirjen gravatar imageTirjen ( 2014-10-07 04:01:24 -0600 )edit
1

It's quite possible that the additional instructions and optimizations available in 64-bit mode make a big performance difference.

ahendrix gravatar imageahendrix ( 2014-10-07 04:02:11 -0600 )edit

I think they are executing, but a callback intended to run at 10 HZ, needs 80 seconds to enter for the first time

altella gravatar imagealtella ( 2014-10-07 04:22:29 -0600 )edit

The PC's are the same in terms of CPU and RAM, but it seems that the computation required for cluster extraction in PCL makes a HUGE difference btw 32 bit and 64 bit versions of the same OS.

altella gravatar imagealtella ( 2014-10-07 05:32:06 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-08 01:53:41 -0600

altella gravatar image

Solved, it is a mere computation problem, of quantity of RAM and processing power of 32 bit vs 64 bit. After downsampling the cloud, it goes just fine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-07 02:15:42 -0600

Seen: 390 times

Last updated: Oct 07 '14