AIMS 4.3 32bit / 64bit bug

AIMS library and commands usage

Moderators: riviere, denghien

tizianod
Posts: 21
Joined: Fri Apr 06, 2012 9:52 am

AIMS 4.3 32bit / 64bit bug

Postby tizianod » Tue Oct 16, 2012 3:09 pm

Hello,
I am testing AIMS 4.3 on a 64bit machine but I dicovered something strange: the result of AimsMeshBrain with output in .ply format is different if the command AimsMeshBrain comes from the 32bit or the 64bit distribution.
Specifically, the output of the 64bit distribution seems to be wrong since any visualization software I tested (VTK, Paraview) crashes when trying to load it. I attach here an example: a mask in Nifti format and the two different outputs obtained using AimsMeshBrain 4.3.0 coming from the 32bit and the 64bit ditributions.

Thanks for your help
Tiziano
Attachments
bug.zip
(20.6 KiB) Downloaded 352 times

tizianod
Posts: 21
Joined: Fri Apr 06, 2012 9:52 am

Re: AIMS 4.3 32bit / 64bit bug

Postby tizianod » Tue Oct 16, 2012 3:23 pm

I shall add that the problem occours when we use the default binary output, not if we use ascii output

User avatar
riviere
Site Admin
Posts: 1358
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: AIMS 4.3 32bit / 64bit bug

Postby riviere » Wed Oct 17, 2012 12:08 am

Hi Tiziano,

You're right, there is a 32/64 bit issue in the PLY format IO. It is due to the use of "long" type in the underlying lib (librply), which have not been upgraded for long. Using a newer version the bug is fixed. I have included a new version of it now, so it will be fixed in the next bugfix release. But in the mean time, you will have to use the 32 bit version of Aims (unless you can recompile from sources from the svn repository, but I admit it is a long and very fastidious task, so don't try it if you don't really really need to).

Denis

tizianod
Posts: 21
Joined: Fri Apr 06, 2012 9:52 am

Re: AIMS 4.3 32bit / 64bit bug

Postby tizianod » Wed Oct 17, 2012 11:14 am

Thanks. A wolkaround I am using is to use the ascii encoding. At this regard I think it would be nice to have a -e or --ascii option in the command AimsZCat as well.
Thanks
Best
Tiziano


Return to “AIMS”

Who is online

Users browsing this forum: No registered users and 1 guest