chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.8k stars 421 forks source link

Resolve failures with `--warn-unstable` in release/examples #23133

Open lydia-duncan opened 1 year ago

lydia-duncan commented 1 year ago

When I ran the release/examples test directory with --warn-unstable today, I encountered 70 failures. This number may increase between now and feature freeze, so it's probably best to do a fresh run then.

lydia-duncan commented 1 year ago

Current failures with main:

[Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] [Error matching program output for release/examples/benchmarks/hpcc/fft] [Error matching program output for release/examples/benchmarks/hpcc/hpl] [Error matching program output for release/examples/benchmarks/hpcc/ptrans] [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] [Error matching program output for release/examples/benchmarks/hpcc/ra] [Error matching program output for release/examples/benchmarks/hpcc/stream-ep] [Error matching program output for release/examples/benchmarks/hpcc/stream] [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 1)] [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 2)] [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 3)] [Error matching program output for release/examples/benchmarks/lcals/LCALSMain] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 1, execopts: 1)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 1, execopts: 2)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 1, execopts: 3)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 1, execopts: 4)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 1, execopts: 5)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 2, execopts: 1)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 2, execopts: 2)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 2, execopts: 3)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 2, execopts: 4)] [Error matching program output for release/examples/benchmarks/lulesh/lulesh (compopts: 2, execopts: 5)] [Error matching program output for release/examples/benchmarks/lulesh/test3DLulesh (compopts: 1, execopts: 1)] [Error matching program output for release/examples/benchmarks/lulesh/test3DLulesh (compopts: 1, execopts: 2)] [Error matching program output for release/examples/benchmarks/lulesh/test3DLulesh (compopts: 1, execopts: 3)] [Error matching program output for release/examples/benchmarks/lulesh/test3DLulesh (compopts: 2, execopts: 1)] [Error matching program output for release/examples/benchmarks/lulesh/test3DLulesh (compopts: 2, execopts: 2)] [Error matching program output for release/examples/benchmarks/lulesh/test3DLulesh (compopts: 2, execopts: 3)] [Error matching program output for release/examples/benchmarks/miniMD/miniMD (compopts: 1)] [Error matching program output for release/examples/benchmarks/miniMD/miniMD (compopts: 2)] [Error matching program output for release/examples/benchmarks/shootout/binarytrees] [Error matching program output for release/examples/benchmarks/shootout/chameneosredux-fast] [Error matching program output for release/examples/benchmarks/shootout/chameneosredux] [Error matching program output for release/examples/benchmarks/shootout/fannkuchredux] [Error matching program output for release/examples/benchmarks/shootout/knucleotide] [Error matching program output for release/examples/benchmarks/shootout/mandelbrot-fast] [Error matching program output for release/examples/benchmarks/shootout/mandelbrot] [Error matching program output for release/examples/benchmarks/shootout/meteor] [Error matching program output for release/examples/benchmarks/shootout/nbody] [Error matching program output for release/examples/benchmarks/shootout/revcomp-fast] [Error matching program output for release/examples/patterns/readcsv] [Error matching program output for release/examples/primers/chplvis/chplvis1] [Error matching program output for release/examples/primers/chplvis/chplvis2] [Error matching program output for release/examples/primers/chplvis/chplvis3] [Error matching program output for release/examples/primers/chplvis/chplvis4] [Error matching program output for release/examples/primers/LinearAlgebralib] [Error matching program output for release/examples/primers/associative] [Error matching program output for release/examples/primers/atomics] [Error matching program output for release/examples/primers/distributions] [Error matching program output for release/examples/primers/domains] [Error matching program output for release/examples/primers/interopWithC] [Error matching program output for release/examples/primers/learnChapelInYMinutes] [Error matching program output for release/examples/primers/listOps] [Error matching program output for release/examples/primers/locales] [Error matching program output for release/examples/primers/modules] [Error matching program output for release/examples/primers/parIters] [Error matching program output for release/examples/primers/randomNumbers] [Error matching program output for release/examples/primers/ranges] [Error matching program output for release/examples/primers/reductions] [Error matching program output for release/examples/primers/replicated] [Error matching program output for release/examples/primers/sparse] [Error matching program output for release/examples/primers/specialMethods] [Error matching program output for release/examples/spec/Arrays/assoc-add-index] [Error matching program output for release/examples/spec/Arrays/sparse-error] [Error matching program output for release/examples/spec/Classes/delete] [Error matching program output for release/examples/spec/Data_Parallelism/promotes-default] [Error matching program output for release/examples/spec/Domains/associativeDomain] [Error matching program output for release/examples/spec/Expressions/let] [Error matching program output for release/examples/spec/Iterators/recursive] [Error matching program output for release/examples/spec/Memory_Consistency_Model/syncSpinWait] [Error matching program output for release/examples/spec/Ranges/rangeAdd] [Error matching program output for release/examples/spec/Records/recordDeinitializer] [Error matching program output for release/examples/spec/Records/userhash] [Error matching program output for release/examples/spec/Statements/manage1] [Error matching program output for release/examples/spec/Statements/manage2] [Error matching program output for release/examples/spec/Statements/manage3] [Error matching program output for release/examples/spec/Tuples/omit-component-decl] [Error matching program output for release/examples/users-guide/base/zip] [Error matching program output for release/examples/hello4-datapar-dist]

