changa
changa copied to clipboard
Hang on startup with mpi-smp builds
With recent versions (post 6.10.1) of charm++, changa can occasionally hang right at startup when run with an mpi-*-smp build.
This is a bug in recent versions of charm (see https://github.com/UIUC-PPL/charm/issues/2850), but I'm putting it here so that people are aware of the work around: add +noisomalloc
to the run command. isomalloc is a system that helps in porting new codes to charm++. ChaNGa does not need it, so turning it off avoids any issues. If you get the following warning:
Warning> Randomization of virtual memory (ASLR) is turned on in the kernel, thread migration may not work! Run 'echo 0 > /proc/sys/kernel/randomize_va_space' as root to disable it, or try running with '+isomalloc_sync'.
it is best to ignore it.