我第一次尝试使用--fast标志时收到以下错误
warning: --specialize was set, but CHPL_TARGET_CPU is 'unknown'.
If you want any specialization to occur please set CHPL_TARGET_CPU to a proper value.所以我输入了这个命令
export CHPL_TARGET_CPU=aarch64因为它是我的Jetson Nano board的架构
然后我得到了这个错误:
/home/chico/chapel-1.20.0/third-party/gasnet/Makefile.setup:6: /home/chico/chapel-1.20.0/third-party/gasnet/install/linux64-gnu-aarch64-none/substrate-udp/seg-everything/nodbg/include/udp-
conduit/udp-par.mak: No such file or directory
make: *** No rule to make target '/home/chico/chapel-1.20.0/third-party/gasnet/install/linux64-gnu-aarch64-none/substrate-udp/seg-everything/nodbg/include/udp-conduit/udp-par.mak'. Stop
.error: compiling generated source在尝试编译我的代码后,我没有得到可执行文件。
发布于 2019-12-11 07:36:45
这个错误表明(不好的)还没有为您当前的CHPL_*配置构建Chapel运行时,在本例中,对CHPL_TARGET_CPU的更改是问题所在。如果在仍然设置了CHPL_TARGET_CPU的情况下执行cd $CHPL_HOME && make (或gmake),则将为当前设置重新构建运行时,并且在重新编译Chapel程序时,错误应该会消失。
请注意,多个构建的教堂可以与不同的CHPL_TARGET_CPU设置同时共存。
https://stackoverflow.com/questions/59276191
复制相似问题