lydia-duncan commented 1 year ago

There are 57 distinct failure modes among these tests. The dmapped ones in the primers and spec have already been resolved by Jeremiah, but the rest currently remain.

Some of these failure modes should not be adjusted for, since they are of features that we intend to examine and eventually stabilize in some form. Others can be addressed today, so I will try to do so.

Here's the per-test breakdown of failure modes:

- [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - dmapped - leading underscores - MemDiagnostics - ChplConfig.CHPL_COMM - dataParTasksPerLocale - log2 with int arguments - int->uint implicit conversions - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - dmapped - leading underscores - MemDiagnostics - UnorderedAtomics - PeekPoke - dataParTasksPerLocale - log2 with int arguments - [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] - dmapped - Random - MemDiagnostics - dataParTasksPerLocale - log2 with int arguments - [Error matching program output for release/examples/benchmarks/hpcc/fft] - dmapped - let expressions - Random - MemDiagnostics - dataParTasksPerLocale - log2 with int arguments - logBasePow2 - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - dmapped - leading underscores - LinearAlgebra - Random - MemDiagnostics - DimensionalDist2D - dataParTasksPerLocale - chapel array type in extern proc (note: triggering due to the package modules BLAS and LAPACK, should be resolved by Jade's PR) - log2 with int arguments - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - dmapped - BlockCycDist - MemDiagnostics - dataParTasksPerLocale - log2 with int arguments - erf - Default initialization of range with boundKind.low/boundKind.high - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - dmapped - leading underscores - MemDiagnostics - PeekPoke - dataParTasksPerLocale - log2 with int arguments - blockDist args other than boundingBox and targetLocales - [Error matching program output for release/examples/benchmarks/hpcc/ra] - dmapped - leading underscores - MemDiagnostics - ChplConfig.CHPL_COMM - dataParTasksPerLocale - log2 with int arguments - int->uint implicit conversions - [Error matching program output for release/examples/benchmarks/hpcc/stream-ep] - Random - MemDiagnostics - dataParTasksPerLocale - log2 with int arguments - [Error matching program output for release/examples/benchmarks/hpcc/stream] - dmapped - Random - MemDiagnostics - dataParTasksPerLocale - log2 with int arguments - [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 1)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 2)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 3)] - dmapped - Random - log2 with int arguments - scans - [Error matching program output for release/examples/benchmarks/lcals/LCALSMain] - RangeChunk - foreach loops - let expressions - lulesh (10 versions) and test3DLulesh (6 versions) - dmapped - sparse domains - ChplConfig.CHPL_COMM - Sort - += on domains - miniMD (2 versions) - dmapped - StencilDist - ChplConfig.CHPL_COMM - readln - domain.expand() - domain.exterior() - domain.translate() - tuple-scalar operators - binarytrees - DynamicIters - chameneosredux-fast - compareAndSwap - chameneosredux - compareAndSwap - fannkuchredux - DynamicIters - knucleotide - Sort - mandelbrot-fast - DynamicIters - divCeilPos - tuple-scalar - mandelbrot - DynamicIters - divCeilPos - meteor - int->uint implicit conversions - nbody - tuple-scalar conversions - revcomp-fast - tuple-scalar conversions (In the IO module?) - [Error matching program output for release/examples/patterns/readcsv] - associative domains - [Error matching program output for release/examples/primers/chplvis/chplvis1] - VisualDebug - [Error matching program output for release/examples/primers/chplvis/chplvis2] - dmapped - VisualDebug - [Error matching program output for release/examples/primers/chplvis/chplvis3] - dmapped - VisualDebug - [Error matching program output for release/examples/primers/chplvis/chplvis4] - dmapped - VisualDebug - [Error matching program output for release/examples/primers/LinearAlgebralib] - dmapped - sparse domains - LinearAlgebra - Sparse - LayoutCS - chapel array type in extern proc (in BLAS and LAPACK modules) - += on domains - [Error matching program output for release/examples/primers/associative] - associative domains - += on domains - & on domains - - on domains - | on domains - [Error matching program output for release/examples/primers/atomics] - compareAndSwap - [Error matching program output for release/examples/primers/distributions] - dmapped - BlockCycDist - DimensionalDist2D - hasSingleLocalSubdomain on arrays - localSubdomains on arrays - Default initialization of range with boundKind.low/boundKind.high - [Error matching program output for release/examples/primers/domains] - sparse domains - domain.expand() - domain.exterior() - domain.interior() - domain.translate() - += on domains - [Error matching program output for release/examples/primers/interopWithC] - chapel array type in extern proc - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - associative domains - += on domains - -= on domains - compareAndSwap - writeXF - scans - [Error matching program output for release/examples/primers/listOps] - list.sort - [Error matching program output for release/examples/primers/locales] - MemDiagnostics - locale.numPUs - [Error matching program output for release/examples/primers/modules] - use M only typeName - [Error matching program output for release/examples/primers/parIters] - range.translate() - [Error matching program output for release/examples/primers/randomNumbers] - Random - [Error matching program output for release/examples/primers/ranges] - + on ranges - - on ranges - [Error matching program output for release/examples/primers/reductions] - Random - [Error matching program output for release/examples/primers/replicated] - dmapped - ReplicatedDist - [Error matching program output for release/examples/primers/sparse] - sparse domains - += on domains - [Error matching program output for release/examples/primers/specialMethods] - associative domains - += on domains - readln - [Error matching program output for release/examples/spec/Arrays/assoc-add-index] - associative domains - [Error matching program output for release/examples/spec/Arrays/sparse-error] - sparse domains - [Error matching program output for release/examples/spec/Classes/delete] - memLeaksByType - [Error matching program output for release/examples/spec/Data_Parallelism/promotes-default] - Sort - [Error matching program output for release/examples/spec/Domains/associativeDomain] - associative domains - [Error matching program output for release/examples/spec/Expressions/let] - let expressions - [Error matching program output for release/examples/spec/Iterators/recursive] - special meaning to be replaced with implementing writeSerializable - [Error matching program output for release/examples/spec/Memory_Consistency_Model/syncSpinWait] - readXX - writeXF - [Error matching program output for release/examples/spec/Ranges/rangeAdd] - + on ranges - [Error matching program output for release/examples/spec/Records/recordDeinitializer] - memLeaksByType - [Error matching program output for release/examples/spec/Records/userhash] - associative domains - += on domains - [Error matching program output for release/examples/spec/Statements/manage1] - manage statements - [Error matching program output for release/examples/spec/Statements/manage2] - manage statements - [Error matching program output for release/examples/spec/Statements/manage3] - manage statements - [Error matching program output for release/examples/spec/Tuples/omit-component-decl] - leading underscores - [Error matching program output for release/examples/users-guide/base/zip] - leading underscores - [Error matching program output for release/examples/hello4-datapar-dist] - dmapped

And here's the per-failure mode breakdown, in order of when the failure mode was encountered when traversing the log file:

- dmapped - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] - [Error matching program output for release/examples/benchmarks/hpcc/fft] - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - [Error matching program output for release/examples/benchmarks/hpcc/stream] - [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 1)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 2)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 3)] - lulesh (10 versions) and test3DLulesh (6 versions) - miniMD (2 versions) - [Error matching program output for release/examples/primers/chplvis/chplvis2] - [Error matching program output for release/examples/primers/chplvis/chplvis3] - [Error matching program output for release/examples/primers/chplvis/chplvis4] - [Error matching program output for release/examples/primers/LinearAlgebralib] - [Error matching program output for release/examples/primers/distributions] - [Error matching program output for release/examples/primers/replicated] - [Error matching program output for release/examples/hello4-datapar-dist] - leading underscores - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - [Error matching program output for release/examples/spec/Tuples/omit-component-decl] - [Error matching program output for release/examples/users-guide/base/zip] - MemDiagnostics - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] - [Error matching program output for release/examples/benchmarks/hpcc/fft] - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - [Error matching program output for release/examples/benchmarks/hpcc/stream-ep] - [Error matching program output for release/examples/benchmarks/hpcc/stream] - [Error matching program output for release/examples/primers/locales] - ChplConfig.CHPL_COMM - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - lulesh (10 versions) and test3DLulesh (6 versions) - miniMD (2 versions) - dataParTasksPerLocale - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] - [Error matching program output for release/examples/benchmarks/hpcc/fft] - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - [Error matching program output for release/examples/benchmarks/hpcc/stream-ep] - [Error matching program output for release/examples/benchmarks/hpcc/stream] - log2 with int arguments - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] - [Error matching program output for release/examples/benchmarks/hpcc/fft] - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - [Error matching program output for release/examples/benchmarks/hpcc/stream-ep] - [Error matching program output for release/examples/benchmarks/hpcc/stream] - [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 1)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 2)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 3)] - int->uint implicit conversions - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-cleanloop] - [Error matching program output for release/examples/benchmarks/hpcc/ra] - [Error matching program output for release/examples/benchmarks/shootout/meteor] - [Error matching program output for release/examples/benchmarks/shootout/revcomp-fast] - UnorderedAtomics - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - PeekPoke - [Error matching program output for release/examples/benchmarks/hpcc/variants/ra-unordered-atomics] - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - Random - [Error matching program output for release/examples/benchmarks/hpcc/variants/stream-promoted] - [Error matching program output for release/examples/benchmarks/hpcc/fft] - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/benchmarks/hpcc/stream-ep] - [Error matching program output for release/examples/benchmarks/hpcc/stream] - [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 1)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 2)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 3)] - [Error matching program output for release/examples/primers/randomNumbers] - [Error matching program output for release/examples/primers/reductions] - let expressions - [Error matching program output for release/examples/benchmarks/hpcc/fft] - [Error matching program output for release/examples/benchmarks/lcals/LCALSMain] - [Error matching program output for release/examples/spec/Expressions/let] - logBasePow2 - [Error matching program output for release/examples/benchmarks/hpcc/fft] - LinearAlgebra - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/primers/LinearAlgebralib] - DimensionalDist2D - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/primers/distributions] - chapel array type in extern proc (some of which should be resolved by Jade's PR) - [Error matching program output for release/examples/benchmarks/hpcc/hpl] - [Error matching program output for release/examples/primers/LinearAlgebralib] - [Error matching program output for release/examples/primers/interopWithC] - BlockCycDist - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - [Error matching program output for release/examples/primers/distributions] - erf - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - Default initialization of range with boundKind.low/boundKind.high - [Error matching program output for release/examples/benchmarks/hpcc/ptrans] - [Error matching program output for release/examples/primers/distributions] - blockDist args other than boundingBox and targetLocales - [Error matching program output for release/examples/benchmarks/hpcc/ra-atomics] - scans - [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 1)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 2)], [Error matching program output for release/examples/benchmarks/isx/isx (execopts: 3)] - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - RangeChunk - [Error matching program output for release/examples/benchmarks/lcals/LCALSMain] - foreach loops - [Error matching program output for release/examples/benchmarks/lcals/LCALSMain] - sparse domains - lulesh (10 versions) and test3DLulesh (6 versions) - [Error matching program output for release/examples/primers/LinearAlgebralib] - [Error matching program output for release/examples/primers/domains] - [Error matching program output for release/examples/primers/sparse] - [Error matching program output for release/examples/spec/Arrays/sparse-error] - Sort - lulesh (10 versions) and test3DLulesh (6 versions) - knucleotide - [Error matching program output for release/examples/spec/Data_Parallelism/promotes-default] - += on domains - lulesh (10 versions) and test3DLulesh (6 versions) - [Error matching program output for release/examples/primers/LinearAlgebralib] - [Error matching program output for release/examples/primers/associative] - [Error matching program output for release/examples/primers/domains] - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - [Error matching program output for release/examples/primers/sparse] - [Error matching program output for release/examples/primers/specialMethods] - [Error matching program output for release/examples/spec/Records/userhash] - StencilDist - miniMD (2 versions) - readln - miniMD (2 versions) - [Error matching program output for release/examples/primers/specialMethods] - domain.expand() - miniMD (2 versions) - [Error matching program output for release/examples/primers/domains] - domain.exterior() - miniMD (2 versions) - [Error matching program output for release/examples/primers/domains] - domain.translate() - miniMD (2 versions) - [Error matching program output for release/examples/primers/domains] - tuple-scalar operators - miniMD (2 versions) - mandelbrot-fast - nbody - [Error matching program output for release/examples/benchmarks/shootout/revcomp-fast] - DynamicIters - binarytrees - fannkuchredux - mandelbrot-fast - mandelbrot - compareAndSwap - chameneosredux-fast - chameneosredux - [Error matching program output for release/examples/primers/atomics] - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - divCeilPos - mandelbrot-fast - mandelbrot - associative domains - [Error matching program output for release/examples/patterns/readcsv] - [Error matching program output for release/examples/primers/associative] - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - [Error matching program output for release/examples/primers/specialMethods] - [Error matching program output for release/examples/spec/Arrays/assoc-add-index] - [Error matching program output for release/examples/spec/Domains/associativeDomain] - [Error matching program output for release/examples/spec/Records/userhash] - VisualDebug - [Error matching program output for release/examples/primers/chplvis/chplvis1] - [Error matching program output for release/examples/primers/chplvis/chplvis2] - [Error matching program output for release/examples/primers/chplvis/chplvis3] - [Error matching program output for release/examples/primers/chplvis/chplvis4] - Sparse - [Error matching program output for release/examples/primers/LinearAlgebralib] - LayoutCS - [Error matching program output for release/examples/primers/LinearAlgebralib] - & on domains - [Error matching program output for release/examples/primers/associative] - - on domains - [Error matching program output for release/examples/primers/associative] - | on domains - [Error matching program output for release/examples/primers/associative] - hasSingleLocalSubdomain on arrays - [Error matching program output for release/examples/primers/distributions] - localSubdomains on arrays - [Error matching program output for release/examples/primers/distributions] - domain.interior() - [Error matching program output for release/examples/primers/domains] - -= on domains - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - writeXF - [Error matching program output for release/examples/primers/learnChapelInYMinutes] - [Error matching program output for release/examples/spec/Memory_Consistency_Model/syncSpinWait] - list.sort - [Error matching program output for release/examples/primers/listOps] - locale.numPUs - [Error matching program output for release/examples/primers/locales] - use M only typeName - [Error matching program output for release/examples/primers/modules] - range.translate() - [Error matching program output for release/examples/primers/parIters] - + on ranges - [Error matching program output for release/examples/primers/ranges] - [Error matching program output for release/examples/spec/Ranges/rangeAdd] - - on ranges - [Error matching program output for release/examples/primers/ranges] - ReplicatedDist - [Error matching program output for release/examples/primers/replicated] - memLeaksByType - [Error matching program output for release/examples/spec/Classes/delete] - [Error matching program output for release/examples/spec/Records/recordDeinitializer] - special meaning to be replaced with implementing writeSerializable - [Error matching program output for release/examples/spec/Iterators/recursive] - readXX - [Error matching program output for release/examples/spec/Memory_Consistency_Model/syncSpinWait] - manage statements - [Error matching program output for release/examples/spec/Statements/manage1] - [Error matching program output for release/examples/spec/Statements/manage2] - [Error matching program output for release/examples/spec/Statements/manage3]
lydia-duncan commented 1 year ago

Took a look at the "Default initialization of range with boundKind.low/boundKind.high" failures because conceptually it seemed reasonable to resolve. That ended up being because of this line in the BlockCycDist implementation.

On the one hand, the warning made it look like it was something the user was doing that triggered the failure when it was BlockCycDist and it was a bit annoying to track down where it was actually happening. On the other hand, BlockCycDist itself is unstable, so it's not really a problem for it to use unstable things - anyone who's using it is probably tuning out unstable warnings to some degree?

bradcray commented 1 year ago

My thought on those cases is:

Basically, in both cases, we should stop shining a light on things that we don't really want users putting much weight on at this point.

[edit: also, is it weird that we're getting an unstable warning in a distribution module? Does that suggest that my belief that they were treated as MOD_STANDARD is incorrect?]

bradcray commented 1 year ago

Looked through the other cases:

ChplConfig.CHPL_COMM

For many of these, I think we could use @riftEmber's new query. For the ones that check against ugni, I think they're just trying to decide whether network atomics are supported to decide whether to use on-clauses vs. rmos vs. atomics. But I don't know how much we rely on those defaults anyway in our testing (vs. just explicitly saying which variant we want). Checking the ml-compopts file, it looks like it's explicit.

dataParTasksPerLocale

For the HPCCProblemSize.chpl case, I suspect we could just use maxTaskPar and that would take care of all cases other than ra-atomics.chpl

DimensionalDist2D

I'd remove hpl from the release/examples and this distribution from the primer

RangeChunk foreach loops

I'd move lcals out of the release

readln

The answer is clear—stabilize readln()! :D

compareAndSwap

I think these could be rewritten to use compareExchange, which I think is stable?

divCeilPos

can we cast to uint and use divCeil?

hasSingleLocalSubdomain on arrays localSubdomains on arrays

If we remove BlockCyclic from this primer, I believe these would go away as well.

writeXF readXX

These would be good to address...

bradcray commented 1 year ago

Update: I'm taking a pass on the distributions primer now.

[edit: Now up here: https://github.com/chapel-lang/chapel/pull/23465 with no unstable warnings]

lydia-duncan commented 1 year ago

also, is it weird that we're getting an unstable warning in a distribution module? Does that suggest that my belief that they were treated as MOD_STANDARD is incorrect?

This is specific to that particular unstable warning. The unstable warning is handled in code in the body of the ChapelRange function rather than through the @unstable attribute, so it isn't subject to the compiler's controls and detection about whether the code triggering the warning is in the standard modules or not.

There's probably a way to get it to be handled appropriately, but that seemed like a rabbit hole when there were potentially other quick fixes that could be made before code freeze