Skip to content

Confusing errors when setting summOn parameter to false in snInit #32

@mlooz

Description

@mlooz

We are using the C interface of Snopt in our project, and experience unexpected behavior when calling snInit with the summOn parameter set to false. The reported error is this:

At line 572 of file src/sn40bfil.f
Fortran runtime error: End of file

A different error appears when using the toyA.c example and modifying line 104 to read:

snInit( &toy, "ToyA", "ToyA.out", 0 );

(toyA.zip)

Then, an error code for "Invalid arguments" is reported. I did not find much about this parameter in the documentation, can somebody explain how to use it correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions