[petsc-dev] args loop in testset
Scott Kruger
kruger at txcorp.com
Wed Jun 26 12:07:40 CDT 2019
Thanks for the report Jakub.
I have a backlog of fixes to put into a PR, but am about to leave for
vacation so it'll probably be a couple of weeks.
Scott
On 6/26/19 5:16 AM, Jakub Kruzik via petsc-dev wrote:
> Hello,
>
> args loop in test in testset does not insert a space after the argument.
> E.g., changing
>
> test:
> args: -bs {{1 2 3 4 5 6 7 8 9 10 11 12}} -pc_type cholesky
>
> into:
>
> testset:
> test:
> args: -bs {{1 2 3 4 5 6 7 8 9 10 11 12}} -pc_type cholesky
>
> in ksp/ksp/examples/tests/ex49.c
>
> Gives error:
> # [0]PETSC ERROR: Argument out of range
> # [0]PETSC ERROR: Input string 1-pc_type has no integer value (do
> not include . in it)
> # [0]PETSC ERROR: Petsc Development GIT revision:
> v3.11.2-1093-g080cba1312 GIT Date: 2019-06-26 10:52:54 +0200
> # [0]PETSC ERROR: #1 PetscOptionsStringToInt() line 1946 in
> /home/jakub/devel/petsc/petsc/src/sys/objects/options.c
> # [0]PETSC ERROR: #2 PetscOptionsGetInt() line 2282 in
> /home/jakub/devel/petsc/petsc/src/sys/objects/options.c
> # [0]PETSC ERROR: #3 main() line 18 in
> /home/jakub/devel/petsc/petsc/src/ksp/ksp/examples/tests/ex49.c
> # [0]PETSC ERROR: PETSc Option Table entries:
> # [0]PETSC ERROR: -bs 1-pc_type
>
>
> All the best,
>
> Jakub
--
Tech-X Corporation kruger at txcorp.com
5621 Arapahoe Ave, Suite A Phone: (720) 974-1841
Boulder, CO 80303 Fax: (303) 448-7756
More information about the petsc-dev
mailing list