[MITgcm-support] Problem with Tutorial_Global_Ocean_Optim compilation

Abhisek Chakraborty abhisek.sac at gmail.com
Wed Jun 20 12:31:25 EDT 2012


Dear All,

I am trying to run the "tutorial_global_ocean_optim" example. However,
I am facing a compilation problem. I am using
"-adof=.....code_ad/ad_optfile.local"  (MITgcm_63m) and I am running
it on 32-bit Linux with ifort12. The compilation error is as given
below:
...............................................................
cat active_file_control.flowdir active_file_control_slice.flowdir
active_file.flowdir active_file_loc_control.flowdir
active_file_loc_control_slice.flowdir active_file_loc.flowdir
autodiff_inadmode.flowdir autodiff_whtapeio_sync.flowdir cg2d.flowdir
checkpoint.flowdir damp_adj.flowdir diags.flowdir
dummy_in_dynamics.flowdir dummy_in_stepping.flowdir
global_max_ad.flowdir global_sum_ad.flowdir initialisation.flowdir
model_ad.flowdir myactivefunction.flowdir zero_adj.flowdir
cd_code_ad.flowdir ctrl_bound.flowdir debug_ad.flowdir
gmredi_ad.flowdir mdsio_ad.flowdir monitor_ad.flowdir rw_ad.flowdir
eesupp.flowdir exch1_ad.flowdir cost_temp.f cost_hflux.f
autodiff_store.f autodiff_restore.f cd_code_scheme.f
cd_code_ini_vars.f cost_accumulate_mean.f cost_final.f
cost_init_varia.f cost_tile.f cost_test.f cost_tracer.f
cost_atlantic_heat.f cost_vector.f cost_state_final.f ctrl_depth_ini.f
ctrl_get_gen.f ctrl_get_gen_rec.f ctrl_init_variables.f ctrl_map_ini.f
ctrl_map_ini_ecco.f ctrl_map_ini_gen.f ctrl_map_forcing.f
ctrl_smooth.f ctrl_getobcse.f ctrl_getobcsn.f ctrl_getobcss.f
ctrl_getobcsw.f ctrl_init_obcs_variables.f ctrl_getrec.f
gad_advection.f gad_biharm_x.f gad_biharm_y.f gad_c2_adv_r.f
gad_c2_impl_r.f gad_c2_adv_x.f gad_c2_adv_y.f gad_c4_adv_r.f
gad_c4_adv_x.f gad_c4_adv_y.f gad_calc_rhs.f gad_del2.f gad_diff_r.f
gad_diff_x.f gad_diff_y.f gad_dst2u1_adv_r.f gad_dst2u1_impl_r.f
gad_dst2u1_adv_x.f gad_dst2u1_adv_y.f gad_dst3_adv_x.f
gad_dst3_adv_y.f gad_dst3_adv_r.f gad_dst3fl_adv_x.f
gad_dst3fl_adv_y.f gad_dst3fl_adv_r.f gad_dst3fl_impl_r.f
gad_fluxlimit_adv_r.f gad_fluxlimit_impl_r.f gad_fluxlimit_adv_x.f
gad_fluxlimit_adv_y.f gad_grad_x.f gad_grad_y.f gad_implicit_r.f
gad_init_varia.f gad_os7mp_adv_x.f gad_os7mp_adv_y.f gad_os7mp_adv_r.f
gad_u3_adv_r.f gad_u3c4_impl_r.f gad_u3_adv_x.f gad_u3_adv_y.f
gad_som_exchanges.f gmredi_calc_diff.f gmredi_calc_psi_b.f
gmredi_calc_tensor.f gmredi_calc_uvflow.f gmredi_calc_wflow.f
gmredi_do_exch.f gmredi_init_varia.f gmredi_rtransport.f
gmredi_slope_limit.f gmredi_slope_psi.f gmredi_xtransport.f
gmredi_ytransport.f mom_calc_absvort3.f mom_calc_hdiv.f
mom_calc_hfacz.f mom_calc_ke.f mom_calc_relvort3.f mom_calc_strain.f
mom_calc_tension.f mom_calc_visc.f mom_hdissip.f
mom_quasihydrostatic.f mom_u_coriolis_nh.f mom_u_metric_nh.f
mom_u_bottomdrag.f mom_u_rviscflux.f mom_u_sidedrag.f
mom_v_coriolis_nh.f mom_v_metric_nh.f mom_v_bottomdrag.f
mom_v_rviscflux.f mom_v_sidedrag.f mom_calc_rtrans.f mom_fluxform.f
mom_u_adv_uu.f mom_u_adv_vu.f mom_u_adv_wu.f mom_u_coriolis.f
mom_u_del2u.f mom_u_metric_cylinder.f mom_u_metric_sphere.f
mom_u_xviscflux.f mom_u_yviscflux.f mom_v_adv_uv.f mom_v_adv_vv.f
mom_v_adv_wv.f mom_v_coriolis.f mom_v_del2v.f mom_v_metric_cylinder.f
mom_v_metric_sphere.f mom_v_xviscflux.f mom_v_yviscflux.f mom_vecinv.f
mom_vi_coriolis.f mom_vi_del2uv.f mom_vi_hdissip.f mom_vi_u_coriolis.f
mom_vi_u_coriolis_c4.f mom_vi_u_grad_ke.f mom_vi_u_vertshear.f
mom_vi_v_coriolis.f mom_vi_v_coriolis_c4.f mom_vi_v_grad_ke.f
mom_vi_v_vertshear.f read_fld_xyz_rs.f read_fld_xyz_rl.f
read_fld_xy_rs.f read_fld_xy_rl.f read_rec.f timeave_cumul_1k1t.f
timeave_cumul_1t.f timeave_cumul_1vfc.f timeave_cumul_2v.f
timeave_cumul_2vfc.f timeave_cumulate.f timeave_cumul_dif_1t.f
timeave_norma_2v.f timeave_normaliz.f timeave_normalize.f
timeave_reset.f timeave_statvars.f timeave_statv_write.f
timeave_surf_flux.f different_multiple.f fill_cs_corner_tr_rl.f
fill_cs_corner_uv_rs.f get_periodic_interval.f lef_zero.f exch_3d_rs.f
exch_3d_rl.f exch_xy_rl.f exch_xy_rs.f exch_xyz_rl.f exch_xyz_rs.f
exch_uv_3d_rs.f exch_uv_3d_rl.f exch_uv_xy_rs.f exch_uv_xy_rl.f
exch_uv_xyz_rs.f exch_uv_xyz_rl.f exch_uv_agrid_3d_rs.f
exch_uv_agrid_3d_rl.f exch_uv_dgrid_3d_rs.f exch_uv_dgrid_3d_rl.f
adams_bashforth2.f adams_bashforth3.f calc_3d_diffusivity.f
calc_buoyancy.f calc_common_factors.f calc_diffusivity.f
calc_div_ghat.f calc_grad_phi_hyd.f calc_grad_phi_surf.f calc_gs.f
calc_gt.f calc_ivdc.f calc_phi_hyd.f calc_r_star.f calc_surf_dr.f
calc_viscosity.f calc_wsurf_tr.f cg2d_nsa.f convective_adjustment.f
convective_adjustment_ini.f convective_weights.f
convectively_mixtracer.f correction_step.f cycle_tracer.f
diags_phi_hyd.f diags_phi_rlow.f diags_rho.f do_atmospheric_phys.f
do_fields_blocking_exchanges.f do_oceanic_phys.f
do_stagger_fields_exchanges.f dynamics.f external_fields_load.f
external_forcing.f external_forcing_surf.f find_alpha.f find_rho.f
forward_step.f freesurf_rescale_g.f freeze.f freeze_surface.f
grad_sigma.f impldiff.f ini_autodiff.f ini_cartesian_grid.f ini_cg2d.f
ini_cori.f ini_curvilinear_grid.f ini_cylinder_grid.f ini_depths.f
ini_fields.f ini_forcing.f ini_grid.f ini_hfac.f ini_linear_phisurf.f
ini_masks_etc.f ini_mixing.f ini_nh_fields.f ini_nlfs_vars.f
ini_p_ground.f ini_pressure.f ini_psurf.f ini_salt.f ini_sigma_hfac.f
ini_spherical_polar_grid.f ini_theta.f ini_dynvars.f ini_vel.f
ini_vertical_grid.f initialise_varia.f integrate_for_w.f
integr_continuity.f load_fields_driver.f load_grid_spacing.f
momentum_correction_step.f packages_init_variables.f
pressure_for_eos.f read_pickup.f remove_mean.f rotate_uv2en.f
seawater.f solve_for_pressure.f state_summary.f solve_pentadiagonal.f
solve_tridiagonal.f taueddy_external_forcing.f taueddy_init_varia.f
timestep.f the_main_loop.f thermodynamics.f timestep_tracer.f
tracers_correction_step.f update_cg2d.f update_etah.f update_etaws.f
update_masks_etc.f update_r_star.f update_surf_dr.f swfrac.f | sed -f
/home/abhisek/MITgcm/tools/remove_comments_sed > ad_input_code.f
staf -v1 -reverse -admark ad -i4 -r4 -l taf_ad.log -toplevel
'the_main_loop' -input 'xx_theta_dummy xx_salt_dummy xx_hflux_dummy
xx_sflux_dummy xx_tauu_dummy xx_tauv_dummy xx_atemp_dummy xx_aqh_dummy
xx_uwind_dummy xx_vwind_dummy xx_diffkr_dummy xx_kapgm_dummy
xx_efluxp_dummy xx_hfluxm_dummy' -output 'fc'  ad_input_code.f
make: staf: Command not found
make: *** [ad_taf_output.f] Error 127


Can anyone please guide me to overcome this? (The command "staf" is
unknown to me. Most probably it is Adjoint compiler. Where to get it
and how to install it?)

Thanking in advance,

Abhisek



More information about the MITgcm-support mailing list