beatrixparis / connectivity-modeling-system

The CMS is a multiscale stochastic Lagrangian framework developed by Paris' Lab at the Rosenstiel School of Marine, Atmospheric & Earth Science to study complex behaviors, giving probabilistic estimates of dispersion, connectivity, fate of pollutants, and other Lagrangian phenomena. This repository facilitates community contributions to CMS modules
https://beatrixparis.github.io/connectivity-modeling-system/
GNU General Public License v3.0
31 stars 25 forks source link

Type mismatch between actual and dummy arguments in loop.f90 #47

Closed milancurcic closed 3 months ago

milancurcic commented 5 months ago

There's a type mismatch in a call to rungekutta where an integer literal is passed to a real dummy argument. This kind of error was previously ignored by many compilers but is no longer ignored as of gfortran v11 and later. It should be fixed.

loop.f90:248:43:

  243 |            particle(r)%ndepth(n),startsec,particle(r)%diam(n), &
      |                                          2 
......
  248 |            particle(r)%ndepth(n), startsec,-1, &
      |                                           1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
make: *** [../arch/mpi_compiler:24: loop.o] Error 1