Hello,
I tried to run the 2D Canyon example but got the following error in compilation:
inp_par.f90(107): error #6911: The syntax of this substring is invalid. [HADVECTION]
ThreeGhostPoints=ANY(Hadvection(:,:)%MPDATA).or. &
---------------------------^
This error seems to only occur in the 2D barotropic mode when SOLVE3D is not defined. I am wondering if anyone has met the same problem before. Thanks!
The following are the cpp options in canyon.h.
17 #ifndef SOLVE3D /* 2D set-up */
18 # define UV_ADV
19 # define UV_QDRAG
20 # define UV_VIS2
21 # define UV_COR
22 # define BODYFORCE
23 # define ANA_DIAG
24 # define ANA_GRID
25 # define ANA_INITIAL
26 # define ANA_SMFLUX
27 #else /* 3D set-up */
28 # define UV_ADV
29 # define UV_COR
30 # define UV_QDRAG
31 # define UV_VIS2
32 # define MIX_S_UV
33 # define DJ_GRADPS
34 # define SPLINES_VVISC
35 # define TS_DIF2
36 # define MIX_GEO_TS
37 # define ANA_DIAG
38 # define ANA_GRID
39 # define ANA_INITIAL
40 # define ANA_SMFLUX
41 # define ANA_STFLUX
42 # define ANA_BTFLUX
43 # define ANA_VMIX
44 #endif
error in inp_par.F
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: error in inp_par.F
Yes, it will be easy to fix. I will update the repository tonight. Thank you for reporting this issue.
Re: error in inp_par.F
Thanks a lot! Glad to know there is an easy fix.
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: error in inp_par.F
Okay, update your repository. It is now fixed. Here is the trac ticket
Re: error in inp_par.F
Thanks a lot for the quick fix. I have just tried the new code and it works for the barotropic case now .