sundials
sundials copied to clipboard
Fortran interface on 32 bits machines?
It is been around since a few versions, and may be that is not supposed to work. For Sundials 7.0.0, building on 32 bits arches (i686, arm) produces tons of errors like this:
128 | x => FN_VMake_Serial(N, xdata, sunctx)
| 1
Error: Type mismatch in argument 'vec_length' at (1); passed INTEGER(4) to INTEGER(8)
/home/iurt/rpmbuild/BUILD/sundials-7.0.0/examples/nvector/serial/test_fnvector_serial_mod.f90:43:9:
It looks like that would be fixable with some PP conditionals. I have also tried SUNDIAL_INDEX_SIZES=32, but the build stops with a message claiming that F interface is not supported for 32 bits.
Thank you, Best, Chris.