[petsc-dev] YAML options support in PETSc issue

Barry Smith bsmith at mcs.anl.gov
Tue Jan 10 09:50:56 CST 2017


  I've "fixed" the YAML to be parseable with Jed's help so this example now runs


> On Jan 10, 2017, at 1:44 AM, Jed Brown <jed at jedbrown.org> wrote:
> 
> Barry Smith <bsmith at mcs.anl.gov> writes:
> 
>>  Is this suppose to work?  What should be done with the example?
> 
> This file has lists/sequences and references.  Neither are implemented.
> I don't know what it means to convert a YAML list into PETSc options.
> (Nested dicts are defined, but not lists.)  References would be a nice
> feature to support, but that isn't even stubbed out yet.  Seems to me we
> can disable the example (it wasn't tested prior to the new testing
> system).
> 
>> 
>> #	[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
>> #	[0]PETSC ERROR: No support for this operation for this object type
>> #	[0]PETSC ERROR: Unable to open YAML option file: sequences not supported
>> #	[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
>> #	[0]PETSC ERROR: Petsc Development GIT revision: v3.7.4-2087-g869b4d0136  GIT Date: 2017-01-09 12:37:55 -0600
>> #	[0]PETSC ERROR: ../ex23 on a arch-mpich named visitor096-130.wl.anl-external.org by barrysmith Mon Jan  9 15:51:52 2017
>> #	[0]PETSC ERROR: Configure options --download-metis --download-mpich --download-parmetis --download-superlu_dist PETSC_ARCH=arch-mpich --download-saws --download-yaml
>> #	[0]PETSC ERROR: #1 PetscParseLayerYAML() line 37 in /Users/barrysmith/Src/petsc/src/sys/yaml/yamlimpls.c
>> #	[0]PETSC ERROR: #2 PetscParseLayerYAML() line 50 in /Users/barrysmith/Src/petsc/src/sys/yaml/yamlimpls.c
>> #	[0]PETSC ERROR: #3 PetscOptionsInsertFileYAML() line 136 in /Users/barrysmith/Src/petsc/src/sys/yaml/yamlimpls.c
>> #	[0]PETSC ERROR: #4 PetscOptionsInsert() line 771 in /Users/barrysmith/Src/petsc/src/sys/objects/options.c
>> #	[0]PETSC ERROR: #5 PetscInitialize() line 875 in /Users/barrysmith/Src/petsc/src/sys/objects/pinit.c
>> #	[0]PETSC ERROR: #6 main() line 15 in /Users/barrysmith/Src/petsc/src/sys/examples/tests/ex23.c
>> #	[0]PETSC ERROR: PETSc Option Table entries:
>> #	[0]PETSC ERROR: -malloc_test
>> #	[0]PETSC ERROR: -options_file_yaml ex23options
>> #	[0]PETSC ERROR: -saws_port_auto_select
>> #	[0]PETSC ERROR: -saws_port_auto_select_silent
>> #	[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint at mcs.anl.gov----------
>> #	application called MPI_Abort(MPI_COMM_WORLD, 56) - process 0
>> not ok diff-sys_tests-ex23




More information about the petsc-dev mailing list