Hi!
Trying to get ROMS going for the first time
I'm on a CYGWIN machine, trying to build the Upwelling case as suggested. I get a funny naming error, which should be easy to fix, but I can't understand where the extra slash comes from. I'm guessing the file path should be;
/Projects/Upwelling/Build/make_macros.mk and NOT;
/Projects/Upwelling/Build //make_macros.mk, which is what is echoed on my screen...
$ ./build.bash
rm -f -r core *.ipo /Projects/Upwelling/Build //make_macros.mk
/bin/sh: //make_macros.mk: Is a directory
Can't open tmp file at ROMS/Bin/cpp_clean line 30.
makefile:238: INCLUDING FILE //make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cp -f /usr/include/netcdf.mod /Projects/Upwelling/Build
cp -f /usr/include/typesizes.mod /Projects/Upwelling/Build
./ROMS/Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=/Projects/Upwelling/Build -DROMS_HEADER="upwelling.h" -I ROMS/Include -I /Projects/Upwelling -I ROMS/Nonlinear -I ROMS/Nonlinear/Biology -I ROMS/Nonlinear/Sediment -I ROMS/Utility -I ROMS/Drivers -I ROMS/Functionals -I /Projects/Upwelling -I Master -I Compilers --silent --moddir /Projects/Upwelling/Build ROMS/Nonlinear/mpdata_adiff.F ROMS/Nonlinear/vwalk_floats.F ROMS/Nonlinear/pre_step3d.F ROMS/Nonlinear/ini_fields.F ROMS/Nonlinear/wetdry.F ROMS/Nonlinear/v3dbc_im.F ROMS/Nonlinear/obc_adjust.F ROMS/Nonlinear/get_idata.F ROMS/Nonlinear/set_data.F ROMS/Nonlinear/rhs3d.F ROMS/Nonlinear/forcing.F ROMS/Nonlinear/radiation_stress.F ROMS/Nonlinear/t3dmix.F ROMS/Nonlinear/diag.F ROMS/Nonlinear/set_zeta.F ROMS/Nonlinear/rho_eos.F ROMS/Nonlinear/obc_volcons.F ROMS/Nonlinear/nesting.F ROMS/Nonlinear/get_data.F ROMS/Nonlinear/initial.F ROMS/Nonlinear/set_avg.F ROMS/Nonlinear/step3d_uv.F ROMS/Nonlinear/set_tides.F ROMS/Nonlinear/exchange_2d.F ROMS/Nonlinear/bvf_mix.F ROMS/Nonlinear/set_massflux.F ROMS/Nonlinear/omega.F ROMS/Nonlinear/t3dbc_im.F ROMS/Nonlinear/output.F ROMS/Nonlinear/step2d.F ROMS/Nonlinear/u3dbc_im.F ROMS/Nonlinear/hmixing.F ROMS/Nonlinear/main3d.F ROMS/Nonlinear/conv_bry2d.F ROMS/Nonlinear/conv_bry3d.F ROMS/Nonlinear/my25_corstep.F ROMS/Nonlinear/zetabc.F ROMS/Nonlinear/exchange_3d.F ROMS/Nonlinear/bulk_flux.F ROMS/Nonlinear/set_depth.F ROMS/Nonlinear/tkebc_im.F ROMS/Nonlinear/prsgrd.F ROMS/Nonlinear/step_floats.F ROMS/Nonlinear/bbl.F ROMS/Nonlinear/bc_bry3d.F ROMS/Nonlinear/frc_adjust.F ROMS/Nonlinear/lmd_vmix.F ROMS/Nonlinear/v2dbc_im.F ROMS/Nonlinear/u2dbc_im.F ROMS/Nonlinear/bc_bry2d.F ROMS/Nonlinear/conv_2d.F ROMS/Nonlinear/lmd_swfrac.F ROMS/Nonlinear/uv3dmix.F ROMS/Nonlinear/my25_prestep.F ROMS/Nonlinear/lmd_skpp.F ROMS/Nonlinear/wvelocity.F ROMS/Nonlinear/lmd_bkpp.F ROMS/Nonlinear/conv_3d.F ROMS/Nonlinear/bc_2d.F ROMS/Nonlinear/gls_prestep.F ROMS/Nonlinear/main2d.F ROMS/Nonlinear/interp_floats.F ROMS/Nonlinear/step3d_t.F ROMS/Nonlinear/set_vbc.F ROMS/Nonlinear/bc_3d.F ROMS/Nonlinear/gls_corstep.F ROMS/Nonlinear/Biology/biology_floats.F ROMS/Nonlinear/Biology/biology.F ROMS/Nonlinear/Sediment/sed_bed.F ROMS/Nonlinear/Sediment/sed_settling.F ROMS/Nonlinear/Sediment/sed_surface.F ROMS/Nonlinear/Sediment/sed_fluxes.F ROMS/Nonlinear/Sediment/sed_bedload.F ROMS/Nonlinear/Sediment/sediment.F ROMS/Functionals/analytical.F ROMS/Utility/def_diags.F ROMS/Utility/read_fltbiopar.F ROMS/Utility/get_2dfld.F ROMS/Utility/convolve.F ROMS/Utility/nf_fread3d.F ROMS/Utility/wrt_his.F ROMS/Utility/state_addition.F ROMS/Utility/nrutil.F ROMS/Utility/state_initialize.F ROMS/Utility/read_asspar.F ROMS/Utility/def_hessian.F ROMS/Utility/get_3dfld.F ROMS/Utility/inner2state.F ROMS/Utility/read_phypar.F ROMS/Utility/set_contact.F ROMS/Utility/ludcmp.F ROMS/Utility/ini_lanczos.F ROMS/Utility/abort.F ROMS/Utility/def_ini.F ROMS/Utility/obs_read.F ROMS/Utility/read_biopar.F ROMS/Utility/back_cost.F ROMS/Utility/checkadj.F ROMS/Utility/stats_modobs.F ROMS/Utility/get_cycle.F ROMS/Utility/nf_fread4d.F ROMS/Utility/wrt_diags.F ROMS/Utility/nf_fread3d_bry.F ROMS/Utility/lubksb.F ROMS/Utility/wrt_floats.F ROMS/Utility/extract_sta.F ROMS/Utility/wrt_info.F ROMS/Utility/set_weights.F ROMS/Utility/def_lanczos.F ROMS/Utility/regrid.F ROMS/Utility/nf_fwrite3d.F ROMS/Utility/packing.F ROMS/Utility/def_gst.F ROMS/Utility/def_mod.F ROMS/Utility/nf_fwrite3d_bry.F ROMS/Utility/read_sedpar.F ROMS/Utility/read_fltpar.F ROMS/Utility/get_bounds.F ROMS/Utility/wrt_hessian.F ROMS/Utility/wrt_gst.F ROMS/Utility/congrad.F ROMS/Utility/checkdefs.F ROMS/Utility/wpoints.F ROMS/Utility/sqlq.F ROMS/Utility/def_tides.F ROMS/Utility/zeta_balance.F ROMS/Utility/set_3dfld.F ROMS/Utility/normalization.F ROMS/Utility/posterior.F ROMS/Utility/set_2dfldr.F ROMS/Utility/obs_cost.F ROMS/Utility/checkerror.F ROMS/Utility/obs_depth.F ROMS/Utility/nf_fread2d.F ROMS/Utility/set_2dfld.F ROMS/Utility/nf_fread2d_bry.F ROMS/Utility/wrt_station.F ROMS/Utility/get_3dfldr.F ROMS/Utility/distribute.F ROMS/Utility/state_dotprod.F ROMS/Utility/get_ngfld.F ROMS/Utility/rep_matrix.F ROMS/Utility/frc_weak.F ROMS/Utility/vorticity.F ROMS/Utility/cost_grad.F ROMS/Utility/get_nudgcoef.F ROMS/Utility/def_error.F ROMS/Utility/nf_fwrite4d.F ROMS/Utility/mp_exchange.F ROMS/Utility/def_avg.F ROMS/Utility/set_ngfldr.F ROMS/Utility/check_multifile.F ROMS/Utility/timers.F ROMS/Utility/ini_hmixcoef.F ROMS/Utility/gasdev.F ROMS/Utility/ran1.F ROMS/Utility/array_modes.F ROMS/Utility/interpolate.F ROMS/Utility/stiffness.F ROMS/Utility/get_state.F ROMS/Utility/dotproduct.F ROMS/Utility/ntimestep.F ROMS/Utility/shapiro.F ROMS/Utility/close_io.F ROMS/Utility/wrt_ini.F ROMS/Utility/extract_obs.F ROMS/Utility/get_grid.F ROMS/Utility/wrt_tides.F ROMS/Utility/get_2dfldr.F ROMS/Utility/nf_fwrite2d.F ROMS/Utility/nf_fwrite2d_bry.F ROMS/Utility/ini_adjust.F ROMS/Utility/get_ngfldr.F ROMS/Utility/checkvars.F ROMS/Utility/set_masks.F ROMS/Utility/get_varcoords.F ROMS/Utility/def_impulse.F ROMS/Utility/def_dim.F ROMS/Utility/read_stapar.F ROMS/Utility/def_var.F ROMS/Utility/inquire.F ROMS/Utility/wrt_error.F ROMS/Utility/get_date.F ROMS/Utility/wrt_avg.F ROMS/Utility/posterior_var.F ROMS/Utility/def_rst.F ROMS/Utility/white_noise.F ROMS/Utility/def_norm.F ROMS/Utility/mp_routines.F ROMS/Utility/state_copy.F ROMS/Utility/def_info.F ROMS/Utility/lbc.F ROMS/Utility/def_his.F ROMS/Utility/random_ic.F ROMS/Utility/def_floats.F ROMS/Utility/state_product.F ROMS/Utility/cgradient.F ROMS/Utility/state_scale.F ROMS/Utility/erf.F ROMS/Utility/get_gst.F ROMS/Utility/ran_state.F ROMS/Utility/strings.F ROMS/Utility/set_scoord.F ROMS/Utility/sum_grad.F ROMS/Utility/metrics.F ROMS/Utility/uv_rotate.F ROMS/Utility/read_couplepar.F ROMS/Utility/set_3dfldr.F ROMS/Utility/wrt_impulse.F ROMS/Utility/set_diags.F ROMS/Utility/obs_initial.F ROMS/Utility/def_station.F ROMS/Utility/set_ngfld.F ROMS/Utility/inp_par.F ROMS/Utility/grid_coords.F ROMS/Utility/wrt_rst.F ROMS/Utility/obs_write.F ROMS/Modules/mod_coupling.F ROMS/Modules/mod_floats.F ROMS/Modules/mod_clima.F ROMS/Modules/mod_netcdf.F ROMS/Modules/mod_coupler.F ROMS/Modules/mod_param.F ROMS/Modules/mod_iounits.F ROMS/Modules/mod_diags.F ROMS/Modules/mod_biology.F ROMS/Modules/mod_stepping.F ROMS/Modules/mod_kinds.F ROMS/Modules/mod_bbl.F ROMS/Modules/mod_behavior.F ROMS/Modules/mod_eoscoef.F ROMS/Modules/mod_forces.F ROMS/Modules/mod_average.F ROMS/Modules/mod_nesting.F ROMS/Modules/mod_ncparam.F ROMS/Modules/mod_ocean.F ROMS/Modules/mod_parallel.F ROMS/Modules/mod_sediment.F ROMS/Modules/mod_boundary.F ROMS/Modules/mod_grid.F ROMS/Modules/mod_tides.F ROMS/Modules/mod_strings.F ROMS/Modules/mod_eclight.F ROMS/Modules/mod_arrays.F ROMS/Modules/mod_fourdvar.F ROMS/Modules/mod_scalars.F ROMS/Modules/mod_sources.F ROMS/Modules/mod_storage.F ROMS/Modules/mod_sedbed.F ROMS/Modules/mod_mixing.F Master/ocean_control.F Master/esmf_roms.F Master/ocean_coupler.F Master/roms_export.F Master/master.F Master/propagator.F Master/roms_import.F > /Projects/Upwelling/Build/MakeDepend
cp -p //make_macros.mk /Projects/Upwelling/Build
cp: cannot stat `//make_macros.mk': No such file or directory
make: *** No rule to make target '//make_macros.mk'. Stop.
Ten hours later, I'm now giving up searching for threads on this error...
Attaching my build.bash file and file structure;
Sorry for asking such a trivial question...
Best regards!
//Per
Double slash, trying to build Upwelling
Re: Double slash, trying to build Upwelling
In Unix, two slashes are merged into one. The file is then make_macros.mk in the root directory, where you might not have write permission. During the ROMS build, it wants to put this file into your home directory before putting it into the build directory. Do you have $HOME defined? Try defining it to point to somewhere in your user space.
Re: Double slash, trying to build Upwelling
Thanks Kate!
The $HOME variable wasn't set. I also rearranged the file structure to resemble the one suggested in the guide.
Now on to fixing the netcdf problem, which you already have solved for others. I'll check the threads
//Pär
The $HOME variable wasn't set. I also rearranged the file structure to resemble the one suggested in the guide.
Now on to fixing the netcdf problem, which you already have solved for others. I'll check the threads
//Pär