CESR-lab / ucla-roms

GNU General Public License v3.0
5 stars 10 forks source link

effective input filename lengths too short #24

Open dafyddstephenson opened 3 months ago

dafyddstephenson commented 3 months ago

In read_inp.F there is a parameter max_fname which defaults to 256. However, when using MPI, the following MPI_Bcast call cuts this to 64, which I am exceeding by using absolute paths. In my local copy of ROMS I have changed the call to call MPI_Bcast(fname,max_fname,MPI_BYTE, 0, ocean_grid_comm, ierr), fixing the problem. Thanks! Dafydd

nmolem commented 3 months ago

I made the change that you suggested and pushed the commit