Closed markcmiller86 closed 1 year ago
Ok, so, it turns out the Silo Fortran interface does permit the interface to be called either with valid arrays for some data members or with DB_F77NULL
in place of those arrays. So, a mixing of types used in calls from a calling program is certainly possible and ok (I was about to say possible and valid but I worry valid may be too strong a word given the age of Silo and the lack of consideration of modern fortranisms in the design of its fortran interface).
But, it would now appear using fallow-argument-mismatch
may be the only means of truly dealing with this issue for for silo's test suite and any callers of Silo that might be using these calls two different ways. That said, I would not expect this mixing of usages to be very common at all. One is using explicit lists of names and the other is using the more efficient and scalable nameschemes. It doesn't make much sense for a single fortran compilation module to use both with the exception of a lazy code developer just implementing tests for a variety of ways of calling the interface :wink:. So, another way of dealing with this is to put the tests for namescheme oriented calls in a separate test.
Resolved in #346 and #347
Discussed in https://github.com/LLNL/Silo/discussions/324