Jerry,
I know Steve uses FreeBSD, maybe he can test this on that system to
see what it does.
Without your patch (e.g., 17.0.0 20260828) and the testcase
from the PR, I see in another xterm
% gfcx -o z -O3 -fcoarray=shared k1.f90$.
% ./z
% top
last pid: 33694; load averages: 1.35, 1.01, up 11+07:24:25
20:23:17
101 processes: 17 running, 84 sleeping
CPU: 99.9% user, 0.0% nice, 0.0% system, 0.1% interrupt, 0.0% idle
Mem: 880M Active, 16G Inact, 46M Laundry, 5011M Wired, 1462M Buf, 40G Free
Swap: 12G Total, 79M Used, 12G Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU
COMMAND
33486 kargl 1 64 0 16G 3712K CPU2 2 0:09 275.78% z
33693 kargl 1 64 0 16G 3708K CPU6 6 0:09 275.78% z
33558 kargl 1 64 0 16G 3704K CPU3 3 0:09 275.78% z
33625 kargl 1 64 0 16G 3712K CPU13 13 0:09 275.78% z
33679 kargl 1 64 0 16G 3720K CPU15 15 0:09 275.78% z
33462 kargl 1 64 0 16G 3704K CPU14 14 0:09 275.78% z
33522 kargl 1 64 0 16G 3708K CPU10 10 0:09 275.78% z
33694 kargl 1 63 0 16G 3708K CPU1 1 0:09 275.59% z
33369 kargl 1 63 0 16G 3708K CPU11 11 0:09 275.58% z
33580 kargl 1 64 0 16G 3700K CPU9 9 0:09 275.44% z
33491 kargl 1 64 0 16G 3704K CPU7 7 0:09 275.35% z
33440 kargl 1 63 0 16G 3712K CPU0 0 0:09 275.22% z
33445 kargl 1 63 0 16G 3716K CPU8 8 0:09 275.18% z
33663 kargl 1 63 0 16G 3704K RUN 4 0:09 274.95% z
33356 kargl 1 63 0 16G 3736K CPU5 5 0:09 273.32% z
33427 kargl 1 63 0 16G 3704K CPU12 12 0:09 272.94% z
A ^C kills image 1, and all to the above z are reaped. Do you need me
to apply your patch for testing.
--
steve