Attempting to arrange multi-locale Chapel on a Raspberry Pi cluster

I'm questioning if anybody may present me with steerage on find out how to arrange multi-locale on a cluster of Raspberry Pi -- a process or stroll by and even simply hints can be welcome.

Chapel compiles efficiently on a single node and I can run all of the tutorial code. I re-made chapel with the instructed setting variables in place for multi-locale however I simply can't get it to work.

The output from printenv appears to be like like this:

CHPL_HOME: /dwelling/mpiu/chapel/chapel-1.23.0 *
script location: /dwelling/mpiu/chapel/chapel-1.23.0/util/chplenv
CHPL_TARGET_PLATFORM: linux64
CHPL_TARGET_COMPILER: gnu
CHPL_TARGET_ARCH: aarch64
CHPL_TARGET_CPU: aarch64 *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: gasnet *
CHPL_COMM_SUBSTRATE: udp *
CHPL_GASNET_SEGMENT: every part
CHPL_TASKS: qthreads
CHPL_LAUNCHER: amudprun
CHPL_TIMERS: generic
CHPL_UNWIND: none
CHPL_MEM: jemalloc
CHPL_ATOMICS: cstdlib
CHPL_NETWORK_ATOMICS: none
CHPL_GMP: gmp
CHPL_HWLOC: hwloc
CHPL_REGEXP: re2
CHPL_LLVM: none
CHPL_AUX_FILESYS: none

My setting variables appear like this:

CHPL_HOME=/dwelling/mpiu/chapel/chapel-1.23.0
CHPL_TARGET_CPU=aarch64
CHPL_COMM_SUBSTRATE=udp
CHPL_COMM=gasnet
GASNET_WORKERIP=192.168.1.0
GASNET_SPAWNFN=S
GASNET_SSH_CMD=ssh
GASNET_SSH_OPTIONS=-o LogLevel=Error -x
GASNET_SSH_SERVERS=oc2-a oc2-b
GASNET_MASTERIP=192.168.1.146

Utilizing this instance code:

use Reminiscence;
for loc in Locales do
  on loc {
    writeln("locale #", right here.id, "...");
    writeln("  ...is called: ", right here.title);
    writeln("  ...has ", right here.numPUs(), " processor cores");
    writeln("  ...has ", right here.physicalMemory(unit=MemUnits.GB, retType=actual), " GB of reminiscence");
    writeln("  ...has ", right here.maxTaskPar, " most parallelism");
  }

And compiling it like this:

chpl --no-local -o printLocales printLocales.chpl

Once I run the executable:

./printLocales -nl 2

I get the next error:

bash: line 1: 22782 Unlawful instruction     env 'AMUDP_SLAVE_ARGS=1,192,168,1,146,159,52,192.168.1.0' '/dwelling/mpiu/Code/chapel/printLocales_real' '-nl' '1' '-E' 'SHELL=/bin/bash' '-E' 'GASNET_WORKERIP=192.168.1.0' '-E' 'CHPL_HOME=/dwelling/mpiu/chapel/chapel-1.23.0' '-E' 'CHPL_TARGET_CPU=aarch64' '-E' 'GASNET_SPAWNFN=S' '-E' 'PWD=/dwelling/mpiu/Code/chapel' '-E' 'LOGNAME=mpiu' '-E' 'XDG_SESSION_TYPE=tty' '-E' 'MANPATH=/dwelling/mpiu/chapel/chapel-1.23.0/man:' '-E' 'HOME=/dwelling/mpiu' '-E' 'LANG=en_US.UTF-8' '-E' 'GASNET_SSH_CMD=ssh' '-E' 'GASNET_SSH_OPTIONS=-o LogLevel=Error -x' '-E' 'GASNET_SSH_SERVERS=oc2-a oc2-b' '-E' 'CHPL_COMM_SUBSTRATE=udp' '-E' 'SSH_CONNECTION=192.168.1.47 53342 192.168.1.146 22' '-E' 'GASNET_MASTERIP=192.168.1.146' '-E' 'CHPL_COMM=gasnet' '-E' 'XDG_SESSION_CLASS=consumer' '-E' 'TERM=xterm-256color' '-E' 'USER=mpiu' '-E' 'SHLVL=1' '-E' 'XDG_SESSION_ID=c3' '-E' 'XDG_RUNTIME_DIR=/run/consumer/1002' '-E' 'SSH_CLIENT=192.168.1.47 53342 22' '-E' 'LC_ALL=en_US.UTF-8' '-E' 'PATH=/dwelling/mpiu/chapel/chapel-1.23.0/bin/linux64-aarch64:/dwelling/mpiu/chapel/chapel-1.23.0/util:/usr/native/bin:/usr/bin:/bin:/usr/native/video games:/usr/video games' '-E' 'MAIL=/var/mail/mpiu' '-E' 'SSH_TTY=/dev/pts/0' '-E' 'OLDPWD=/dwelling/mpiu' '-E' '_=./printLocales'

