Hi Ben,
I am 99% sure that this is related to an issue we already reported
to Brad and Greg: here is the original report (sent from Jun Nakashima
to Brad several weeks ago):
Recent Chapel nightly tests reported an compile error of the
runtime system with MassiveThreads tasking layer. The cause
is the change of definition of c_sublocid_any (from constant
to non-constant value).
It can be fixed by replacing c_sublocid_any in
tasks-massivethreads.c to c_sublocid_any_val, and I made a
patch to do it. Could you review it (or introduce the right
person) to commit to the source tree?
Greg is now reviewing the patch and will hopefully be committed soon
and it should be OK.
Meanwhile, you could apply this trivial patch to your own copy.
> I'm trying to compile with massive threads enabled:
>
> Variable is set to: export CHPL_TASKS=massivethreads
>
> ***** src/tasks/massivethreads/ *****
> making
> gen/linux64.gnu.loc-flat.tasks-massivethreads.tmr-generic.mem-default.atomics-intrinsics.gmp-none.hwloc-none.re2.wide-struct.fs-none
> subdirectory to store platform-specific files
> gcc -c -std=c99 -MMD -MP -O3 -DCHPL_TASKS_MODEL_H=\"tasks-massivethreads.h\"
> -DCHPL_THREADS_MODEL_H=\"threads-none.h\" -DCHPL_WIDE_POINTER_STRUCT
> -DCHPL_OPTIMIZE
> -I/usr/share/acustat/src/chapel-code/third-party/massivethreads/install/linux64-gnu/include
>
> -I/usr/share/acustat/src/chapel-code/third-party/massivethreads/install/linux64-gnu/include
> -I. -I../../../include/localeModels/flat/none
> -I../../../include/localeModels/flat -I../../../include/localeModels
> -I../../../include/comm/none -I../../../include/comm
> -I../../../include/tasks/massivethreads -I../../../include/threads/none
> -I../../../include/comp-gnu -I../../../include/linux64 -I../../../include
> -I../../../include/qio -I../../../include/atomics/intrinsics
> -I../../../include/mem/default
> -I/usr/share/acustat/src/chapel-code/third-party/utf8-decoder
> -I../../../include/hwloc/none -o
> gen/linux64.gnu.loc-flat.tasks-massivethreads.tmr-generic.mem-default.atomics-intrinsics.gmp-none.hwloc-none.re2.wide-struct.fs-none/tasks-massivethreads.o
> tasks-massivethreads.c
> tasks-massivethreads.c:54:14: error: initializer element is not constant
> { c_sublocid_any, false };
> ^
> tasks-massivethreads.c:54:14: error: (near initialization for
> âs_def_chpl_data.requestedSublocâ)
> tasks-massivethreads.c:58:14: error: initializer element is not constant
> { c_sublocid_any, false };
> ^
> tasks-massivethreads.c:58:14: error: (near initialization for
> âs_main_chpl_data.requestedSublocâ)
> make[6]: ***
> [gen/linux64.gnu.loc-flat.tasks-massivethreads.tmr-generic.mem-default.atomics-intrinsics.gmp-none.hwloc-none.re2.wide-struct.fs-none/tasks-massivethreads.o]
> Error 1
> make[5]: *** [massivethreads.makedir] Error 2
> make[4]: *** [tasks.makedir] Error 2
> make[3]: *** [src.makedir] Error 2
> make[2]: *** [all.helpme] Error 2
> make[1]: *** [runtime] Error 2
> make: *** [comprt] Error 2
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Chapel-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chapel-developers
Index: runtime/src/tasks/massivethreads/tasks-massivethreads.c
===================================================================
--- runtime/src/tasks/massivethreads/tasks-massivethreads.c (繝ェ繝薙ず繝ァ繝ウ 22390)
+++ runtime/src/tasks/massivethreads/tasks-massivethreads.c (菴懈・ュ繧ウ繝斐����)
@@ -51,11 +51,11 @@
static thread_local_data* s_tld;
static const task_private_data_t s_def_chpl_data=
- { c_sublocid_any, false };
+ { c_sublocid_any_val, false };
// task-private data of main task
static task_private_data_t s_main_chpl_data =
- { c_sublocid_any, false };
+ { c_sublocid_any_val, false };
static const uint64_t c_def_stack_size = 32 * 1024 * sizeof(size_t);
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers