General scientific issues regarding ROMS
Moderators: arango , robertson
redhat007
#1
Unread post
by redhat007 » Sun Sep 07, 2014 9:41 am
Compiling of refined test (Projects/Inlet_test/Refined) has faced with following error:
Code: Select all
analytical.f90:752.18:
ana_sediment.h: no values provided for bed, bed_mass, bottom.
1
Error: 'ana_sediment' at (1) is not a variable
that is because of line 176 of ana_sediment.h. would you please help me to fix it?
2- in refined case :does refined grid needs its own force files, separately from parent grid , or ROMS will refined parent's force files for refined grid,automatically?
For example if parent grid has wind.nc, shflux.nc, swflux.nc and swrad.nc as force files, they will used for refined grid ? Or not, user should define separate force files (wind_nest1.nc, shflux_nest1.nc, swflux_nest1.nc and swrad_nest1.nc) for refined grid? If yes how can define them?is bellow form correct?
Code: Select all
NFFILES == 8 ! number of forcing files
FRCNAME == shflux.nc \
wind.nc \
swflux.nc \
swrad.nc \
shflux_ref1.nc \
wind_ref1.nc \
swflux_ref1.nc \
swrad_ref1.nc
All the best
redhat
jcwarner
Posts: 1188 Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA
#2
Unread post
by jcwarner » Sun Sep 07, 2014 8:46 pm
- Over the past few weeks we have made a lot of updates to coawst including updating to a newer version of roms, wrf 3.6.1. etc. If you could do an update, it will help. The Inlet tests should all be ok now. I just tested refined_grid and it compiled and ran for me.
- for the roms model with refinement: you can use the same forcing files for the parent and child, or you can create different ones for the child since it has higher resolution. You need to list the forcing files for the parent and then for the child. I would suggest that you list them both for parent and child even if they are the same. See the instructions in the input file:
"
Input forcing NetCDF file name(s). The USER has the option to enter
! several file names for each nested grid. For example, the USER may
! have different files for wind products, heat fluxes, tides, etc.
! The model will scan the file list and will read the needed data from
! the first file in the list containing the forcing field. Therefore,
! the order of the file names is very important. If using multiple forcing
! files per grid, first enter all the file names for grid 1, then grid 2,
! and so on. It is also possible to split input data time records into
! several NetCDF files (see prologue instructions above). Use a single line
! per entry with a continuation (\) or vertical bar (|) symbol after each
! entry, except the last one.
"
redhat007
#3
Unread post
by redhat007 » Mon Sep 08, 2014 7:12 am
many thanks for your reply.
1i can solve it by adding #define INLET_TEST to header file
. As you know inlet_test_grid_ref5.nc is 156*86. but why Lm and Mm of refined grid have been set to 150 and 80, respectively?that's while in swan_inlet_test_ref5.in they set to 156 and 86 .? Are inlet_test_grid_coord_ref5.grd and inlet_test_bathy_ref5.bot not created from inlet_test_grid_ref5.nc
it makes me confused that refined test is running with this kind of setup
2-What about for swan's refined grids? is it possible to define different wind files (as a force) for refined and parent grids? For example can user define constant wind speed for one of them while other one has wind.dat as a force file
Cheers
redhat
jcwarner
Posts: 1188 Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA
#4
Unread post
by jcwarner » Mon Sep 08, 2014 6:08 pm
it really sounds like you need to do an update to a more recent version of the code. We have adopted to use a method of grid refinement that is consistent with the grid formulation as used by Rutgers. Also, we just had a coawst training ( i assume you are using coawst) and i sent out an eamiol on how to download all the presentations and view the webex videos. I suggest you sepnd a little time to look at all that information.
-john
fanqing
Posts: 14 Joined: Thu Jan 20, 2005 6:16 pm
Location: North Carolina State University
#5
Unread post
by fanqing » Mon Sep 08, 2014 9:23 pm
Can the latest version of COAWST run a coupled run with WRF moving nest grid?
Thanks.
Fanqi
jcwarner
Posts: 1188 Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA
#6
Unread post
by jcwarner » Tue Sep 09, 2014 1:28 am
no moving wrf grid yet. but working on it.
-j
redhat007
#7
Unread post
by redhat007 » Tue Sep 09, 2014 7:10 am
Dear Warner
thanks for your suggestion. By updating COAWST to revision 905 there were different problems in compiling step
. for example :
Code: Select all
rm -f -r core *.ipo /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build /home/FF/make_macros.mk
makefile:242: INCLUDING FILE /home/FF/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
--flibs: unknown option
cp -f /usr/include/mpich2-i386/netcdf.mod /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build
cp -f /usr/include/mpich2-i386/typesizes.mod /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build
./ROMS/Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build -DROMS_HEADER="inlet_test.h" -I ROMS/Include -I /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -I ROMS/Nonlinear -I ROMS/Nonlinear/Biology -I ROMS/Nonlinear/Sediment -I ROMS/Nonlinear/Wec -I ROMS/Utility -I ROMS/Drivers -I ROMS/Functionals -I /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -I SWAN/Src -I Master -I Compilers --silent --moddir /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build ROMS/Nonlinear/main2d.F ROMS/Nonlinear/bc_2d.F ROMS/Nonlinear/prsgrd.F ROMS/Nonlinear/rho_eos.F ROMS/Nonlinear/conv_3d.F ROMS/Nonlinear/lmd_bkpp.F ROMS/Nonlinear/zetabc.F ROMS/Nonlinear/lmd_skpp.F ROMS/Nonlinear/my25_prestep.F ROMS/Nonlinear/uv3dmix.F ROMS/Nonlinear/set_tides.F ROMS/Nonlinear/conv_2d.F ROMS/Nonlinear/bc_bry2d.F ROMS/Nonlinear/tkebc_im.F ROMS/Nonlinear/u2dbc_im.F ROMS/Nonlinear/v2dbc_im.F ROMS/Nonlinear/lmd_vmix.F ROMS/Nonlinear/frc_adjust.F ROMS/Nonlinear/bc_bry3d.F ROMS/Nonlinear/wvelocity.F ROMS/Nonlinear/bbl.F ROMS/Nonlinear/step_floats.F ROMS/Nonlinear/set_depth.F ROMS/Nonlinear/hmixing.F ROMS/Nonlinear/exchange_3d.F ROMS/Nonlinear/my25_corstep.F ROMS/Nonlinear/atm2ocn_flux.F ROMS/Nonlinear/conv_bry2d.F ROMS/Nonlinear/main3d.F ROMS/Nonlinear/v3dbc_im.F ROMS/Nonlinear/u3dbc_im.F ROMS/Nonlinear/step2d.F ROMS/Nonlinear/output.F ROMS/Nonlinear/t3dbc_im.F ROMS/Nonlinear/pt3dbc_im.F ROMS/Nonlinear/omega.F ROMS/Nonlinear/main3d_offline.F ROMS/Nonlinear/set_massflux.F ROMS/Nonlinear/bvf_mix.F ROMS/Nonlinear/exchange_2d.F ROMS/Nonlinear/step3d_uv.F ROMS/Nonlinear/conv_bry3d.F ROMS/Nonlinear/initial.F ROMS/Nonlinear/get_data.F ROMS/Nonlinear/nesting.F ROMS/Nonlinear/obc_volcons.F ROMS/Nonlinear/ccsm_flux.F ROMS/Nonlinear/interp_floats_diapW.F ROMS/Nonlinear/set_zeta.F ROMS/Nonlinear/diag.F ROMS/Nonlinear/t3dmix.F ROMS/Nonlinear/vwalk_floats.F ROMS/Nonlinear/set_avg.F ROMS/Nonlinear/forcing.F ROMS/Nonlinear/bulk_flux.F ROMS/Nonlinear/set_avg2.F ROMS/Nonlinear/rhs3d.F ROMS/Nonlinear/set_data.F ROMS/Nonlinear/get_idata.F ROMS/Nonlinear/obc_adjust.F ROMS/Nonlinear/pre_step3d.F ROMS/Nonlinear/wetdry.F ROMS/Nonlinear/ini_fields.F ROMS/Nonlinear/mpdata_adiff.F ROMS/Nonlinear/gls_corstep.F ROMS/Nonlinear/bc_3d.F ROMS/Nonlinear/set_vbc.F ROMS/Nonlinear/step3d_t.F ROMS/Nonlinear/interp_floats.F ROMS/Nonlinear/lmd_swfrac.F ROMS/Nonlinear/gls_prestep.F ROMS/Nonlinear/Biology/biology.F ROMS/Nonlinear/Biology/biology_floats.F ROMS/Nonlinear/Sediment/sediment.F ROMS/Nonlinear/Sediment/sed_bedload.F ROMS/Nonlinear/Sediment/sed_biomass.F ROMS/Nonlinear/Sediment/sed_fluxes.F ROMS/Nonlinear/Sediment/sed_surface.F ROMS/Nonlinear/Sediment/sed_settling.F ROMS/Nonlinear/Sediment/sed_biodiff.F ROMS/Nonlinear/Sediment/sed_flocs.F ROMS/Nonlinear/Sediment/sed_bed_cohesive.F ROMS/Nonlinear/Sediment/sed_bed2.F ROMS/Nonlinear/Sediment/sed_bed.F ROMS/Nonlinear/Wec/wec_stokes.F ROMS/Nonlinear/Wec/us2dbc_im.F ROMS/Nonlinear/Wec/wstvelocity.F ROMS/Nonlinear/Wec/wec_roller.F ROMS/Nonlinear/Wec/vs3dbc_im.F ROMS/Nonlinear/Wec/us3dbc_im.F ROMS/Nonlinear/Wec/wec_streaming.F ROMS/Nonlinear/Wec/wec_wave_mix.F ROMS/Nonlinear/Wec/radiation_stress.F ROMS/Nonlinear/Wec/wec_vf.F ROMS/Nonlinear/Wec/wec_dissip.F ROMS/Nonlinear/Wec/vs2dbc_im.F ROMS/Functionals/analytical.F ROMS/Utility/get_3dfldr.F ROMS/Utility/wrt_station.F ROMS/Utility/nf_fread2d_bry.F ROMS/Utility/def_filt.F ROMS/Utility/nf_fread2d.F ROMS/Utility/obs_depth.F ROMS/Utility/checkerror.F ROMS/Utility/obs_cost.F ROMS/Utility/set_2dfldr.F ROMS/Utility/posterior.F ROMS/Utility/normalization.F ROMS/Utility/set_3dfld.F ROMS/Utility/zeta_balance.F ROMS/Utility/get_3dfld.F ROMS/Utility/sqlq.F ROMS/Utility/checkdefs.F ROMS/Utility/congrad.F ROMS/Utility/wrt_gst.F ROMS/Utility/wrt_hessian.F ROMS/Utility/get_2dfld.F ROMS/Utility/read_fltpar.F ROMS/Utility/read_sedpar.F ROMS/Utility/nf_fwrite3d_bry.F ROMS/Utility/def_mod.F ROMS/Utility/def_gst.F ROMS/Utility/packing.F ROMS/Utility/stats_modobs.F ROMS/Utility/def_lanczos.F ROMS/Utility/state_scale.F ROMS/Utility/wrt_info.F ROMS/Utility/extract_sta.F ROMS/Utility/wrt_floats.F ROMS/Utility/get_date.F ROMS/Utility/nf_fread3d_bry.F ROMS/Utility/wrt_diags.F ROMS/Utility/wrt_avg2.F ROMS/Utility/nf_fread4d.F ROMS/Utility/get_cycle.F ROMS/Utility/checkadj.F ROMS/Utility/dotproduct.F ROMS/Utility/read_biopar.F ROMS/Utility/cawdir_eval.F ROMS/Utility/state_product.F ROMS/Utility/obs_read.F ROMS/Utility/abort.F ROMS/Utility/rep_matrix.F ROMS/Utility/ludcmp.F ROMS/Utility/def_avg2.F ROMS/Utility/set_contact.F ROMS/Utility/read_phypar.F ROMS/Utility/inner2state.F ROMS/Utility/mp_exchange.F ROMS/Utility/def_hessian.F ROMS/Utility/read_asspar.F ROMS/Utility/state_initialize.F ROMS/Utility/nrutil.F ROMS/Utility/lubksb.F ROMS/Utility/state_addition.F ROMS/Utility/set_filter.F ROMS/Utility/nf_fread3d.F ROMS/Utility/convolve.F ROMS/Utility/def_tides.F ROMS/Utility/read_fltbiopar.F ROMS/Utility/def_diags.F ROMS/Utility/obs_write.F ROMS/Utility/wrt_rst.F ROMS/Utility/metrics.F ROMS/Utility/inp_par.F ROMS/Utility/set_ngfld.F ROMS/Utility/def_station.F ROMS/Utility/obs_initial.F ROMS/Utility/get_filter.F ROMS/Utility/set_diags.F ROMS/Utility/wrt_impulse.F ROMS/Utility/set_3dfldr.F ROMS/Utility/read_couplepar.F ROMS/Utility/close_io.F ROMS/Utility/uv_rotate.F ROMS/Utility/white_noise.F ROMS/Utility/grid_coords.F ROMS/Utility/sum_grad.F ROMS/Utility/get_2dfldr.F ROMS/Utility/strings.F ROMS/Utility/read_icepar.F ROMS/Utility/get_gst.F ROMS/Utility/set_weights.F ROMS/Utility/erf.F ROMS/Utility/wrt_his.F ROMS/Utility/cgradient.F ROMS/Utility/state_copy.F ROMS/Utility/set_ngfldr.F ROMS/Utility/set_2dfld.F ROMS/Utility/def_his.F ROMS/Utility/lbc.F ROMS/Utility/def_info.F ROMS/Utility/def_floats.F ROMS/Utility/mp_routines.F ROMS/Utility/def_norm.F ROMS/Utility/ini_lanczos.F ROMS/Utility/random_ic.F ROMS/Utility/def_rst.F ROMS/Utility/posterior_var.F ROMS/Utility/wrt_avg.F ROMS/Utility/wpoints.F ROMS/Utility/get_nudgcoef.F ROMS/Utility/wrt_error.F ROMS/Utility/inquire.F ROMS/Utility/def_var.F ROMS/Utility/read_stapar.F ROMS/Utility/def_dim.F ROMS/Utility/def_impulse.F ROMS/Utility/regrid.F ROMS/Utility/set_masks.F ROMS/Utility/checkvars.F ROMS/Utility/get_ngfldr.F ROMS/Utility/ini_adjust.F ROMS/Utility/ran_state.F ROMS/Utility/nf_fwrite2d_bry.F ROMS/Utility/set_scoord.F ROMS/Utility/nf_fwrite2d.F ROMS/Utility/get_bounds.F ROMS/Utility/wrt_tides.F ROMS/Utility/get_grid.F ROMS/Utility/extract_obs.F ROMS/Utility/wrt_ini.F ROMS/Utility/frc_weak.F ROMS/Utility/shapiro.F ROMS/Utility/def_his2.F ROMS/Utility/get_varcoords.F ROMS/Utility/get_state.F ROMS/Utility/stiffness.F ROMS/Utility/interpolate.F ROMS/Utility/array_modes.F ROMS/Utility/ran1.F ROMS/Utility/gasdev.F ROMS/Utility/ini_hmixcoef.F ROMS/Utility/timers.F ROMS/Utility/check_multifile.F ROMS/Utility/def_ini.F ROMS/Utility/def_avg.F ROMS/Utility/ntimestep.F ROMS/Utility/nf_fwrite4d.F ROMS/Utility/wrt_filt.F ROMS/Utility/def_error.F ROMS/Utility/back_cost.F ROMS/Utility/cost_grad.F ROMS/Utility/vorticity.F ROMS/Utility/nf_fwrite3d.F ROMS/Utility/get_ngfld.F ROMS/Utility/state_dotprod.F ROMS/Utility/distribute.F ROMS/Utility/wrt_his2.F ROMS/Modules/mod_mixing.F ROMS/Modules/mod_sedbed.F ROMS/Modules/mod_storage.F ROMS/Modules/mod_sources.F ROMS/Modules/mod_scalars.F ROMS/Modules/mod_trc_sources.F ROMS/Modules/mod_fourdvar.F ROMS/Modules/mod_tides.F ROMS/Modules/mod_sedflocs.F ROMS/Modules/mod_arrays.F ROMS/Modules/mod_eclight.F ROMS/Modules/mod_strings.F ROMS/Modules/mod_sediment.F ROMS/Modules/mod_grid.F ROMS/Modules/mod_boundary.F ROMS/Modules/mod_average2.F ROMS/Modules/mod_ice.F ROMS/Modules/mod_parallel.F ROMS/Modules/mod_ocean.F ROMS/Modules/mod_forces.F ROMS/Modules/mod_ncparam.F ROMS/Modules/mod_nesting.F ROMS/Modules/mod_average.F ROMS/Modules/mod_filter.F ROMS/Modules/mod_eoscoef.F ROMS/Modules/mod_behavior.F ROMS/Modules/mod_bbl.F ROMS/Modules/mod_kinds.F ROMS/Modules/mod_stepping.F ROMS/Modules/mod_biology.F ROMS/Modules/mod_diags.F ROMS/Modules/mod_iounits.F ROMS/Modules/mod_param.F ROMS/Modules/mod_coupler.F ROMS/Modules/mod_netcdf.F ROMS/Modules/mod_clima.F ROMS/Modules/mod_floats.F ROMS/Modules/mod_coupling.F SWAN/Src/SwanComputeForce.F SWAN/Src/m_constants.F SWAN/Src/swanpre3.F SWAN/Src/SwanInterpolateAc.F SWAN/Src/SwanPropvelS.F SWAN/Src/SwanSumOverNodes.F SWAN/Src/SwanCrossObstacle.F SWAN/Src/SwanFindObstacles.F SWAN/Src/swanparll.F SWAN/Src/ocpmix.F SWAN/Src/SwanVertlist.F SWAN/Src/swn_outnc.F SWAN/Src/swanser.F SWAN/Src/agioncmd.F SWAN/Src/waves_control.F SWAN/Src/SwanInitCompGrid.F SWAN/Src/SwanMaxOverNodes.F SWAN/Src/SwanGSECorr.F SWAN/Src/swancom4.F SWAN/Src/SwanCompUnstruc.F SWAN/Src/mod_xnl4v5.F SWAN/Src/swancom5.F SWAN/Src/SwanBpntlist.F SWAN/Src/SwanConvAccur.F SWAN/Src/swmod2.F SWAN/Src/SwanGridCell.F SWAN/Src/SwanDiffPar.F SWAN/Src/swanpre1.F SWAN/Src/swancom2.F SWAN/Src/SwanPunCollect.F SWAN/Src/ocpids.F SWAN/Src/swanout1.F SWAN/Src/SwanPointinMesh.F SWAN/Src/SwanInterpolatePoint.F SWAN/Src/swan_iounits.F SWAN/Src/swanhcat.F SWAN/Src/SwanCreateEdges.F SWAN/Src/SwanGridTopology.F SWAN/Src/SwanThreadBounds.F SWAN/Src/swancom1.F SWAN/Src/SwanGridVert.F SWAN/Src/SwanReadGrid.F SWAN/Src/swanpre2.F SWAN/Src/swanout2.F SWAN/Src/HottifySWAN.F SWAN/Src/SwanTranspX.F SWAN/Src/SwanReadADCGrid.F SWAN/Src/SwanGriddata.F SWAN/Src/nctablemd.F SWAN/Src/SwanPropvelX.F SWAN/Src/mod_swan_kinds.F SWAN/Src/ocpcre.F SWAN/Src/SwanIntgratSpc.F SWAN/Src/SwanGridobjects.F SWAN/Src/SwanReadTriangleGrid.F SWAN/Src/SwanTranspAc.F SWAN/Src/serv_xnl4v5.F SWAN/Src/SwanDispParm.F SWAN/Src/swanmain.F SWAN/Src/SwanGridFace.F SWAN/Src/swancom3.F SWAN/Src/SwanReadEasymeshGrid.F SWAN/Src/m_fileio.F SWAN/Src/SwanReadfort18.F SWAN/Src/swpoint.F SWAN/Src/waves_coupler.F SWAN/Src/SwanCheckGrid.F SWAN/Src/couple2adcirc.F SWAN/Src/SwanInterpolateOutput.F
SWAN/Src/SwanConvStopc.F SWAN/Src/SwanPrepComp.F SWAN/Src/SwanPrintGridInfo.F SWAN/Src/SwanSweepSel.F SWAN/Src/SwanMinOverNodes.F SWAN/Src/SwanFindPoint.F SWAN/Src/SwanBndStruc.F SWAN/Src/swmod1.F SWAN/Src/SwanCompdata.F Master/roms_import.F Master/get_sparse_matrix.F Master/master.F Master/roms_export.F Master/propagator.F Master/get_numswan_grids.F Master/mct_coupler_utils.F Master/mct_coupler_params.F Master/read_model_inputs.F Master/ocean_coupler.F Master/read_coawst_par.F Master/mod_coupler_iounits.F Master/mod_coupler_kinds.F Master/esmf_roms.F Master/ocean_control.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/MakeDepend
cp -p /home/FF/make_macros.mk /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build
makefile:238: INCLUDING FILE /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
--flibs: unknown option
make: Nothing to be done for `wrfclean'.
makefile:238: INCLUDING FILE /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
--flibs: unknown option
make: Nothing to be done for `wrf'.
makefile:238: INCLUDING FILE /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
--flibs: unknown option
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Nonlinear/main2d.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/main2d.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/main2d.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Nonlinear/bulk_flux.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/bulk_flux.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/bulk_flux.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Nonlinear/exchange_2d.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/exchange_2d.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/exchange_2d.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_param.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_param.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_param.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_kinds.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_kinds.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_kinds.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_kinds.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_param.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_scalars.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_scalars.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_scalars.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_scalars.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include exchange_2d.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_coupling.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_coupling.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_coupling.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_coupling.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_forces.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_forces.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_forces.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_biology.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_biology.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_biology.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_biology.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_forces.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_grid.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_grid.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_grid.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_grid.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_ice.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_ice.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_ice.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_ice.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_mixing.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_mixing.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_mixing.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_mixing.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_ocean.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_ocean.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_ocean.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_ocean.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_stepping.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_stepping.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_stepping.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_stepping.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Utility/mp_exchange.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mp_exchange.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mp_exchange.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_iounits.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_iounits.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_iounits.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_iounits.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' ROMS/Modules/mod_parallel.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_parallel.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_parallel.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DI686 -DGFORTRAN -D'ROOT_DIR="/home/FF/CA_project/COAWST"' -Dinlet_test -D'HEADER="inlet_test.h"' -D'ROMS_HEADER="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/inlet_test.h"' -D'ANALYTICAL_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="905M"' -IROMS/Include -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Nonlinear/Wec -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa -ISWAN/Src -IMaster -ICompilers -D'HEADER_DIR="/home/FF/CA_project/COAWST_791/CS_project/Refine/aaa"' -DMY_OS='"Linux"' -DMY_CPU='"i686"' -DMY_FORT='"gfortran"' -DMY_FC='"/usr/bin/gfortran"' -DMY_FFLAGS='"-frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include -ffree-form -ffree-line-length-none"' ROMS/Modules/mod_strings.F > /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_strings.f90
ROMS/Bin/cpp_clean /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build/mod_strings.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include -ffree-form -ffree-line-length-none mod_strings.f90
cd /home/FF/CA_project/COAWST_791/CS_project/Refine/aaa/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/parallel/mct2_install/include -I/usr/include mod_parallel.f90
mod_parallel.f90:17: Error: Can't open included file 'mpif.h'
that is while in old version i did not face with those errors.
It seems that this new version needs other fortran libraries as weel as mpif.h
Would you please help me to correct those errors (i am using GUN compiler)
thanks
jcwarner
Posts: 1188 Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA
#8
Unread post
by jcwarner » Tue Sep 09, 2014 2:46 pm
Looks like the error is
Error: Can't open included file 'mpif.h'
Is this in your path? Do you use MPIF90=on ?
not sure how your system is set up. But have you compiled roms with mpi before?
this should be the same as before. IT is using Compilers/Linux-gfortran.mk and your settings in coawst.bash to configure the build. can you check these against any other orms builds using mpi? there really should not be much different.
-john
kate
Posts: 4090 Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA
#9
Unread post
by kate » Tue Sep 09, 2014 3:47 pm
Yes, try:
Also, this will likely cause trouble in the linking:
It is probably coming from "nc-config --flibs". What does that give you and what does "nf-config --flibs" give you?
redhat007
#10
Unread post
by redhat007 » Sat Sep 13, 2014 8:37 am
Dear
my first problem has been solved
but, not second one.
Code: Select all
cd /home/FF/program_install/COAWST/my_test/Refined/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ftree-vectorize -ftree-loop-linear -funroll-loops -w -ffree-form -ffree-line-length-none -fconvert=big-endian -frecord-marker=4 -I/home/FF/program_install/mct/include -I/usr/include mod_parallel.f90
mod_parallel.f90:17: Error: Can't open included file 'mpif.h'
my system is Ubuntu with GNU compiler (version 4.6.3) and mpif90 compile. there are mpif.h and mpi.mod in
/home/FF/program_install/mpich-3.0.4/include subdirectory.but it seems that COAWST is searching it in /usr/include
Is this in your path?
coawst.bash just want bin subdirectory of mpich. but I can not find how and where can set its INCLUDE directory, to solve this error?
Would you please help me
P.S
I have set coawst.bash as:
USE_MPI=on , USE_MPIF90= on ,which_MPI=mpich2, FORT=gfortran, USE_MY_LIBS=on and
#export COMPILERS=${MY_ROMS_SRC}/Compilers
and in system environment (~/.bashrc) have been set :
PATH=$PATH:/home/FF/program_install/mpich-3.0.4/bin; export PATH
also i have changed mpif90 (which is in /home/user/program_install/mpich-3.0.4/bin) as:
includedir=/home/FF/program_install/mpich-3.0.4/include but it can not solve problem.
kate
Posts: 4090 Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA
#11
Unread post
by kate » Sun Sep 14, 2014 12:45 am
What is supposed to happen when you turn on USE_MPIF90 is that the build system will invoke "mpif90" instead of "gfortran". This happens in the Compilers/Linux-gfortran.mk file.
USE_MPIF90= on
Did you leave a space here? Please take it out - the shell is particular about this even if make isn't.
redhat007
#12
Unread post
by redhat007 » Mon Sep 15, 2014 7:08 am
Dear Kate and Warner
first of all thanks for your reply. After some changes, compiling faced with linking problem (netcdf_MOD_nf90). Changing
LIBS := $(shell $(NC_CONFIG) –flibs)
to
LIBS := -L$(NETCDF_LIBDIR) -lnetcdf -lnetcdff
in linux.gfortran.mk file (after activing
Code: Select all
export COMPILERS=${MY_ROMS_SRC}/Compilers
in coawst.bash) can solve linking errors and I get COASWTG finally
redhat007
#13
Unread post
by redhat007 » Tue Sep 23, 2014 10:33 am
dear
by changing system to linux-fedora, COAWST new version's compiling gives following errors
:
Code: Select all
/usr/lib/mpich2/lib/libnetcdf.so: undefined reference to `H5Pset_fapl_mpiposix'
/usr/lib/mpich2/lib/libnetcdf.so: undefined reference to `H5Pset_dxpl_mpio'
/usr/lib/mpich2/lib/libnetcdf.so: undefined reference to `H5Pset_fapl_mpio'
collect2: ld returned 1 exit status
i have changed
Code: Select all
LIBS := $(shell $(NC_CONFIG) –flibs)
to
LIBS := -L$(NETCDF_LIBDIR) -lnetcdf -lnetcdff
in linux_gfortran.mk, too.
and have
#export USE_PARALLEL_IO=on # Parallel I/O with Netcdf-4/HDF5
would you please tell me what cause this error.and how can fix it.
kate
Posts: 4090 Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA
#14
Unread post
by kate » Tue Sep 23, 2014 3:55 pm
It is failing to find the HDF5 library. Did you build Netcdf4 telling where the HDF5 library is? You can check:
$ nc-config --has-hdf5
yes
The point of nc-config --flibs is that it should list everything needed in the link:
pacman3 201% nc-config --flibs
-L/usr/local/pkg/netcdf/netcdf-4.3.0.gnu-4.7.3/lib -lnetcdff -L/usr/local/pkg/hdf5/hdf5-1.8.10-p1.gnu-4.7.3/lib -L/usr/local/pkg/szip/szip-2.1.gnu/lib -L/usr/local/pkg/udunits/udunits-2.1.24.gnu-4.7.3/lib -L/usr/local/pkg/netcdf/netcdf-4.3.0.gnu-4.7.3/lib -lnetcdf -lnetcdf
redhat007
#15
Unread post
by redhat007 » Wed Oct 01, 2014 12:26 pm
i have created parent and child's initial files, separately.
Code: Select all
ININAE= CS_initial_p.nc\
CS_initial_c.nc
you can use the same forcing files for the parent and child
i have copied same forcing files for parent and child
Code: Select all
NFFILES=4
FRCNAE== shflux.nc\ !for parent grid
swaflux.nc\ !for parent grid
swrad.nc \ !for parent grid
river.nc \ !for parent grid
shflux_p.nc\ !for child grid
swaflux_p.nc\ !for child grid
swrad_p.nc \ !for child grid
river.nc !for child grid
but about the river file which its cells are in parent domain (not in child grid), is it correct that copied it for child grid, too? because if i do not copied river file at the end (as a child force file) model gives error: