- /*
- * TODO cheinrich: These assignments were originally after the MPI_Win_lock
- * and before the MPI_Win_unlock call. However, with compile time optimizations on,
- * this seems to cause issues with at least gcc. If valgrind or gcc is activated,
- * everything works fine though.
- *
- * I don't know what causes these issues, but moving this here solves the problem for now.
- */
- baseptr[0] = 1;
- baseptr[1] = 2;
-