i am running build.bash and i have following error
cd /home/mahesh/ROMS/src/Projects/medi8/Build; /usr/bin/mpif90 -c -frepack-arrays -O3 -ffast-math get_data.f90
get_data.f90:114.41:
& FORCES(ng) % lrflxG(LBi,LBj,1))
1
Error: 'lrflxg' at (1) is not a member of the 't_forces' structure
make: *** [/home/mahesh/ROMS/src/Projects/medi8/Build/get_data.o] Error 1
make: *** Waiting for unfinished jobs....
can anybody help.
thanks & regards
Mahesh
build.bash error
Re: build.bash error
This is detective work. The variable is defined in mod_forces.F, but is protected by:
Then, in get_data.F, we have:
I assume you have BULK_FLUXES and LONGWAVE and LONGWAVE_OUT. According to cppdefs.h, this combination does not make sense:
Code: Select all
# ifdef BULK_FLUXES
# ifndef LONGWAVE
real(r8), pointer :: lrflxG(:,:,:)
# endif
# endif
Code: Select all
# if defined BULK_FLUXES && !defined LONGWAVE && !defined LONGWAVE_OUT
! Surface net longwave radiation.
... & FORCES(ng) % lrflxG(LBi,LBj,1))
# endif
# if defined BULK_FLUXES && defined LONGWAVE_OUT
! Surface downwelling longwave radiation.
... & FORCES(ng) % lrflxG(LBi,LBj,1))
# endif
Code: Select all
** There are three ways to provide longwave radiation in the atmospheric **
** boundary layer: (1) Compute the net longwave radiation internally using **
** the Berliand (1952) equation (LONGWAVE) as function of air temperature, **
** sea surface temperature, relative humidity, and cloud fraction; **
** (2) provide (read) longwave downwelling radiation only and then add **
** outgoing longwave radiation (LONGWAVE_OUT) as a function of the model **
** sea surface temperature; (3) provide net longwave radiation (default). **
** LONGWAVE use if computing net longwave radiation **
** LONGWAVE_OUT use if computing ougoing longwave radiation **
-
- Posts: 135
- Joined: Mon Jun 22, 2009 3:46 pm
- Location: Indian Institute of Tropical Meteorology, Pune, INDIA
Re: build.bash error
Thank you Kate !
It works...
Mahesh
It works...
Mahesh