However, now I am stuck on the adding of the ROMS model.
When compiling WRF+SWAN+ROMS applications (my own as well as SANDY and JOE_TC) I have the following error:
Code: Select all
ocean_coupler.f90:1969:46:
& OCN_COMM_WORLD)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:1729:46:
& OCN_COMM_WORLD)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:1545:42:
& OCN_COMM_WORLD, Router_A(ng,ia)%ROMStoWRF)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:1402:40:
CALL mpi_comm_rank (OCN_COMM_WORLD, MyRank, MyError)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:935:26:
& OCN_COMM_WORLD)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:596:26:
& OCN_COMM_WORLD)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type
ocean_coupler.f90:405:42:
& OCN_COMM_WORLD, Router_W(ng,iw)%ROMStoSWAN)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:186:55:
CALL MCTWorld_init (N_mctmodels, MPI_COMM_WORLD, &
1
Error: Symbol ‘mpi_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
ocean_coupler.f90:174:40:
CALL mpi_comm_rank (OCN_COMM_WORLD, MyRank, MyError)
1
Error: Symbol ‘ocn_comm_world’ at (1) has no IMPLICIT type; did you mean ‘atm_comm_world’?
make: *** [Master/Module.mk:25: Build/ocean_coupler.o] Error 1
When compiling ROMS-only application, compilation succeeds.
What can be the reason of this error? It could be an mpi-related error, but why then SWAN+WRF were successfully coupled?
I have gfortran compiler v 3.8.0 and openMPI v 4.1.0. My compiler file and coawst.bash are attached.
--Anna