I'm getting this error from Cactus at runtime when running on Ubuntu. Any idea what it means?
Cheers, Steve
-------- Original Message -------- Subject: Cactus Error Date: Mon, 16 Dec 2013 15:03:19 -0600 From: Adam Oler msu-aoler@student.mcneese.edu To: Steven Brandt sbrandt@cct.lsu.edu
cactus_Cfg1: /home/theoler/workspace/CaFunWave/Cactus/arrangements/Carpet/CarpetLib/src/mem.cc:83: mem<T>::mem(size_t, size_t, T*, size_t) [with T = double, size_t = long unsigned int]: Assertion `memsize >= vectorlength * nelems * sizeof (T)' failed. Rank 0 with PID 18862 received signal 6 Writing backtrace to 200x2/backtrace.0.txt Aborted (core dumped)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Steve,
I'm getting this error from Cactus at runtime when running on Ubuntu. Any idea what it means?
CarpetLib's mem object has a special "emplace" constructor that allows the user to turn a block of memory into a mem object. The assert that you see is part of that functionality and tries to ensure that the block of memory is actually big enough to hold the number of elements it claims to hold.
There are multiple places where this constructor is used. One is in gdata.cc another one is in FlexIO. Your backtrace will hopefully tell you from where the constructor is being called.
Yours, Roland
- -- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net.
users@lists.einsteintoolkit.org