[Users] Error with the Cactus Tutorial

Roland Haas rhaas at illinois.edu
Sat Oct 26 13:35:19 CDT 2024


Hello Andre,

> collect2: fatal error: ld terminated with signal 9 [Killed]

Is unfortunately fairly generic and can be caused by multiple issues.

If there is any more detailed error message above then it may give a
hint as to what is going on.

See eg here for which files may be helpful:

https://einsteintoolkit.org/support.html#general-guidelines-for-questions

Quite often signal 9 (killed) happens when the operating system
terminates the compiler when it eg uses too much memory. This can
happen in particular if you compile in a virtual machine (including
WSL2 for Windows). Cactus needs several GB of memory to compile

You can try and see if compiling serially using `-j1` would help since
it would reduce to total amount of memory used at any point in time:

VERBOSE=yes simfactory/bin/sim build -j1 2>&1 | tee make.log 

Yours,
Roland

On Sat, 26 Oct 2024 00:05:43 +0200
A C <andre2mila at gmail.com> wrote:

> Hello,
> I am writing to seek your assistance regarding a sudden error I
> encountered while running a cell in the Cactus Tutorial. The
> following command was functioning correctly until recently:
> 
> %%bash
> ./simfactory/bin/sim build -j2 --thornlist
> thornlists/einsteintoolkit.th
> 
> The error is:
> 
> collect2: fatal error: ld terminated with signal 9 [Killed]
> compilation terminated.
> make[1]: *** [/home/andre2mila/Cactus/lib/make/make.configuration:150:
> /home/andre2mila/Cactus/exe/cactus_sim] Error 1
> make: *** [Makefile:265: sim] Error 2
> 
> 
> If necessary, I would be open to having my tutorial reset.
> 
> Thank you for your time and assistance,
> 
> Andrea.
> 



More information about the Users mailing list