You have already asked that (or very similar) question here.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error: Rank mismatch in argument ‘cars’ at (1) (scalar and rank-1) | 6 | 3403 | March 29, 2022 | |
| Error: IF clause at (1) requires a scalar LOGICAL expression | 19 | 4344 | May 26, 2022 | |
| Generic call with rank mismatch | 18 | 1180 | February 12, 2022 | |
| Reshaping arrays via explicit length arguments | 2 | 216 | July 28, 2024 | |
| Scalar/array mismatch in subroutine call - solvable via Fortran 2003 enhanced array constructor? | 44 | 2099 | August 24, 2023 |