Main menu

Navigation

rebuild failed after making changes to physpkg.F90

1 post / 0 new
baisy@...
rebuild failed after making changes to physpkg.F90

Hi everyone,

I'm running an F_AMIP_CAM5 case with modified source code.

I put the modified files: cam_diagnostics.F90, physics_types.F90, physpkg.F90, into src.cam, and cleaned the build. But when i rebuilt the case, it showed that cam.buildexe.csh failed. The following is the detailed bldlog file.

The thing is the errored lines showed below are exactly the same as its orignal ones, and are not changed at all. 

***************************************

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2581): error #6236: A specification statement cannot appear in the executable section.

  use perf_mod

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2583): error #6236: A specification statement cannot appear in the executable section.

  use prescribed_ozone,    only: prescribed_ozone_adv

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2584): error #6236: A specification statement cannot appear in the executable section.

  use prescribed_ghg,      only: prescribed_ghg_adv

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2585): error #6236: A specification statement cannot appear in the executable section.

  use prescribed_aero,     only: prescribed_aero_adv

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2586): error #6236: A specification statement cannot appear in the executable section.

  use aerodep_flx,         only: aerodep_flx_adv

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2587): error #6236: A specification statement cannot appear in the executable section.

  use aircraft_emit,       only: aircraft_emit_adv

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2588): error #6236: A specification statement cannot appear in the executable section.

  use prescribed_volcaero, only: prescribed_volcaero_adv

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2591): error #6236: A specification statement cannot appear in the executable section.

  implicit none

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2593): error #6236: A specification statement cannot appear in the executable section.

  type(physics_state), intent(inout), dimension(begchunk:endchunk) :: phys_state

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2594): error #6236: A specification statement cannot appear in the executable section.

  type(cam_out_t),     intent(inout), dimension(begchunk:endchunk) :: cam_out

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2596): error #6236: A specification statement cannot appear in the executable section.

  type(physics_buffer_desc), pointer                 :: pbuf2d(:,:)

--^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(78): error #6404: This name does not have a type, and must have an explicit type.   [PHYS_FINAL]

  public phys_final  ! Public finalization method

---------^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2620): error #6404: This name does not have a type, and must have an explicit type.   [CAM3_AERO_DATA_ON]

  if (cam3_aero_data_on) call cam3_aero_data_timestep_init(pbuf2d,  phys_state)

------^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2620): error #6341: A logical data type is required in this context.   [CAM3_AERO_DATA_ON]

  if (cam3_aero_data_on) call cam3_aero_data_timestep_init(pbuf2d,  phys_state)

------^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2623): error #6404: This name does not have a type, and must have an explicit type.   [CAM3_OZONE_DATA_ON]

  if (cam3_ozone_data_on) call cam3_ozone_data_timestep_init(pbuf2d,  phys_state)

------^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2623): error #6341: A logical data type is required in this context.   [CAM3_OZONE_DATA_ON]

  if (cam3_ozone_data_on) call cam3_ozone_data_timestep_init(pbuf2d,  phys_state)

------^

/general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90(2655): error #6785: This name does not match the unit name.   [PHYS_TIMESTEP_INIT]

end subroutine phys_timestep_init

---------------^

compilation aborted for /general/home/baisy/Amazon_1850PDC5_src/SourceMods/src.cam/physpkg.F90 (code 1)

gmake: *** [physpkg.o] Error 1

gmake: *** Waiting for unfinished jobs....

**********************************

i'd appreciate it if you have any idea abut what the error may be and what i should do with it.

 

Thanks,

Qiu

 

Who's new

  • rory
  • dangcheng111@...
  • yuxisuo2020@...
  • bryn.ronalds@...
  • brookeadams@...