Problems with AimsMeshTransform

AIMS library and commands usage

Moderators: denghien, riviere

Post Reply
Manik
Posts: 99
Joined: Fri Mar 05, 2004 1:00 pm
Location: INSERM U836, Grenoble

Problems with AimsMeshTransform

Post by Manik »

Hi all,

I had two problems using AimsMeshTransform on meshes from Graph objects (those in the .data directory of the graph).

First, I tried to use AimsMeshTransform -i graph.arg/graph.mesh -t transform.trm, without giving a "-o" option, assuming it would overwrite the input file (as stated in help).
But it just crashed (aborted).

From the core dumped :

(gdb) bt
#0 0xffffe002 in ?? ()
#1 0x42028a73 in abort () from /lib/tls/libc.so.6
#2 0x40e56b57 in __cxa_call_unexpected () from /*****/SHFJ_pack-main-linux-devel/lib/libstdc++.so.5
#3 0x40e56ba4 in std::terminate() () from /*****/SHFJ_pack-main-linux-devel/lib/libstdc++.so.5
#4 0x40e56d16 in __cxa_throw () from /*****/SHFJ_pack-main-linux-devel/lib/libstdc++.so.5
#5 0x08055057 in carto::SingleOption<aims::Writer<AimsTimeSurface<3l, Void> > >::check() ()
#6 0x4094e1d5 in carto::OptionsParser::check() () from /*****/SHFJ_pack-main-linux-devel/lib/libaimsdata.so.2.14
#7 0x4094f44b in aims::AimsApplication::initialize() () from /*****/SHFJ_pack-main-linux-devel/lib/libaimsdata.so.2.14
#8 0x08050fd1 in main ()
#9 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6


With a "-o" option, everything was fine, except that only the first node of my graph file was transformed. Is there an option to transform all meshes in a .mesh file, and not only the first one ?

Thank you,
Manik Bhattacharjee
INSERM U836
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Post by riviere »

Hi Manik,

You're right, there are 2 bugs in this command. I have fixed them for the next update.

Denis
Post Reply