Page 1 of 1

Saturne 3.3.3 Memory allocation error

Posted: Fri Mar 06, 2015 9:09 pm
by BertR
Dear,

I am new to Saturne and I am running on a Ubuntu 14.02 machine (64 bit). I am busy with the simplifid nuclear vessel (T_junction) tutorial in order to get to learn to work with Saturne. However, when I try to run I get following error:

Memory allocation summary

------------------------

Theoretical current allocated memory: 1131 kB
Theoretical maximum allocated memory: 1131 kB
Maximum program memory measure: 65848 kB
Current program memory measure: 65848 kB

bft_mem.c:413: Fatal error.

Adress [0x7f767f1da7c8] does not correspond to the beginning of an allocated block.

Call stack:
1: 0x7f767f6d40d8 <+0x4f30d8> (libsaturne.so.0)
2: 0x7f767f6d48e5 <bft_mem_realloc+0x35> (libsaturne.so.0)
3: 0x7f767f290313 <+0xaf313> (libsaturne.so.0)
4: 0x7f767f2914c6 <cs_field_allocate_values+0x86> (libsaturne.so.0)
5: 0x7f767f292064 <cs_field_allocate_or_map_all+0x44> (libsaturne.so.0)
6: 0x7f767f24c6c4 <caltri_+0x22e4> (libsaturne.so.0)
7: 0x7f767f23bee8 <cs_run+0x3f8> (libsaturne.so.0)
8: 0x7f767f23b9e6 <main+0x136> (libsaturne.so.0)
9: 0x7f767ee3cec5 <__libc_start_main+0xf5> (libc.so.6)
10: 0x4006e9 <> (cs_solver)

End of stack

I hope you can help me with this error

Kind regards,

Bert

Re: Saturne 3.3.3 Memory allocation error

Posted: Fri Mar 06, 2015 10:15 pm
by Yvan Fournier
Hello,

Are you using a compiled version or an Ubuntu package ?

Did you change anything in the default setup ?

The tutorial files might not have be fully updated in version 3.3.3 (I'll need to check)
They are up to date, and there are many bug fixes, in version 4.0-beta
(a release candidate should be available by next tuesday).

If you are using a compiled version, I strongly recommend updating to 4.0-beta.
If you are using a packaged version, this means switching to a compiled version
(we do not have a repository for pre-built packages; it would be nice, but would require extra resources or contributors).

Regards,

Yvan

Re: Saturne 3.3.3 Memory allocation error

Posted: Wed Mar 11, 2015 2:26 pm
by BertR
Dear Yvan,

Thank you for your quick reply. I installed Saturne 4.0-beta and now I can run the tutorial without any problem.

Kind regards,

Bert

Re: Saturne 3.3.3 Memory allocation error

Posted: Thu Mar 12, 2015 3:02 pm
by koch
Is there any possibility to fix that? I am not sure if 4.0 version will cooperate with syrthe 4.1.

Re: Saturne 3.3.3 Memory allocation error

Posted: Fri Mar 13, 2015 1:03 am
by Yvan Fournier
Hello,

I will be uploading 3.3.4 to this site in a few minutes, wich might fix your previous crash, but it is the last of the 3.3 series, so if it does not, 4.0 is the only solution.

In any case, 4.0-rc should be a much better bet than 3.3.

Syrthes 4.3 has recently been installed internally at EDF, and is compatible with Code_Saturne 4.0. I'll try to check with the Syrthes team to remind them of uploading it on the web before. I'll be on holiday next week, and out of office (at PARENG2015) the week after, so I can' guarantee I can do much before returning.

PS. I'll probably upload a 4.0.0-rc2 tomorrow. the SVN mirror is temporarily out of sync following a server upgrade, but should be up to date in a few days; in the meantime, the "tar.gz" releases are the most up to date versions.

Regards,

Yvan

Re: Saturne 3.3.3 Memory allocation error

Posted: Fri Mar 13, 2015 10:06 am
by koch
Thank you very much for response:)

I will try saturne 3.3.4 and after 2 or 3 weeks I will change to new versions.

I am grateful for informations;)