I've tried many various issues (together with utilizing the MPI conduit as nicely), I simply can't work out what I'm doing unsuitable. If it issues, MPI works high-quality on this cluster.


( An unique error one-liner barely re-formatted for quicker readability )

bash: line 1: 22782 Unlawful instruction 
      env 
      'AMUDP_SLAVE_ARGS=1,192,168,1,146,159,52,192.168.1.0' 
      '/dwelling/mpiu/Code/chapel/printLocales_real' 
      '-nl' '1' 
      '-E' 'SHELL=/bin/bash' 
      '-E' 'GASNET_WORKERIP=192.168.1.0' 
      '-E' 'CHPL_HOME=/dwelling/mpiu/chapel/chapel-1.23.0' 
      '-E' 'CHPL_TARGET_CPU=aarch64' 
      '-E' 'GASNET_SPAWNFN=S' 
      '-E' 'PWD=/dwelling/mpiu/Code/chapel' 
      '-E' 'LOGNAME=mpiu' 
      '-E' 'XDG_SESSION_TYPE=tty' 
      '-E' 'MANPATH=/dwelling/mpiu/chapel/chapel-1.23.0/man:' 
      '-E' 'HOME=/dwelling/mpiu' 
      '-E' 'LANG=en_US.UTF-8' 
      '-E' 'GASNET_SSH_CMD=ssh' 
      '-E' 'GASNET_SSH_OPTIONS=-o LogLevel=Error -x' 
      '-E' 'GASNET_SSH_SERVERS=oc2-a oc2-b' 
      '-E' 'CHPL_COMM_SUBSTRATE=udp' 
      '-E' 'SSH_CONNECTION=192.168.1.47 53342 192.168.1.146 22' 
      '-E' 'GASNET_MASTERIP=192.168.1.146' 
      '-E' 'CHPL_COMM=gasnet' 
      '-E' 'XDG_SESSION_CLASS=consumer' 
      '-E' 'TERM=xterm-256color' 
      '-E' 'USER=mpiu' 
      '-E' 'SHLVL=1' 
      '-E' 'XDG_SESSION_ID=c3' 
      '-E' 'XDG_RUNTIME_DIR=/run/consumer/1002' 
      '-E' 'SSH_CLIENT=192.168.1.47 53342 22' 
      '-E' 'LC_ALL=en_US.UTF-8' 
      '-E' 'PATH=/dwelling/mpiu/chapel/chapel-1.23.0/bin/linux64-aarch64:/dwelling/mpiu/chapel/chapel-1.23.0/util:/usr/native/bin:/usr/bin:/bin:/usr/native/video games:/usr/video games' 
      '-E' 'MAIL=/var/mail/mpiu' 
      '-E' 'SSH_TTY=/dev/pts/0' 
      '-E' 'OLDPWD=/dwelling/mpiu' 
      '-E' '_=./printLocales'



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *