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
In
read_inp.F
there is a parametermax_fname
which defaults to 256. However, when using MPI, the followingMPI_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 tocall MPI_Bcast(fname,max_fname,MPI_BYTE, 0, ocean_grid_comm, ierr)
, fixing the problem. Thanks! Dafydd