CESR-lab/ucla-roms

effective input filename lengths too short

Opened this issue · 1 comments

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

I made the change that you suggested and pushed the commit