Compared to compiling Swift, OpenCilk or Julia from source Chapel seems easier--at least on an x86 Linux system. After a setting a few variables asIt is now November and the idea to use Chapel on a cluster of Raspberry Pi computers sounds super fun. Since the three black kittens took a vacation for Halloween, the super-cheap cluster is free. I'm trying a native x86 build first. If that works I'll try AArch64 for the Pi 4 and after that ARMv6.Here it is October 2024 and I'm wondering how to make Advent 2024 more fun.
Code:
$ export CHPL_LLVM=system$ export CHPL_GMP=system$ export CHPL_UNWIND=system$ export CHPL_COMM=gasnet$ export CHPL_COMM_SUBSTRATE=mpi$ export CHPL_LAUNCHER=slurm-gasnetrun_mpi
Code:
$ ./configure --prefix=/usr/local/chapel-2.2.0$ make -j24$ su# make install
Here is an example:
Code:
$ cat hello.chpl writeln("Hello, world!");$ chpl hello.chpl$ ./hello -nl 1Hello, world!
Statistics: Posted by ejolson — Thu Nov 07, 2024 6:04 am