bsc-pm / nanox

Nanos++ is a runtime designed to serve as runtime support in parallel environments. It is mainly used to support OmpSs, a extension to OpenMP developed at BSC.
https://pm.bsc.es/nanox
GNU Lesser General Public License v3.0
38 stars 15 forks source link

build fails when chapel is set #6

Closed Alessandro-Barbieri closed 5 years ago

Alessandro-Barbieri commented 5 years ago
  CC       chapel/libnanox_chpl_init_a-chpl_init.o
In file included from chapel/chpl_init.c:20:
../../src/core/nanos-int.h:166:1: error: unknown type name ‘namespace’
 namespace nanos {
 ^~~~~~~~~
../../src/core/nanos-int.h:166:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 namespace nanos {
                 ^
../../src/core/nanos-int.h:170:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
 typedef nanos::DataAccess nanos_data_access_t;
              ^
../../src/core/nanos-int.h:171:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
 typedef nanos::CopyData nanos_copy_data_t;
              ^
In file included from chapel/chpl_nanos.h:42,
                 from chapel/chpl_init.c:21:
/opt/chapel/runtime/include/chpltypes.h:142:10: fatal error: chpl-locale-model.h: File o directory non esistente
 #include "chpl-locale-model.h"
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1457: chapel/libnanox_chpl_init_a-chpl_init.o] Error 1

you can found chpl-locale-model.h in the subdirectories localeModels/xxx even configuring with

CFLAGS="-I/opt/chapel/runtime/include/Locale/Models/flat" CXXFLAGS="-I/opt/chapel/runtime/include/Locale/Models/flat" CC="gcc -I/opt/chapel/runtime/include/Locale/Models/flat" CXX="g++ -I/opt/chapel/runtime/include/Locale/Models/flat"

didn't work

xteruel commented 5 years ago

The Chapel port of the runtime was discontinued several years ago. Creating an issue on the original repository to clean up all these files.