New Issue: Error if incompatible launcher is used with gasnet-udp?

16971, “ronawho”, “Error if incompatible launcher is used with gasnet-udp?”, “2021-01-20T01:23:39Z”

GASNet with the udp substrate requires the amudprun launcher and will lead to odd errors if other launchers are used. See Multilocale Chapel: make check fails (GASNet: Invalid number of nodes: -nl) - Stack Overflow for an example.

Can/should we error (likely at build time) if anything other than CHPL_LAUNCHER={amudprun,none} is used? I have a slight concern that a user could create their own launcher that wraps amudprun and I wouldn’t want to prevent that from working, but that seems pretty unlikely.

Slightly off-topic, but I also wonder if we could detect that we’re on a slurm system and automatically set GASNET_SPAWNFN=C GASNET_CSPAWN_CMD="srun -N%N %C", but I’m not sure if that’s a good idea or not.