Discussion:
[Chapel-developers] the use of CHPL_LAUNCHER_REAL_WRAPPER
Hui Zhang
2017-06-30 18:46:40 UTC
Permalink
Hello,

I have a monitor process that does a third-party stackwalk on a Chapel
execution.
For multi-locale, I set CHPL_LAUNCHER_REAL_WRAPPER=monitor and run the
program as normal: ./a.out -nl= ...
This scheme works fine with Chapel 1.11, the monitor process runs on each
locale and will do the third-party stackwalk on ./a.out on each locale.
However, now Chapel 1.15 is not working well with this scheme. The program
still runs, but the third-party stackwalk fails because the order of real
arguments for the launcher changes from the old version.
e.g:
Chapel 1.11:
monitor /lustre/hzhang86/miscellaneous/sampling_test/HPL/./hpl_real
-GASNET-SPAWN-slave compute-b28-48.deepthought2.umd.edu 44976 0

Chapel 1.15:
monitor /usr/bin/env GASNET_SPAWNER=ssh GASNET_SPAWN_ARGS=C,0,43514,
compute-b28-48.deepthought2.umd.edu
/lustre/hzhang86/miscellaneous/sampling_test/HPL/./hpl_real

Therefore, what is the best way to run monitor together with the Chapel
program in multi-locale environment?

Here's the env:
CHPL_TARGET_PLATFORM: linux64
CHPL_TARGET_COMPILER: gnu
CHPL_TARGET_ARCH: native *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: gasnet *
CHPL_COMM_SUBSTRATE: ibv *
CHPL_GASNET_SEGMENT: large
CHPL_TASKS: fifo *
CHPL_LAUNCHER: gasnetrun_ibv *
CHPL_TIMERS: generic
CHPL_UNWIND: none
CHPL_MEM: jemalloc
CHPL_MAKE: gmake
CHPL_ATOMICS: intrinsics
CHPL_NETWORK_ATOMICS: none
CHPL_GMP: gmp
CHPL_HWLOC: none
CHPL_REGEXP: re2
CHPL_WIDE_POINTERS: struct
CHPL_AUX_FILESYS: none


Thanks
--
Best regards


Hui Zhang
Loading...