,#define UV_ADV
#define UV_COR
#undef UV_LDRAG
#undef UV_QDRAG
#undef MB_BBL
#undef SG_BBL
#define SSW_BBL
#define SSW_CALC_UB
#define SSW_HUNT_KH
#ifdef SG_BBL
# define SG_CALC_ZNOT
# undef SG_LOGINT
#endif
#ifdef MB_BBL
# define MB_CALC_ZNOT
# undef MB_Z0BIO
# undef MB_Z0BL
# undef MB_Z0RIP
#endif
#ifdef SSW_BBL
# define SSW_CALC_ZNOT
# undef SSW_LOGINT
#endif
#define UV_VIS2
#define UV_SADVECTION
#undef MIX_GEO_UV
#define MIX_S_UV
!#define TS_U3HADVECTION
!#define TS_SVADVECTION
#define TS_MPDATA
!#undef NONLIN_EOS
#define DJ_GRADPS
#define TS_DIF2
#undef TS_DIF4
#undef MIX_GEO_TS
#define MIX_S_TS
#define GLS_MIXING
!#define MY25_MIXING
#define T_PASSIVE
#define SALINITY
#define SOLVE3D
#define SPLINES_VVISC
#define SPLINES_VDIFF
#define RI_SPLINES
#define AVERAGES
#define DIAGNOSTICS_TS
#define DIAGNOSTICS_UV
#define EW_PERIODIC
#define NORTH_TOBC
#define NORTH_FSOBC
#define NORTH_M2OBC
#define NORTH_FSCHAPMAN
#define NORTH_M2FLATHER
#define NORTH_M3RADIATION
#define NORTH_TRADIATION
I get the following error message.
From perusing the forums and documentation, I think I have figured out that the problem comes down to the number of ghost points (2 vs 3, where TS_MPDATA requires 3), but I haven't been able to figure out how to correct this problem.analytical.f90:633.27:
logical :: EWperiodic=.TRUE.
1
analytical.f90:605.10:
USE mod_scalars
2
Error: Symbol 'ewperiodic' at (1) conflicts with symbol from module 'mod_scalars', use-associated at (2)
analytical.f90:634.27:
logical :: NSperiodic=.FALSE.
1
analytical.f90:605.10:
USE mod_scalars
2
Error: Symbol 'nsperiodic' at (1) conflicts with symbol from module 'mod_scalars', use-associated at (2)
analytical.f90:1573.27:
logical :: EWperiodic=.TRUE.
1
analytical.f90:1554.10:
USE mod_scalars
2
Error: Symbol 'ewperiodic' at (1) conflicts with symbol from module 'mod_scalars', use-associated at (2)
analytical.f90:1574.27:
logical :: NSperiodic=.FALSE.
1
analytical.f90:1554.10:
USE mod_scalars
2
Error: Symbol 'nsperiodic' at (1) conflicts with symbol from module 'mod_scalars', use-associated at (2)
cd /home/nws747/dwc_model/Inc/Build; /usr/local/bin/mpif90 -c -frepack-arrays -O3 -ffast-math get_idata.f90
analytical.f90:2309.27:
logical :: EWperiodic=.TRUE.
1
analytical.f90:2290.10:
USE mod_scalars
2
Error: Symbol 'ewperiodic' at (1) conflicts with symbol from module 'mod_scalars', use-associated at (2)
analytical.f90:2310.27:
logical :: NSperiodic=.FALSE.
1
analytical.f90:2290.10:
USE mod_scalars
2
Error: Symbol 'nsperiodic' at (1) conflicts with symbol from module 'mod_scalars', use-associated at (2)
analytical.f90:2392.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:2399.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:2406.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:1700.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:807.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:824.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:842.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
analytical.f90:872.40:
& NghostPoints, EWperiodic, NSperiodic, &
1
Error: Rank mismatch in argument 'ew_periodic' at (1) (scalar and rank-1)
make: *** [/home/nws747/dwc_model/Inc/Build/analytical.o] Error 1
make: *** Waiting for unfinished jobs....
Can anyone help me out?