#1618: Compile with adaptive MPI (based on Charm++) -------------------------------+-------------------------------------------- Reporter: jtao@… | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: -------------------------------+--------------------------------------------
Comment (by eschnett):
Brief notes from the phone discussion:
- rename TLS to THREAD_LOCAL (both macro and include file) - define CCTK_THREAD_LOCAL via autoconf magic, choose whether to use this macro depending on whether AMPI is used - add documentation for Enable/DisableThreadLocal - simplify logic for redirecting I/O: don't introduce another else branch, rather move #ifdef into else branch - declare CmiEnableTLS only when AMPI is available - why is mpi.h needed for flesh.cc? - don't use -DCCTK_TLS in option list - don't use -DCCTK_HAVE_AMPI in option list; rather set this in AMPI thorn