When i compiling PREP-CHEM-SRC-1.8.3 ,always this error.
Does anyone know how to fix it? Please!
This is the error code:
cp -f ../../aux_src/brams/rams_grid.f90 rams_grid.f90
gfortran -c -Xpreprocessor -DRADM_WRF_FIM -O2 -fconvert=big-endian -frecord-marker=4 -I../../aux_src/utils/include -I/home/ubuntu/Build_WRF/LIBRARIES/netcdf/include -I/home/ubuntu/Build_WRF/LIBRARIES/hdf5/include rams_grid.f90
rams_grid.f90:45:13:
45 | ,grid_g(ifm)%glat (1,1) ,grid_g(ifm)%glon (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘glat’ at (1)
rams_grid.f90:52:13:
52 | ,grid_g(ifm)%dxu (1,1) ,grid_g(ifm)%dxv (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘dxu’ at (1)
rams_grid.f90:62:13:
62 | ,grid_g(ifm)%dxu (1,1) ,grid_g(ifm)%dxv (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘dxu’ at (1)
rams_grid.f90:74:13:
74 | ,grid_g(ifm)%glat(1,1) ,grid_g(ifm)%glon(1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘glat’ at (1)
rams_grid.f90:88:10:
88 | ,grid_g(ifm)%topt (1,1) ,grid_g(ifm)%topu (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘topt’ at (1)
rams_grid.f90:93:10:
93 | ,grid_g(ifm)%topt(1,1) ,grid_g(ifm)%topu(1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘topt’ at (1)
make: *** [depend_prepsrc.mk:197:rams_grid.o] error 1
Does anyone know how to fix it? Please!
This is the error code:
cp -f ../../aux_src/brams/rams_grid.f90 rams_grid.f90
gfortran -c -Xpreprocessor -DRADM_WRF_FIM -O2 -fconvert=big-endian -frecord-marker=4 -I../../aux_src/utils/include -I/home/ubuntu/Build_WRF/LIBRARIES/netcdf/include -I/home/ubuntu/Build_WRF/LIBRARIES/hdf5/include rams_grid.f90
rams_grid.f90:45:13:
45 | ,grid_g(ifm)%glat (1,1) ,grid_g(ifm)%glon (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘glat’ at (1)
rams_grid.f90:52:13:
52 | ,grid_g(ifm)%dxu (1,1) ,grid_g(ifm)%dxv (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘dxu’ at (1)
rams_grid.f90:62:13:
62 | ,grid_g(ifm)%dxu (1,1) ,grid_g(ifm)%dxv (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘dxu’ at (1)
rams_grid.f90:74:13:
74 | ,grid_g(ifm)%glat(1,1) ,grid_g(ifm)%glon(1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘glat’ at (1)
rams_grid.f90:88:10:
88 | ,grid_g(ifm)%topt (1,1) ,grid_g(ifm)%topu (1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘topt’ at (1)
rams_grid.f90:93:10:
93 | ,grid_g(ifm)%topt(1,1) ,grid_g(ifm)%topu(1,1) &
| 1
Error: Element of assumed-shape or pointer array passed to array dummy argument ‘topt’ at (1)
make: *** [depend_prepsrc.mk:197:rams_grid.o] error 1