UPCの学習を開始したばかりですが、hello worldの例を実行すると、次のエラーが発生します。
GASNet gasnetc_init returning an error code: GASNET_ERR_RESOURCE (Problem with requested resource)
at /home/dx/Downloads/berkeley_upc-2.14.2/gasnet/vapi-conduit/gasnet_core.c:1422
reason: unable to open any HCA ports
コードは次のとおりです。
#include <upc_relaxed.h>
#include <stdio.h>
int main() {
printf("Hello from thread %i/%i\n", MYTHREAD, THREADS);
upc_barrier;
return 0;
}
それはでコンパイルされました:
/usr/local/upc/opt/bin/upcc upcTest.upc -o up
で実行されます:
/usr/local/upc/opt/bin/upcrun -n 1 up
コンパイルすると、次のエラーも発生しました。
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
問題を解決する方法について何かアイデアはありますか?
前もって感謝します!