Dear all,
I am receiving this error when compiling prep_chem_src 1.5 or 1.8 beta:
-----
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/dragofs/sw/restricted/0.2/software/netCDF/4.8.1-gompi-2021b/include
-I/dragofs/sw/restricted/0.2/software/HDF5/1.12.1-gompi-2021b/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:144: rams_grid.o] Error 1
-----
I attach the configuration files of WRF and prep_chem_src in case you can see the problem that causes this error.
Thank you in advance.
Kind regards,
Javier
I am receiving this error when compiling prep_chem_src 1.5 or 1.8 beta:
-----
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/dragofs/sw/restricted/0.2/software/netCDF/4.8.1-gompi-2021b/include
-I/dragofs/sw/restricted/0.2/software/HDF5/1.12.1-gompi-2021b/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:144: rams_grid.o] Error 1
-----
I attach the configuration files of WRF and prep_chem_src in case you can see the problem that causes this error.
Thank you in advance.
Kind regards,
Javier