Roms installation Steps

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Roms installation Steps

#1 Unread post by machaielder »

Dear users

I have just downloaded the roms packages and install matlab R2012a to run it;
Sorry, i am new on this.

Can anyone explain me carefully the steps i have to follow to have roms running in may linux.

Thank you in advance
Helder

rtopper
Posts: 24
Joined: Fri Jul 04, 2014 2:32 pm
Location: MARUM, University of Bremen

Re: Roms installation Steps

#2 Unread post by rtopper »

Have you already checked the ROMS manual?
http://www.people.arsc.edu/~kate/ROMS/manual_2012.pdf

And the ROMS Wiki? For example the 'Getting started' section
https://www.myroms.org/wiki/index.php/Getting_Started

... and the 'Tutorials' section
https://www.myroms.org/wiki/index.php/Tutorials

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#3 Unread post by machaielder »

Many thanks for the reply
i am following the tutorial from https://www.myroms.org/wiki/index.php/ROMS_UNSW2008
and i am getting the followin error.

Can you please help me to understand the error....
Thank you in advance


dell@dell-Inspiron-N5110:~/Projects/upwelling$ ./build.bash
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.

dell@dell-Inspiron-N5110:~/Projects/upwelling$ ./build.bash -j 8
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
dell@dell-Inspiron-N5110:~/Projects/upwelling$

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#4 Unread post by kate »

The directory MY_ROMS_SRC is expected to have the makefile in it:

Code: Select all

export       MY_ROMS_SRC=${MY_ROOT_DIR}/trunk
....
cd ${MY_ROMS_SRC}
...
make
What is the name of the directory where your ROMS source is? Did you set MY_ROMS_SRC and/or MY_ROOT_DIR accordingly?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#5 Unread post by machaielder »

thank you for the help
I put make but nothing changed..any hint?

make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
dell@dell-Inspiron-N5110:~/Projects/upwelling$

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#6 Unread post by machaielder »

Hello Kate
perhaps this can help you to understand my problem.
I made the followinf changes in build.bash

export MY_ROOT_DIR=/home/dell/src
export MY_PROJECT_DIR=/home/dell/Projects/upwelling

export MY_ROMS_SRC=/home/dell/src
#export MY_ROMS_SRC=${MY_ROOT_DIR}/trunk
make

export COMPILERS=${MY_ROMS_SRC}/Compilers

export FORT=gfortran (my compiler is gfortran)
....
in makfile
FORT ?= gfortran

location of the folders:

dell@dell-Inspiron-N5110:~$ cd /home/dell/src/ (justfor you to see where it is)
dell@dell-Inspiron-N5110:~/src$ ls
Atmosphere Data makefile Master User
Compilers Lib makefile~ ROMS Waves
dell@dell-Inspiron-N5110:~/src$


dell@dell-Inspiron-N5110:~$ cd /home/dell/Projects/upwelling/ (just for you to see where it is)
dell@dell-Inspiron-N5110:~/Projects/upwelling$ ls
build.bash build.bash~ ocean_upwelling.in upwelling.h varinfo.dat
dell@dell-Inspiron-N5110:~/Projects/upwelling$

Error:
dell@dell-Inspiron-N5110:~/Projects/upwelling$ ./build.bash
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.

Can you help me, please
lookin forwards hearing from you
Attachments
build.bash
(16.81 KiB) Downloaded 676 times

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#7 Unread post by kate »

I don't know why it's doing that. Perhaps it's time to make your build.bash more verbose. Have it tell you what directory it's in when trying the "make". Or simply cut and paste the commands from build.bash in one window to another window and watch what's going on (how we debug the python codes).

As a last resort you can always do what I do - copy the makefile to one for your case and simply type "make -f makefile.case" from your src directory. Hernan will scream at me for saying this... ;)

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#8 Unread post by machaielder »

Hello Kate
Can you please have a look at the buid.bash i attached in my last post...

t seams tha buid.bash does call the makefile on its own; see the results after typing make makefaile.case and make -f make file in src.

Can you help me to understand the error? in fact there is netcdf.mod in usr/local/include..the include directory seams to be empty. How can I do to have the files there?

dell@dell-Inspiron-N5110:~/src$ make -f makefile.case
make: makefile.case: No such file or directory
make: *** No rule to make target `makefile.case'. Stop.

dell@dell-Inspiron-N5110:~/src$ make -f makefile
makefile:238: INCLUDING FILE /home/dell/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cp -f /usr/local/include/netcdf.mod Build
cp: cannot stat ‘/usr/local/include/netcdf.mod’: No such file or directory
make: *** No rule to make target `Build/MakeDepend', needed by `all'. Stop.


can you help me to understand the following parte of makefile
#--------------------------------------------------------------------------
# Internal macro definitions used to select the code to compile and
# additional libraries to link. It uses the CPP activated in the
# header file ROMS/Include/cppdefs.h to determine macro definitions.
#--------------------------------------------------------------------------

COMPILERS ?= $(CURDIR)/Compilers

MAKE_MACROS := $(shell echo ${HOME} | sed 's| |\\ |g')/make_macros.mk

ifneq "$(MAKECMDGOALS)" "clean"
MACROS := $(shell cpp -P $(ROMS_CPPFLAGS) Compilers/make_macros.h > \
$(MAKE_MACROS); $(CLEAN) $(MAKE_MACROS))

GET_MACROS := $(wildcard $(SCRATCH_DIR)/make_macros.*)

ifdef GET_MACROS
include $(SCRATCH_DIR)/make_macros.mk
$(if ,, $(warning INCLUDING FILE $(SCRATCH_DIR)/make_macros.mk \
WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS))
else
include $(MAKE_MACROS)
$(if ,, $(warning INCLUDING FILE $(MAKE_MACROS) \
WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS))
endif
endif

clean_list += $(MAKE_MACROS)

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#9 Unread post by kate »

OK, a diff of your build.bash compared to the "one true" build.bash shows:

Code: Select all

397c398
<  cd ${MY_ROMS_SRC}
---
>  cd ${MY_PROJECT_DIR}
This explains why it doesn't find the makefile. You have to leave it as cd to your source directory where the makefile lives.

For the makefile.case, going the route of editing the makefile instead of build.bash, you have to copy the "one true" makefile for each of your domains, like makefile.Arctic, makefile.Bering, etc. Then edit the copies for the user-settable parts. If changes happen to the "one true" copy, you have to put those changes into your copies too.

The chunk of makefile you refer to is processing the file Compilers/make_macros.h and putting the output into your $HOME directory as make_macros.mk. It moves it to your $SCRATCH_DIR at some point, but it looks for it first in $SCRATCH_DIR then your $HOME. It then includes it. This has nothing to do with your failure to find netcdf.mod.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#10 Unread post by machaielder »

Hello
Thank you...the problem is not solved yet but i can see that i'm getting there.
now the outcomes are different ..there are changes fter editing makefile as you sugested..
now..i suspect that the ''make'' function has some problems in my linux ...i have stalled netcdf a week ago and today i used the command to test if it works as you can see below.



dell@dell-Inspiron-N5110:~$ make check (to chec netcdf)
make: *** No rule to make target `check'. Stop.

I there any spacial care i have to pay to install netcdf for the model...

please see the new outcome errors

ell@dell-Inspiron-N5110:~/src$ make makefile
In file included from Compilers/../ROMS/Include/cppdefs.h:622:0,
from Compilers/make_macros.h:16:
/home/dell/src/ROMS/Include/upwelling.h:33:0: warning: "AVERAGES" redefined [enabled by default]
#define AVERAGES
^
<command-line>:0:0: note: this is the location of the previous definition
makefile:238: INCLUDING FILE /home/dell/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: nc-config: Command not found
make: nc-config: Command not found
cp -f /include/netcdf.mod Build
cp: cannot stat ‘/include/netcdf.mod’: No such file or directory
make: Nothing to be done for `makefile'.
dell@dell-Inspiron-N5110:~/src$ cd ..
dell@dell-Inspiron-N5110:~$ cd Projects/upwelling/

dell@dell-Inspiron-N5110:~/Projects/upwelling$ ./build.bash
make: *** No targets specified and no makefile found. Stop.
rm -f -r core *.ipo /home/dell/Projects/upwelling/Build /home/dell/make_macros.mk
In file included from Compilers/../ROMS/Include/cppdefs.h:622:0,
from Compilers/make_macros.h:16:
/home/dell/Projects/upwelling/upwelling.h:33:0: warning: "AVERAGES" redefined [enabled by default]
#define AVERAGES
^
<command-line>:0:0: note: this is the location of the previous definition
makefile:238: INCLUDING FILE /home/dell/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: nc-config: Command not found
make: nc-config: Command not found
cp -f /include/netcdf.mod /home/dell/Projects/upwelling/Build
cp: cannot stat ‘/include/netcdf.mod’: No such file or directory
make: *** No rule to make target `/home/dell/Projects/upwelling/Build/MakeDepend', needed by `all'. Stop.
dell@dell-Inspiron-N5110:~/Projects/upwelling$

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#11 Unread post by kate »

Let's start with just the Netcdf libraries.
dell@dell-Inspiron-N5110:~$ make check (to chec netcdf)
make: *** No rule to make target `check'. Stop.

I there any spacial care i have to pay to install netcdf for the model...
Did you execute this "make check" from the netcdf top directory? Which version of netcdf did you install? Did you get both the C and Fortran libraries? The basic steps for building and installing netcdf go like:
  • * configure
    * make
    * make check
    * make install
all from the top of the netcdf source tree. configure has a number of options, the most common of which I use is "--prefix=$HOME" or some such location if I'm not an admin on the system. In this case, the "make install" would put the files under my $HOME directory.

Wherever the files go, you have to make sure that bin directory is either in your path or you put the full path into the ROMS build script for the NC_CONFIG variable. If I were in charge of the build script, I'd clean out all that crap for the netcdf3 cases.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#12 Unread post by machaielder »

Hello Kate
Thank you one more time; I prefered re do the instalation of netcdf..please check the steps until the final result..and the next steps
Regards

cd zlib-1.2.8/
./configure --prefix=/usr/local/
sudo make check instal

cd hdf5-1.8.11/
sudo ./configure --with-zlib=/usr/local --prefix=/urs/local
sudo make check install


cd netcdf-4.3.3.1/
./configure --disable-netcdf-4 --with-hdf5=/usr/local --with-zlib=/usr/local --prefix=/usr/local
make check install

adding the missing netcdf.mod and typesizes from a forder in my Documents

sudo cp -r /home/dell/Documents/netcdf_x86_64/netcdf.mod /usr/local/include/
sudo cp -r /home/dell/Documents/netcdf_x86_64/typesizes.mod /usr/local/include/

dell@dell-Inspiron-N5110:/$ cd /home/dell/src/
dell@dell-Inspiron-N5110:~/src$ make makefile
In file included from Compilers/../ROMS/Include/cppdefs.h:622:0,
from Compilers/make_macros.h:16:
/home/dell/src/ROMS/Include/upwelling.h:33:0: warning: "AVERAGES" redefined [enabled by default]
#define AVERAGES
^
<command-line>:0:0: note: this is the location of the previous definition
makefile:238: INCLUDING FILE /home/dell/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cp -f /usr/local/include/typesizes.mod Build
./ROMS/Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=Build -DROMS_HEADER="upwelling.h" -I ROMS/Include -I ROMS/Nonlinear -I ROMS/Nonlinear/Biology -I ROMS/Nonlinear/Sediment -I ROMS/Utility -I ROMS/Drivers -I ROMS/Functionals -I /home/dell/src/ROMS/Include -I Master -I Compilers --silent --moddir Build ROMS/Nonlinear/bbl.F ROMS/Nonlinear/bc_2d.F ROMS/Nonlinear/bc_3d.F ROMS/Nonlinear/bc_bry2d.F ROMS/Nonlinear/bc_bry3d.F ROMS/Nonlinear/bulk_flux.F ROMS/Nonlinear/bvf_mix.F ROMS/Nonlinear/conv_2d.F ROMS/Nonlinear/conv_3d.F ROMS/Nonlinear/conv_bry2d.F ROMS/Nonlinear/conv_bry3d.F ROMS/Nonlinear/diag.F ROMS/Nonlinear/exchange_2d.F ROMS/Nonlinear/exchange_3d.F ROMS/Nonlinear/forcing.F ROMS/Nonlinear/frc_adjust.F ROMS/Nonlinear/get_data.F ROMS/Nonlinear/get_idata.F ROMS/Nonlinear/gls_corstep.F ROMS/Nonlinear/gls_prestep.F ROMS/Nonlinear/hmixing.F ROMS/Nonlinear/ini_fields.F ROMS/Nonlinear/initial.F ROMS/Nonlinear/interp_floats.F ROMS/Nonlinear/lmd_bkpp.F ROMS/Nonlinear/lmd_skpp.F ROMS/Nonlinear/lmd_swfrac.F ROMS/Nonlinear/lmd_vmix.F ROMS/Nonlinear/main2d.F ROMS/Nonlinear/main3d.F ROMS/Nonlinear/mpdata_adiff.F ROMS/Nonlinear/my25_corstep.F ROMS/Nonlinear/my25_prestep.F ROMS/Nonlinear/nesting.F ROMS/Nonlinear/obc_adjust.F ROMS/Nonlinear/obc_volcons.F ROMS/Nonlinear/omega.F ROMS/Nonlinear/output.F ROMS/Nonlinear/pre_step3d.F ROMS/Nonlinear/prsgrd.F ROMS/Nonlinear/radiation_stress.F ROMS/Nonlinear/rho_eos.F ROMS/Nonlinear/rhs3d.F ROMS/Nonlinear/set_avg.F ROMS/Nonlinear/set_data.F ROMS/Nonlinear/set_depth.F ROMS/Nonlinear/set_massflux.F ROMS/Nonlinear/set_tides.F ROMS/Nonlinear/set_vbc.F ROMS/Nonlinear/set_zeta.F ROMS/Nonlinear/step2d.F ROMS/Nonlinear/step3d_t.F ROMS/Nonlinear/step3d_uv.F ROMS/Nonlinear/step_floats.F ROMS/Nonlinear/t3dbc_im.F ROMS/Nonlinear/t3dmix.F ROMS/Nonlinear/tkebc_im.F ROMS/Nonlinear/u2dbc_im.F ROMS/Nonlinear/u3dbc_im.F ROMS/Nonlinear/uv3dmix.F ROMS/Nonlinear/v2dbc_im.F ROMS/Nonlinear/v3dbc_im.F ROMS/Nonlinear/vwalk_floats.F ROMS/Nonlinear/wetdry.F ROMS/Nonlinear/wvelocity.F ROMS/Nonlinear/zetabc.F ROMS/Nonlinear/Biology/biology.F ROMS/Nonlinear/Biology/biology_floats.F ROMS/Nonlinear/Sediment/sed_bed.F ROMS/Nonlinear/Sediment/sed_bedload.F ROMS/Nonlinear/Sediment/sed_fluxes.F ROMS/Nonlinear/Sediment/sediment.F ROMS/Nonlinear/Sediment/sed_settling.F ROMS/Nonlinear/Sediment/sed_surface.F ROMS/Functionals/analytical.F ROMS/Utility/abort.F ROMS/Utility/array_modes.F ROMS/Utility/back_cost.F ROMS/Utility/cgradient.F ROMS/Utility/checkadj.F ROMS/Utility/checkdefs.F ROMS/Utility/checkerror.F ROMS/Utility/check_multifile.F ROMS/Utility/checkvars.F ROMS/Utility/close_io.F ROMS/Utility/congrad.F ROMS/Utility/convolve.F ROMS/Utility/cost_grad.F ROMS/Utility/def_avg.F ROMS/Utility/def_diags.F ROMS/Utility/def_dim.F ROMS/Utility/def_error.F ROMS/Utility/def_floats.F ROMS/Utility/def_gst.F ROMS/Utility/def_hessian.F ROMS/Utility/def_his.F ROMS/Utility/def_impulse.F ROMS/Utility/def_info.F ROMS/Utility/def_ini.F ROMS/Utility/def_lanczos.F ROMS/Utility/def_mod.F ROMS/Utility/def_norm.F ROMS/Utility/def_rst.F ROMS/Utility/def_station.F ROMS/Utility/def_tides.F ROMS/Utility/def_var.F ROMS/Utility/distribute.F ROMS/Utility/dotproduct.F ROMS/Utility/erf.F ROMS/Utility/extract_obs.F ROMS/Utility/extract_sta.F ROMS/Utility/frc_weak.F ROMS/Utility/gasdev.F ROMS/Utility/get_2dfld.F ROMS/Utility/get_2dfldr.F ROMS/Utility/get_3dfld.F ROMS/Utility/get_3dfldr.F ROMS/Utility/get_bounds.F ROMS/Utility/get_cycle.F ROMS/Utility/get_date.F ROMS/Utility/get_grid.F ROMS/Utility/get_gst.F ROMS/Utility/get_ngfld.F ROMS/Utility/get_ngfldr.F ROMS/Utility/get_nudgcoef.F ROMS/Utility/get_state.F ROMS/Utility/get_varcoords.F ROMS/Utility/get_wetdry.F ROMS/Utility/grid_coords.F ROMS/Utility/ini_adjust.F ROMS/Utility/ini_hmixcoef.F ROMS/Utility/ini_lanczos.F ROMS/Utility/inner2state.F ROMS/Utility/inp_par.F ROMS/Utility/inquire.F ROMS/Utility/interpolate.F ROMS/Utility/lbc.F ROMS/Utility/lubksb.F ROMS/Utility/ludcmp.F ROMS/Utility/metrics.F ROMS/Utility/mp_exchange.F ROMS/Utility/mp_routines.F ROMS/Utility/nf_fread2d_bry.F ROMS/Utility/nf_fread2d.F ROMS/Utility/nf_fread3d_bry.F ROMS/Utility/nf_fread3d.F ROMS/Utility/nf_fread4d.F ROMS/Utility/nf_fwrite2d_bry.F ROMS/Utility/nf_fwrite2d.F ROMS/Utility/nf_fwrite3d_bry.F ROMS/Utility/nf_fwrite3d.F ROMS/Utility/nf_fwrite4d.F ROMS/Utility/normalization.F ROMS/Utility/nrutil.F ROMS/Utility/ntimestep.F ROMS/Utility/obs_cost.F ROMS/Utility/obs_depth.F ROMS/Utility/obs_initial.F ROMS/Utility/obs_read.F ROMS/Utility/obs_write.F ROMS/Utility/packing.F ROMS/Utility/posterior.F ROMS/Utility/posterior_var.F ROMS/Utility/ran1.F ROMS/Utility/random_ic.F ROMS/Utility/ran_state.F ROMS/Utility/read_asspar.F ROMS/Utility/read_biopar.F ROMS/Utility/read_couplepar.F ROMS/Utility/read_fltbiopar.F ROMS/Utility/read_fltpar.F ROMS/Utility/read_phypar.F ROMS/Utility/read_sedpar.F ROMS/Utility/read_stapar.F ROMS/Utility/regrid.F ROMS/Utility/rep_matrix.F ROMS/Utility/set_2dfld.F ROMS/Utility/set_2dfldr.F ROMS/Utility/set_3dfld.F ROMS/Utility/set_3dfldr.F ROMS/Utility/set_contact.F ROMS/Utility/set_diags.F ROMS/Utility/set_masks.F ROMS/Utility/set_ngfld.F ROMS/Utility/set_ngfldr.F ROMS/Utility/set_scoord.F ROMS/Utility/set_weights.F ROMS/Utility/shapiro.F ROMS/Utility/sqlq.F ROMS/Utility/state_addition.F ROMS/Utility/state_copy.F ROMS/Utility/state_dotprod.F ROMS/Utility/state_initialize.F ROMS/Utility/state_product.F ROMS/Utility/state_scale.F ROMS/Utility/stats_modobs.F ROMS/Utility/stiffness.F ROMS/Utility/strings.F ROMS/Utility/sum_grad.F ROMS/Utility/timers.F ROMS/Utility/uv_rotate.F ROMS/Utility/vorticity.F ROMS/Utility/white_noise.F ROMS/Utility/wpoints.F ROMS/Utility/wrt_avg.F ROMS/Utility/wrt_diags.F ROMS/Utility/wrt_error.F ROMS/Utility/wrt_floats.F ROMS/Utility/wrt_gst.F ROMS/Utility/wrt_hessian.F ROMS/Utility/wrt_his.F ROMS/Utility/wrt_impulse.F ROMS/Utility/wrt_info.F ROMS/Utility/wrt_ini.F ROMS/Utility/wrt_rst.F ROMS/Utility/wrt_station.F ROMS/Utility/wrt_tides.F ROMS/Utility/zeta_balance.F ROMS/Modules/mod_arrays.F ROMS/Modules/mod_average.F ROMS/Modules/mod_bbl.F ROMS/Modules/mod_behavior.F ROMS/Modules/mod_biology.F ROMS/Modules/mod_boundary.F ROMS/Modules/mod_clima.F ROMS/Modules/mod_coupler.F ROMS/Modules/mod_coupling.F ROMS/Modules/mod_diags.F ROMS/Modules/mod_eclight.F ROMS/Modules/mod_eoscoef.F ROMS/Modules/mod_floats.F ROMS/Modules/mod_forces.F ROMS/Modules/mod_fourdvar.F ROMS/Modules/mod_grid.F ROMS/Modules/mod_iounits.F ROMS/Modules/mod_kinds.F ROMS/Modules/mod_mixing.F ROMS/Modules/mod_ncparam.F ROMS/Modules/mod_nesting.F ROMS/Modules/mod_netcdf.F ROMS/Modules/mod_ocean.F ROMS/Modules/mod_parallel.F ROMS/Modules/mod_param.F ROMS/Modules/mod_scalars.F ROMS/Modules/mod_sedbed.F ROMS/Modules/mod_sediment.F ROMS/Modules/mod_sources.F ROMS/Modules/mod_stepping.F ROMS/Modules/mod_storage.F ROMS/Modules/mod_strings.F ROMS/Modules/mod_tides.F Master/esmf_roms.F Master/master.F Master/ocean_control.F Master/ocean_coupler.F Master/propagator.F Master/roms_export.F Master/roms_import.F > Build/MakeDepend
cp -p /home/dell/make_macros.mk Build
In file included from Compilers/../ROMS/Include/cppdefs.h:622:0,
from Compilers/make_macros.h:16:
/home/dell/src/ROMS/Include/upwelling.h:33:0: warning: "AVERAGES" redefined [enabled by default]
#define AVERAGES
^
<command-line>:0:0: note: this is the location of the previous definition
makefile:234: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: Nothing to be done for `makefile'.
dell@dell-Inspiron-N5110:~/src$

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#13 Unread post by kate »

make makefile
The command is "make", not "make makefile". You should probably go back to the build script, making sure to fix the "cd" command in it first.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#14 Unread post by machaielder »

Thank you Kate
Now make command is working
Now i have the following error..which i can imagine its souce..I have to install to build fortran libraries for netcdf intead of copy netcdf from a folder;

Now I am trying to understand how to do it.............

Regards


USE netcdf
1
Fatal Error: File 'netcdf.mod' opened at (1) is not a GNU Fortran module file
make: *** [Build/mod_netcdf.o] Error 1
dell@dell-Inspiron-N5110:~/src$

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#15 Unread post by kate »

You happily installed all those other packages. netcdf-fortran is just another package to download and install somewhere. It will create the netcdf.mod file and libnetcdff.a.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#16 Unread post by kate »

from Compilers/make_macros.h:16:
/home/dell/src/ROMS/Include/upwelling.h:33:0: warning: "AVERAGES" redefined [enabled by default]
#define AVERAGES
^
<command-line>:0:0: note: this is the location of the previous definition
Also, I don't know what's going on with this. Did you change something you weren't supposed to touch?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#17 Unread post by machaielder »

Hello Kate
I thanks te problem Was my-cpp-flags.now I disabled -diverages. ..and I seams tô bê ok. I still havent found outro te solution to have netcdf.mod

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#18 Unread post by kate »

How so? Did you download netcdf-fortran from here? You have to compile it with exactly the compiler you will use to compile ROMS.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#19 Unread post by machaielder »

hello Kate
the the limk you sent me is empty..it is not possible to download

I ma still trying to solve the problem;

Regards

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#20 Unread post by kate »

The link works for me and I'm going to be off the net for a few days. Anyone else able to help here?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#21 Unread post by machaielder »

I installed netcdf-fortran and now I am getting the following error. anyone to help...

/home/dell/Roms/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_dim':
mod_netcdf.f90:(.text+0x11843): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0x118fb): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
collect2: error: ld returned 1 exit status
make: *** [/home/dell/Roms/projects/upwelling/oceanS] Error 1
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling#

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#22 Unread post by kate »

Can you show us the full link command? You're probably missing a -lnetcdff. There has been much on this: https://www.myroms.org/wiki/index.php/F ... _link_time

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#23 Unread post by machaielder »

ster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/Sediment/sed_surface.F > Build/sed_surface.f90
ROMS/Bin/cpp_clean Build/sed_surface.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sed_surface.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sediment.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/set_zeta.F > Build/set_zeta.f90
ROMS/Bin/cpp_clean Build/set_zeta.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_zeta.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/step3d_t.F > Build/step3d_t.f90
ROMS/Bin/cpp_clean Build/step3d_t.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/mpdata_adiff.F > Build/mpdata_adiff.f90
ROMS/Bin/cpp_clean Build/mpdata_adiff.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math mpdata_adiff.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math step3d_t.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/step3d_uv.F > Build/step3d_uv.f90
ROMS/Bin/cpp_clean Build/step3d_uv.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math step3d_uv.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/wvelocity.F > Build/wvelocity.f90
ROMS/Bin/cpp_clean Build/wvelocity.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math wvelocity.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math main3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/output.F > Build/output.f90
ROMS/Bin/cpp_clean Build/output.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math output.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Nonlinear/set_data.F > Build/set_data.f90
ROMS/Bin/cpp_clean Build/set_data.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_data.f90
ar -r Build/libNLM.a Build/bbl.o Build/bc_2d.o Build/bc_3d.o Build/bc_bry2d.o Build/bc_bry3d.o Build/bulk_flux.o Build/bvf_mix.o Build/conv_2d.o Build/conv_3d.o Build/conv_bry2d.o Build/conv_bry3d.o Build/diag.o Build/exchange_2d.o Build/exchange_3d.o Build/forcing.o Build/frc_adjust.o Build/get_data.o Build/get_idata.o Build/gls_corstep.o Build/gls_prestep.o Build/hmixing.o Build/ini_fields.o Build/initial.o Build/interp_floats.o Build/lmd_bkpp.o Build/lmd_skpp.o Build/lmd_swfrac.o Build/lmd_vmix.o Build/main2d.o Build/main3d.o Build/mpdata_adiff.o Build/my25_corstep.o Build/my25_prestep.o Build/nesting.o Build/obc_adjust.o Build/obc_volcons.o Build/omega.o Build/output.o Build/pre_step3d.o Build/prsgrd.o Build/radiation_stress.o Build/rho_eos.o Build/rhs3d.o Build/set_avg.o Build/set_data.o Build/set_depth.o Build/set_massflux.o Build/set_tides.o Build/set_vbc.o Build/set_zeta.o Build/step2d.o Build/step3d_t.o Build/step3d_uv.o Build/step_floats.o Build/t3dbc_im.o Build/t3dmix.o Build/tkebc_im.o Build/u2dbc_im.o Build/u3dbc_im.o Build/uv3dmix.o Build/v2dbc_im.o Build/v3dbc_im.o Build/vwalk_floats.o Build/wetdry.o Build/wvelocity.o Build/zetabc.o
ar: creating Build/libNLM.a
ranlib Build/libNLM.a
ar -r Build/libNLM_bio.a Build/biology.o Build/biology_floats.o
ar: creating Build/libNLM_bio.a
ranlib Build/libNLM_bio.a
ar -r Build/libNLM_sed.a Build/sed_bed.o Build/sed_bedload.o Build/sed_fluxes.o Build/sediment.o Build/sed_settling.o Build/sed_surface.o
ar: creating Build/libNLM_sed.a
ranlib Build/libNLM_sed.a
ar -r Build/libANA.a Build/analytical.o
ar: creating Build/libANA.a
ranlib Build/libANA.a
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' ROMS/Modules/mod_arrays.F > Build/mod_arrays.f90
ROMS/Bin/cpp_clean Build/mod_arrays.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math mod_arrays.f90
ar -r Build/libMODS.a Build/mod_arrays.o Build/mod_average.o Build/mod_bbl.o Build/mod_behavior.o Build/mod_biology.o Build/mod_boundary.o Build/mod_clima.o Build/mod_coupler.o Build/mod_coupling.o Build/mod_diags.o Build/mod_eclight.o Build/mod_eoscoef.o Build/mod_floats.o Build/mod_forces.o Build/mod_fourdvar.o Build/mod_grid.o Build/mod_iounits.o Build/mod_kinds.o Build/mod_mixing.o Build/mod_ncparam.o Build/mod_nesting.o Build/mod_netcdf.o Build/mod_ocean.o Build/mod_parallel.o Build/mod_param.o Build/mod_scalars.o Build/mod_sedbed.o Build/mod_sediment.o Build/mod_sources.o Build/mod_stepping.o Build/mod_storage.o Build/mod_strings.o Build/mod_tides.o
ar: creating Build/libMODS.a
ranlib Build/libMODS.a
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' Master/esmf_roms.F > Build/esmf_roms.f90
ROMS/Bin/cpp_clean Build/esmf_roms.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math esmf_roms.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/trunk/ROMS/Include/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/trunk/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/trunk/ROMS/Include -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/trunk/ROMS/Include"' Master/master.F > Build/master.f90
ROMS/Bin/cpp_clean Build/master.f90
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math master.f90
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o Build/roms_export.o Build/roms_import.o -o oceanS Build/libUTIL.a Build/libNLM.a Build/libNLM_bio.a Build/libNLM_sed.a Build/libANA.a Build/libUTIL.a Build/libMODS.a
Build/libUTIL.a(close_io.o): In function `close_out_':
close_io.f90:(.text+0x106e): undefined reference to `__netcdf_MOD_nf90_strerror'
Build/libUTIL.a(lbc.o): In function `lbc_getatt_':
lbc.f90:(.text+0x20eb): undefined reference to `__netcdf_MOD_nf90_get_att_text'
Build/libUTIL.a(lbc.o): In function `lbc_putatt_':
lbc.f90:(.text+0x29ff): undefined reference to `__netcdf_MOD_nf90_put_att_text'
Build/libUTIL.a(nf_fwrite2d.o): In function `__nf_fwrite2d_mod_MOD_nf_fwrite2d':
nf_fwrite2d.f90:(.text+0x408): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libUTIL.a(nf_fwrite3d.o): In function `__nf_fwrite3d_mod_MOD_nf_fwrite3d':
nf_fwrite3d.f90:(.text+0x4b1): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
Build/libUTIL.a(def_dim.o): In function `def_dim_':
def_dim.f90:(.text+0x70): undefined reference to `__netcdf_MOD_nf90_def_dim'
Build/libUTIL.a(def_info.o): In function `def_info_':
def_info.f90:(.text+0xe914): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0xe96d): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0xe9c6): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0xea1f): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0xea78): undefined reference to `__netcdf_MOD_nf90_put_att_text'
Build/libUTIL.a(def_info.o):def_info.f90:(.text+0xead1): more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
Build/libUTIL.a(def_var.o): In function `__def_var_mod_MOD_def_var':
def_var.f90:(.text+0x24f): undefined reference to `__netcdf_MOD_nf90_def_var_manydims'
def_var.f90:(.text+0x2e9): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x33d): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x3c1): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x45e): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0x527): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0x654): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x75d): undefined reference to `__netcdf_MOD_nf90_put_att_eightbytereal'
def_var.f90:(.text+0x7cf): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x848): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x8be): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x932): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x9b0): undefined reference to `__netcdf_MOD_nf90_put_att_text'
Build/libUTIL.a(def_var.o):def_var.f90:(.text+0xa2a): more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
Build/libUTIL.a(def_var.o): In function `__def_var_mod_MOD_def_var':
def_var.f90:(.text+0xaf2): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0xbc5): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0xc94): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0xd3b): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0xdb1): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x1030): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x10d1): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x114c): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x1fb6): undefined reference to `__netcdf_MOD_nf90_def_var_scalar'
def_var.f90:(.text+0x2051): undefined reference to `__netcdf_MOD_nf90_put_att_fourbytereal'
def_var.f90:(.text+0x20c6): undefined reference to `__netcdf_MOD_nf90_put_att_fourbyteint'
def_var.f90:(.text+0x2330): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x254f): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x2703): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x2779): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x27b4): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x28fe): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x2973): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x2ff2): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3065): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x30e0): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3156): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x31cd): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3243): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
Build/libUTIL.a(nf_fread2d.o): In function `__nf_fread2d_mod_MOD_nf_fread2d':
nf_fread2d.f90:(.text+0x832): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libUTIL.a(nf_fread3d.o): In function `__nf_fread3d_mod_MOD_nf_fread3d':
nf_fread3d.f90:(.text+0x82c): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_open.part.0':
mod_netcdf.f90:(.text+0x6d): undefined reference to `__netcdf_MOD_nf90_open'
mod_netcdf.f90:(.text+0x174): undefined reference to `__netcdf_MOD_nf90_open'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_close.part.1':
mod_netcdf.f90:(.text+0x23d): undefined reference to `__netcdf_MOD_nf90_close'
mod_netcdf.f90:(.text+0x35d): undefined reference to `__netcdf_MOD_nf90_get_att_text'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_0d.constprop.3':
mod_netcdf.f90:(.text+0x485): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x4a4): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_sync':
mod_netcdf.f90:(.text+0x685): undefined reference to `__netcdf_MOD_nf90_sync'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_redef':
mod_netcdf.f90:(.text+0x767): undefined reference to `__netcdf_MOD_nf90_redef'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_enddef':
mod_netcdf.f90:(.text+0x88e): undefined reference to `__netcdf_MOD_nf90_enddef'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_create':
mod_netcdf.f90:(.text+0x9d8): undefined reference to `__netcdf_MOD_nf90_create'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_svar_1d':
mod_netcdf.f90:(.text+0xd55): undefined reference to `__netcdf_MOD_nf90_put_var_1d_text'
mod_netcdf.f90:(.text+0xfe8): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_svar_0d':
mod_netcdf.f90:(.text+0x1275): undefined reference to `__netcdf_MOD_nf90_put_var_text'
mod_netcdf.f90:(.text+0x1499): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_lvar_2d':
mod_netcdf.f90:(.text+0x1966): undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
mod_netcdf.f90:(.text+0x1bfc): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_lvar_1d':
mod_netcdf.f90:(.text+0x2110): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x23fb): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_lvar_0d':
mod_netcdf.f90:(.text+0x276e): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x2a1b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x2b68): undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_ivar_2d':
mod_netcdf.f90:(.text+0x2e30): undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
mod_netcdf.f90:(.text+0x311b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_ivar_1d':
mod_netcdf.f90:(.text+0x34c0): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x3780): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_ivar_0d':
mod_netcdf.f90:(.text+0x3ae7): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x3d78): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x3ec3): undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_4d':
mod_netcdf.f90:(.text+0x420d): undefined reference to `__netcdf_MOD_nf90_put_var_4d_eightbytereal'
mod_netcdf.f90:(.text+0x4561): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_3d':
mod_netcdf.f90:(.text+0x49a4): undefined reference to `__netcdf_MOD_nf90_put_var_3d_eightbytereal'
mod_netcdf.f90:(.text+0x4cbb): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_2d':
mod_netcdf.f90:(.text+0x50a0): undefined reference to `__netcdf_MOD_nf90_put_var_2d_eightbytereal'
mod_netcdf.f90:(.text+0x538b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_1d':
mod_netcdf.f90:(.text+0x5730): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0x59f0): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_0d':
mod_netcdf.f90:(.text+0x5d5b): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0x5fe5): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x6128): undefined reference to `__netcdf_MOD_nf90_put_var_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_svar_1d':
mod_netcdf.f90:(.text+0x6318): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x647e): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
mod_netcdf.f90:(.text+0x670a): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_svar_0d':
mod_netcdf.f90:(.text+0x69a7): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x6a91): undefined reference to `__netcdf_MOD_nf90_get_var_text'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_ivar_2d':
mod_netcdf.f90:(.text+0x6ef8): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x706e): undefined reference to `__netcdf_MOD_nf90_get_var_2d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_ivar_1d':
mod_netcdf.f90:(.text+0x7615): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x7761): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x79d0): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_ivar_0d':
mod_netcdf.f90:(.text+0x7c77): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x7dab): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x7f12): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_lvar_1d':
mod_netcdf.f90:(.text+0x8297): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x8329): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0x8498): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
mod_netcdf.f90:(.text+0x896d): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x8bf9): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x8c82): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_lvar_0d':
mod_netcdf.f90:(.text+0x8e4d): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x8ee2): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0x8ffa): undefined reference to `__netcdf_MOD_nf90_get_var_text'
mod_netcdf.f90:(.text+0x947f): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x959b): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_0d':
mod_netcdf.f90:(.text+0x977b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x98af): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0x9a20): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fatt':
mod_netcdf.f90:(.text+0x9df5): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0x9e6a): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0x9f15): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_4d':
mod_netcdf.f90:(.text+0xb22f): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xb3f7): undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
mod_netcdf.f90:(.text+0xb699): undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_3d':
mod_netcdf.f90:(.text+0xc8b6): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xca55): undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
mod_netcdf.f90:(.text+0xcc00): undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_2d':
mod_netcdf.f90:(.text+0xd614): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xd79a): undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
mod_netcdf.f90:(.text+0xdc94): undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_1d':
mod_netcdf.f90:(.text+0xe5dc): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xe71c): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0xebae): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_inq_varid':
mod_netcdf.f90:(.text+0xeeb9): undefined reference to `__netcdf_MOD_nf90_inq_varid'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_inq_var':
mod_netcdf.f90:(.text+0xf104): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0xf7ff): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0xf8dd): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0xfb2a): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
mod_netcdf.f90:(.text+0xfcdd): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0xfd44): undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
mod_netcdf.f90:(.text+0xfdef): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
mod_netcdf.f90:(.text+0xffd4): undefined reference to `__netcdf_MOD_nf90_get_att_text'
mod_netcdf.f90:(.text+0x101ea): undefined reference to `__netcdf_MOD_nf90_get_att_one_fourbyteint'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_check_var':
mod_netcdf.f90:(.text+0x10e69): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0x10fd9): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0x11092): undefined reference to `__netcdf_MOD_nf90_inq_attname'
Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_dim':
mod_netcdf.f90:(.text+0x11843): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0x118fb): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
collect2: error: ld returned 1 exit status
make: *** [oceanS] Error 1

this is the information I get

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#24 Unread post by machaielder »

see the installation of netcdf-fortran
zlib

./configure --prefix=/usr/local/lib/zlib
make
make test
make install

hdf5
ir na pasta descompactada hdf5
./configure --with-zlib=/usr/local/lib/zlib/ --prefix=/usr/local/lib/hdf5
make check
make install

netcdf-c
ir na pasta descompactada netcdf-c
CPPFLAGS="-I/usr/local/lib/hdf5/include -I/usr/local/lib/zlib/include" LDFLAGS="-L/usr/local/lib/zlib/lib -L/usr/local/lib/hdf5/lib" ./configure --disable-shared --prefix=/usr/local/lib/netcdf-c
make check
make install


netcdf-fortran

CPPFLAGS="-I/usr/local/lib/netcdf-c/include -I/usr/local/lib/hdf5/include -I/usr/local/lib/zlib/include" LD_LIBRARY_PATH=/usr/local/lib/netcdf-c/lib:/usr/local/lib/hdf5/lib:/usr/local/lib/zlib/lib${LD_LIBRARY_PATH} LDFLAGS="-L/usr/local/lib/netcdf-c/lib -L/usr/local/lib/hdf5/lib -L/usr/local/lib/zlib/lib" LIBS="-lnetcdf -lhdf5_hl -lhdf5 -lz" ./configure --disable-shared --prefix=/usr/local/lib/netcdf-fortran
make check
make install

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#25 Unread post by kate »

This is your link step:

Code: Select all

/usr/bin/gfortran -frepack-arrays -O3 -ffast-math Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o Build/roms_export.o Build/roms_import.o -o oceanS Build/libUTIL.a Build/libNLM.a Build/libNLM_bio.a Build/libNLM_sed.a Build/libANA.a Build/libUTIL.a Build/libMODS.a 
It's supposed to look like:

Code: Select all

/usr/local/bin/gfortran -frepack-arrays -g -fbounds-check  Build_up/esmf_roms.o Build_up/master.o Build_up/ocean_control.o Build_up/ocean_coupler.o Build_up/propagator.o Build_up/roms_export.o Build_up/roms_import.o -o oceanG Build_up/libMODS.a Build_up/libNLM.a Build_up/libNLM_bio.a Build_up/libNLM_sed.a Build_up/libANA.a Build_up/libUTIL.a Build_up/libMODS.a -L/usr/local/lib -lnetcdff -lnetcdf -lnetcdf
Did you set USE_NETCDF4? What do you get with "nc-config --flibs"? How about "nf-config --flibs"? I had to switch from the former to the latter on this Mac. You switch in your Compilers case file, for me this time it's Darwin-gfortran.mk.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#26 Unread post by machaielder »

I did what you suggested and nothing changed; then Tried to follow a discussion in which you participated.. it is suggested to define FC, F77 and enable-fortran,-f90 -f77 in hdf5, netcdf end netcdf-fortran

when I do that I get the following error while compiling netcdf-fortran? Might it be the source of the problem?



~/Downloads/bibliotecas_roms/netcdf-fortran-4.2$ FC=gfortran F77=gfortran CPPFLAGS="-I/usr/local/lib/netcdf-c/include -I/usr/local/lib/hdf5/include -I/usr/local/lib/zlib/include" LD_LIBRARY_PATH=/usr/local/lib/netcdf-c/lib:/usr/local/lib/hdf5/lib:/usr/local/lib/zlib/lib${LD_LIBRARY_PATH} LDFLAGS="-L/usr/local/lib/netcdf-c/lib -L/usr/local/lib/hdf5/lib -L/usr/local/lib/zlib/lib" LIBS="-lnetcdf -lnetcdff -lhdf5_hl -lhdf5 -lz" ./configure --enable-shared --enable-static --enable-f77 --enable-fortran --enable-f90 --enable-netcdf4 --prefix=/usr/local/lib/netcdf-fortran

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#27 Unread post by kate »

There was probably nothing wrong with your netcdf-fortran install - you just weren't using it. That long list of things to do when compiling netcdf is for versions long past - they have made it much easier.

So, to use netcdf in the modern way, you set USE_NETCDF4 in your ROMS build. It invokes nc-config --flibs which may or may not work. If it doesn't work, change nc-config to nf-config. You can try these on the command line to see what they do:

Code: Select all

bash-3.2$ nc-config --flibs
-L/usr/local/lib -lnetcdff -lnetcdf -lnetcdf

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#28 Unread post by machaielder »

hello Kate
Where do I use these commands.
bash-3.2$ nc-config --flibs
-L/usr/local/lib -lnetcdff -lnetcdf -lnetcdf thanks

I wonder if you could give me the new manner of compiling the netcdf-foertran..I used long command in hdf5, netcdf and netcdf-fortran.

many

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#29 Unread post by kate »

I assume your libraries are fine. Just today I did "configure; make; make check; make install" for netcdf-fortran. That may or may not give you access to HDF5 files, but you just want to get something running, right? You can look at the verbose output of configure to see for sure.

Moving on to ROMS, you need to link ROMS to the Netcdf libraries you built. Did you set USE_NETCDF4 in the ROMS build?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#30 Unread post by machaielder »

yes use netcdf =on..I am trying with both makefile and build.bash but nothing helps.
see the settings in build.bash
if [ -n "${USE_NETCDF4:+1}" ]; then
if [ -n "${USE_PARALLEL_IO:+1}" ] && [ -n "${USE_MPI:+1}" ]; then
if [ "${which_MPI}" = "mpich2" ]; then
export NC_CONFIG=/usr/local/lib/netcdf-fortran/nf-config --flibs
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
elif [ "${which_MPI}" = "openmpi" ]; then
export NC_CONFIG=/usr/local/lib/netcdf-fortran/nf-config --flibs
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
fi
else
export NC_CONFIG=/usr/local/lib/netcdf-fortran/nf-config --flibs
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
fi
else
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
export NETCDF_LIBDIR=/usr/local/lib
fi
;;

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#31 Unread post by kate »

export NC_CONFIG=/usr/local/lib/netcdf-fortran/nf-config --flibs
You don't want to have --flibs here. Is this really the path to your nf-config executable? Are you sure one of those lines setting NC_CONFIG is getting executed?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#32 Unread post by machaielder »

USR/LOCAL/INCLUDE
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran/include$ ls
netcdf.inc netcdf.mod typesizes.mod
USR/LOCAL/LIB
ell@dell-Inspiron-N5110:/usr/local/lib$ ls
bin libnetcdf.settings libz.so pkgconfig zlib
etc libnetcdf.so libz.so.1 python2.7
hdf5 libnetcdf.so.7 libz.so.1.2.8 python3.4
libnetcdf.a libnetcdf.so.7.2.0 netcdf-c R
libnetcdf.la libz.a netcdf-fortran share


NETCDF-C
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-c$ ls
bin include lib share
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-c/include$ ls
netcdf.h
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-c/lib$ ls
libnetcdf.a libnetcdf.so libnetcdf.so.7.2.0
libnetcdf.la libnetcdf.so.7 pkgconfig

dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-c/share/man/man1$ ls
nccopy.1 ncdump.1 ncgen.1 ncgen3.1
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-c/share/man/man3$ ls
netcdf.3


NETCDF-FORTRAN

dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran$ ls
bin include lib share
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran/bin$ ls
nf-config
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran/include$ ls
netcdf.inc netcdf.mod typesizes.mod
dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran/lib$ ls
libnetcdff.a libnetcdff.la pkgconfig

dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran/share/info$ ls
dir netcdf-f77.info netcdf-f77.info-1 netcdf-f77.info-2 netcdf-f90.info

dell@dell-Inspiron-N5110:/usr/local/lib/netcdf-fortran/share/man/man3$ ls
netcdf_f77.3 netcdf_f90.3

CHANGES IN BASH:
if [ -n "${USE_NETCDF4:+1}" ]; then
if [ -n "${USE_PARALLEL_IO:+1}" ] && [ -n "${USE_MPI:+1}" ]; then
if [ "${which_MPI}" = "mpich2" ]; then
export NC_CONFIG=/usr/local/lib/netcdf-fortran/bin/nf-config
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
elif [ "${which_MPI}" = "openmpi" ]; then
export NC_CONFIG=/usr/local/lib/netcdf-fortran/bin/nf-config
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
fi
else
export NC_CONFIG=/usr/local/lib/netcdf-fortran/bin/nf-config
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
fi
else
export NETCDF_INCDIR=/usr/local/lib/netcdf-fortran/include
export NETCDF_LIBDIR=/usr/local/lib
fi

NEW RESULT

/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/radiation_stress.F > /home/dell/Roms/projects/upwelling/Build/radiation_stress.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/radiation_stress.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math radiation_stress.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/set_avg.F > /home/dell/Roms/projects/upwelling/Build/set_avg.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/set_avg.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_avg.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/set_tides.F > /home/dell/Roms/projects/upwelling/Build/set_tides.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/set_tides.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_tides.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/set_vbc.F > /home/dell/Roms/projects/upwelling/Build/set_vbc.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/set_vbc.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_vbc.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/step2d.F > /home/dell/Roms/projects/upwelling/Build/step2d.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/step2d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/obc_volcons.F > /home/dell/Roms/projects/upwelling/Build/obc_volcons.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/obc_volcons.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math obc_volcons.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math step2d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/step_floats.F > /home/dell/Roms/projects/upwelling/Build/step_floats.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/step_floats.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Biology/biology_floats.F > /home/dell/Roms/projects/upwelling/Build/biology_floats.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/biology_floats.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math biology_floats.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/vwalk_floats.F > /home/dell/Roms/projects/upwelling/Build/vwalk_floats.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/vwalk_floats.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math vwalk_floats.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math step_floats.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math main2d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/main3d.F > /home/dell/Roms/projects/upwelling/Build/main3d.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/main3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Biology/biology.F > /home/dell/Roms/projects/upwelling/Build/biology.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/biology.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math -ffree-form -ffree-line-length-none biology.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/my25_corstep.F > /home/dell/Roms/projects/upwelling/Build/my25_corstep.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/my25_corstep.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math my25_corstep.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/my25_prestep.F > /home/dell/Roms/projects/upwelling/Build/my25_prestep.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/my25_prestep.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math my25_prestep.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/rhs3d.F > /home/dell/Roms/projects/upwelling/Build/rhs3d.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/rhs3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/pre_step3d.F > /home/dell/Roms/projects/upwelling/Build/pre_step3d.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/pre_step3d.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math pre_step3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/prsgrd.F > /home/dell/Roms/projects/upwelling/Build/prsgrd.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/prsgrd.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math prsgrd.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/t3dmix.F > /home/dell/Roms/projects/upwelling/Build/t3dmix.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/t3dmix.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math t3dmix.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/uv3dmix.F > /home/dell/Roms/projects/upwelling/Build/uv3dmix.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/uv3dmix.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math uv3dmix.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math rhs3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Sediment/sediment.F > /home/dell/Roms/projects/upwelling/Build/sediment.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/sediment.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Sediment/sed_bed.F > /home/dell/Roms/projects/upwelling/Build/sed_bed.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/sed_bed.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sed_bed.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Sediment/sed_bedload.F > /home/dell/Roms/projects/upwelling/Build/sed_bedload.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/sed_bedload.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sed_bedload.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Sediment/sed_fluxes.F > /home/dell/Roms/projects/upwelling/Build/sed_fluxes.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/sed_fluxes.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sed_fluxes.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Sediment/sed_settling.F > /home/dell/Roms/projects/upwelling/Build/sed_settling.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/sed_settling.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sed_settling.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/Sediment/sed_surface.F > /home/dell/Roms/projects/upwelling/Build/sed_surface.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/sed_surface.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sed_surface.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math sediment.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/set_zeta.F > /home/dell/Roms/projects/upwelling/Build/set_zeta.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/set_zeta.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_zeta.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/step3d_t.F > /home/dell/Roms/projects/upwelling/Build/step3d_t.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/step3d_t.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/mpdata_adiff.F > /home/dell/Roms/projects/upwelling/Build/mpdata_adiff.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/mpdata_adiff.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math mpdata_adiff.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math step3d_t.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/step3d_uv.F > /home/dell/Roms/projects/upwelling/Build/step3d_uv.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/step3d_uv.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math step3d_uv.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/wvelocity.F > /home/dell/Roms/projects/upwelling/Build/wvelocity.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/wvelocity.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math wvelocity.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math main3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/output.F > /home/dell/Roms/projects/upwelling/Build/output.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/output.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math output.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Nonlinear/set_data.F > /home/dell/Roms/projects/upwelling/Build/set_data.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/set_data.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math set_data.f90
ar -r /home/dell/Roms/projects/upwelling/Build/libNLM.a /home/dell/Roms/projects/upwelling/Build/bbl.o /home/dell/Roms/projects/upwelling/Build/bc_2d.o /home/dell/Roms/projects/upwelling/Build/bc_3d.o /home/dell/Roms/projects/upwelling/Build/bc_bry2d.o /home/dell/Roms/projects/upwelling/Build/bc_bry3d.o /home/dell/Roms/projects/upwelling/Build/bulk_flux.o /home/dell/Roms/projects/upwelling/Build/bvf_mix.o /home/dell/Roms/projects/upwelling/Build/conv_2d.o /home/dell/Roms/projects/upwelling/Build/conv_3d.o /home/dell/Roms/projects/upwelling/Build/conv_bry2d.o /home/dell/Roms/projects/upwelling/Build/conv_bry3d.o /home/dell/Roms/projects/upwelling/Build/diag.o /home/dell/Roms/projects/upwelling/Build/exchange_2d.o /home/dell/Roms/projects/upwelling/Build/exchange_3d.o /home/dell/Roms/projects/upwelling/Build/forcing.o /home/dell/Roms/projects/upwelling/Build/frc_adjust.o /home/dell/Roms/projects/upwelling/Build/get_data.o /home/dell/Roms/projects/upwelling/Build/get_idata.o /home/dell/Roms/projects/upwelling/Build/gls_corstep.o /home/dell/Roms/projects/upwelling/Build/gls_prestep.o /home/dell/Roms/projects/upwelling/Build/hmixing.o /home/dell/Roms/projects/upwelling/Build/ini_fields.o /home/dell/Roms/projects/upwelling/Build/initial.o /home/dell/Roms/projects/upwelling/Build/interp_floats.o /home/dell/Roms/projects/upwelling/Build/lmd_bkpp.o /home/dell/Roms/projects/upwelling/Build/lmd_skpp.o /home/dell/Roms/projects/upwelling/Build/lmd_swfrac.o /home/dell/Roms/projects/upwelling/Build/lmd_vmix.o /home/dell/Roms/projects/upwelling/Build/main2d.o /home/dell/Roms/projects/upwelling/Build/main3d.o /home/dell/Roms/projects/upwelling/Build/mpdata_adiff.o /home/dell/Roms/projects/upwelling/Build/my25_corstep.o /home/dell/Roms/projects/upwelling/Build/my25_prestep.o /home/dell/Roms/projects/upwelling/Build/nesting.o /home/dell/Roms/projects/upwelling/Build/obc_adjust.o /home/dell/Roms/projects/upwelling/Build/obc_volcons.o /home/dell/Roms/projects/upwelling/Build/omega.o /home/dell/Roms/projects/upwelling/Build/output.o /home/dell/Roms/projects/upwelling/Build/pre_step3d.o /home/dell/Roms/projects/upwelling/Build/prsgrd.o /home/dell/Roms/projects/upwelling/Build/radiation_stress.o /home/dell/Roms/projects/upwelling/Build/rho_eos.o /home/dell/Roms/projects/upwelling/Build/rhs3d.o /home/dell/Roms/projects/upwelling/Build/set_avg.o /home/dell/Roms/projects/upwelling/Build/set_data.o /home/dell/Roms/projects/upwelling/Build/set_depth.o /home/dell/Roms/projects/upwelling/Build/set_massflux.o /home/dell/Roms/projects/upwelling/Build/set_tides.o /home/dell/Roms/projects/upwelling/Build/set_vbc.o /home/dell/Roms/projects/upwelling/Build/set_zeta.o /home/dell/Roms/projects/upwelling/Build/step2d.o /home/dell/Roms/projects/upwelling/Build/step3d_t.o /home/dell/Roms/projects/upwelling/Build/step3d_uv.o /home/dell/Roms/projects/upwelling/Build/step_floats.o /home/dell/Roms/projects/upwelling/Build/t3dbc_im.o /home/dell/Roms/projects/upwelling/Build/t3dmix.o /home/dell/Roms/projects/upwelling/Build/tkebc_im.o /home/dell/Roms/projects/upwelling/Build/u2dbc_im.o /home/dell/Roms/projects/upwelling/Build/u3dbc_im.o /home/dell/Roms/projects/upwelling/Build/uv3dmix.o /home/dell/Roms/projects/upwelling/Build/v2dbc_im.o /home/dell/Roms/projects/upwelling/Build/v3dbc_im.o /home/dell/Roms/projects/upwelling/Build/vwalk_floats.o /home/dell/Roms/projects/upwelling/Build/wetdry.o /home/dell/Roms/projects/upwelling/Build/wvelocity.o /home/dell/Roms/projects/upwelling/Build/zetabc.o
ar: creating /home/dell/Roms/projects/upwelling/Build/libNLM.a
ranlib /home/dell/Roms/projects/upwelling/Build/libNLM.a
ar -r /home/dell/Roms/projects/upwelling/Build/libNLM_bio.a /home/dell/Roms/projects/upwelling/Build/biology.o /home/dell/Roms/projects/upwelling/Build/biology_floats.o
ar: creating /home/dell/Roms/projects/upwelling/Build/libNLM_bio.a
ranlib /home/dell/Roms/projects/upwelling/Build/libNLM_bio.a
ar -r /home/dell/Roms/projects/upwelling/Build/libNLM_sed.a /home/dell/Roms/projects/upwelling/Build/sed_bed.o /home/dell/Roms/projects/upwelling/Build/sed_bedload.o /home/dell/Roms/projects/upwelling/Build/sed_fluxes.o /home/dell/Roms/projects/upwelling/Build/sediment.o /home/dell/Roms/projects/upwelling/Build/sed_settling.o /home/dell/Roms/projects/upwelling/Build/sed_surface.o
ar: creating /home/dell/Roms/projects/upwelling/Build/libNLM_sed.a
ranlib /home/dell/Roms/projects/upwelling/Build/libNLM_sed.a
ar -r /home/dell/Roms/projects/upwelling/Build/libANA.a /home/dell/Roms/projects/upwelling/Build/analytical.o
ar: creating /home/dell/Roms/projects/upwelling/Build/libANA.a
ranlib /home/dell/Roms/projects/upwelling/Build/libANA.a
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' ROMS/Modules/mod_arrays.F > /home/dell/Roms/projects/upwelling/Build/mod_arrays.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/mod_arrays.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math mod_arrays.f90
ar -r /home/dell/Roms/projects/upwelling/Build/libMODS.a /home/dell/Roms/projects/upwelling/Build/mod_arrays.o /home/dell/Roms/projects/upwelling/Build/mod_average.o /home/dell/Roms/projects/upwelling/Build/mod_bbl.o /home/dell/Roms/projects/upwelling/Build/mod_behavior.o /home/dell/Roms/projects/upwelling/Build/mod_biology.o /home/dell/Roms/projects/upwelling/Build/mod_boundary.o /home/dell/Roms/projects/upwelling/Build/mod_clima.o /home/dell/Roms/projects/upwelling/Build/mod_coupler.o /home/dell/Roms/projects/upwelling/Build/mod_coupling.o /home/dell/Roms/projects/upwelling/Build/mod_diags.o /home/dell/Roms/projects/upwelling/Build/mod_eclight.o /home/dell/Roms/projects/upwelling/Build/mod_eoscoef.o /home/dell/Roms/projects/upwelling/Build/mod_floats.o /home/dell/Roms/projects/upwelling/Build/mod_forces.o /home/dell/Roms/projects/upwelling/Build/mod_fourdvar.o /home/dell/Roms/projects/upwelling/Build/mod_grid.o /home/dell/Roms/projects/upwelling/Build/mod_iounits.o /home/dell/Roms/projects/upwelling/Build/mod_kinds.o /home/dell/Roms/projects/upwelling/Build/mod_mixing.o /home/dell/Roms/projects/upwelling/Build/mod_ncparam.o /home/dell/Roms/projects/upwelling/Build/mod_nesting.o /home/dell/Roms/projects/upwelling/Build/mod_netcdf.o /home/dell/Roms/projects/upwelling/Build/mod_ocean.o /home/dell/Roms/projects/upwelling/Build/mod_parallel.o /home/dell/Roms/projects/upwelling/Build/mod_param.o /home/dell/Roms/projects/upwelling/Build/mod_scalars.o /home/dell/Roms/projects/upwelling/Build/mod_sedbed.o /home/dell/Roms/projects/upwelling/Build/mod_sediment.o /home/dell/Roms/projects/upwelling/Build/mod_sources.o /home/dell/Roms/projects/upwelling/Build/mod_stepping.o /home/dell/Roms/projects/upwelling/Build/mod_storage.o /home/dell/Roms/projects/upwelling/Build/mod_strings.o /home/dell/Roms/projects/upwelling/Build/mod_tides.o
ar: creating /home/dell/Roms/projects/upwelling/Build/libMODS.a
ranlib /home/dell/Roms/projects/upwelling/Build/libMODS.a
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' Master/esmf_roms.F > /home/dell/Roms/projects/upwelling/Build/esmf_roms.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/esmf_roms.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math esmf_roms.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/dell/Roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="/home/dell/Roms/projects/upwelling/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/dell/Roms/projects/upwelling"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -I/home/dell/Roms/projects/upwelling -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/dell/Roms/projects/upwelling -IMaster -ICompilers -D'HEADER_DIR="/home/dell/Roms/projects/upwelling"' Master/master.F > /home/dell/Roms/projects/upwelling/Build/master.f90
ROMS/Bin/cpp_clean /home/dell/Roms/projects/upwelling/Build/master.f90
cd /home/dell/Roms/projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math master.f90
/usr/bin/gfortran -frepack-arrays -O3 -ffast-math /home/dell/Roms/projects/upwelling/Build/esmf_roms.o /home/dell/Roms/projects/upwelling/Build/master.o /home/dell/Roms/projects/upwelling/Build/ocean_control.o /home/dell/Roms/projects/upwelling/Build/ocean_coupler.o /home/dell/Roms/projects/upwelling/Build/propagator.o /home/dell/Roms/projects/upwelling/Build/roms_export.o /home/dell/Roms/projects/upwelling/Build/roms_import.o -o /home/dell/Roms/projects/upwelling/oceanS /home/dell/Roms/projects/upwelling/Build/libUTIL.a /home/dell/Roms/projects/upwelling/Build/libNLM.a /home/dell/Roms/projects/upwelling/Build/libNLM_bio.a /home/dell/Roms/projects/upwelling/Build/libNLM_sed.a /home/dell/Roms/projects/upwelling/Build/libANA.a /home/dell/Roms/projects/upwelling/Build/libUTIL.a /home/dell/Roms/projects/upwelling/Build/libMODS.a -L/usr/local/lib/netcdf-fortran/lib -lnetcdff -L/usr/local/lib/netcdf-c/lib -L/usr/local/lib/hdf5/lib -L/usr/local/lib/zlib/lib -lnetcdf -lnetcdf -lhdf5_hl -lhdf5 -lz
rm -f -r /root/make_macros.mk
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling#

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#33 Unread post by kate »

Whew, that looks better. Does it run?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#34 Unread post by machaielder »

/oceanS <ocean_upwelling.in
./oceanS: error while loading shared libraries: libhdf5_hl.so.7: cannot open shared object file: No such file or directory
Hello Kate; thank you
It does not robleun and I am now try to understand the cause; I found a similar problem in he forum. see the link

viewtopic.php?f=31&t=1161

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#35 Unread post by machaielder »

the libhdf5_hl.so.7 is located in /usr/local/include/lib..what do I do

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#36 Unread post by machaielder »

root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling# ./oceanS <ocean_upwelling.in

Model Input Parameters: ROMS/TOMS version 3.7
Saturday - April 18, 2015 - 7:46:19 AM
-----------------------------------------------------------------------------

MOD_NCPARAM - Unable to open variable information file:
../External/varinfo.dat
Default file is located in source directory.
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling#

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#37 Unread post by machaielder »

solved using viewtopic.php?f=31&t=1
now I get the following error
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling# ./oceanS <ocean_upwelling.in

Model Input Parameters: ROMS/TOMS version 3.7
Saturday - April 18, 2015 - 8:05:48 AM
-----------------------------------------------------------------------------

Wind-Driven Upwelling/Downwelling over a Periodic Channel

Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /usr/bin/gfortran
Compiler flags : -frepack-arrays -O3 -ffast-math -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none

SVN Root URL : https://www.myroms.org/svn/src/trunk
SVN Revision : Unversioned directory

Local Root : /home/dell/Roms/trunk
Header Dir : /home/dell/Roms/projects/upwelling
Header file : upwelling.h
Analytical Dir: /home/dell/Roms/projects/upwelling

Resolution, Grid 01: 0041x0080x016, Parallel Threads: 1, Tiling: 003x003


Physical Parameters, Grid: 01
=============================

288 ntimes Number of timesteps for 3-D equations.
300.000 dt Timestep size (s) for 3-D equations.
30 ndtfast Number of timesteps for 2-D equations between
each 3D timestep.
1 ERstr Starting ensemble/perturbation run number.
1 ERend Ending ensemble/perturbation run number.
0 nrrec Number of restart records to read from disk.
T LcycleRST Switch to recycle time-records in restart file.
72 nRST Number of timesteps between the writing of data
into restart fields.
1 ninfo Number of timesteps between print of information
to standard output.
T ldefout Switch to create a new output NetCDF file(s).
72 nHIS Number of timesteps between the writing fields
into history file.
F LuvSponge Turning OFF sponge on horizontal momentum.
F LtracerSponge(01) Turning OFF sponge on tracer 01: temp
F LtracerSponge(02) Turning OFF sponge on tracer 02: salt
1.0000E-06 Akt_bak(01) Background vertical mixing coefficient (m2/s)
for tracer 01: temp
1.0000E-06 Akt_bak(02) Background vertical mixing coefficient (m2/s)
for tracer 02: salt
1.0000E-05 Akv_bak Background vertical mixing coefficient (m2/s)
for momentum.
3.0000E-04 rdrg Linear bottom drag coefficient (m/s).
3.0000E-03 rdrg2 Quadratic bottom drag coefficient.
2.0000E-02 Zob Bottom roughness (m).
2 Vtransform S-coordinate transformation equation.
4 Vstretching S-coordinate stretching function.
3.0000E+00 theta_s S-coordinate surface control parameter.
0.0000E+00 theta_b S-coordinate bottom control parameter.
25.000 Tcline S-coordinate surface/bottom layer width (m) used
in vertical coordinate stretching.
1025.000 rho0 Mean density (kg/m3) for Boussinesq approximation.
0.000 dstart Time-stamp assigned to model initialization (days).
0.00 time_ref Reference time for units attribute (yyyymmdd.dd)
0.0000E+00 Tnudg(01) Nudging/relaxation time scale (days)
for tracer 01: temp
0.0000E+00 Tnudg(02) Nudging/relaxation time scale (days)
for tracer 02: salt
0.0000E+00 Znudg Nudging/relaxation time scale (days)
for free-surface.
0.0000E+00 M2nudg Nudging/relaxation time scale (days)
for 2D momentum.
0.0000E+00 M3nudg Nudging/relaxation time scale (days)
for 3D momentum.
0.0000E+00 obcfac Factor between passive and active
open boundary conditions.
F VolCons(1) NLM western edge boundary volume conservation.
F VolCons(2) NLM southern edge boundary volume conservation.
F VolCons(3) NLM eastern edge boundary volume conservation.
F VolCons(4) NLM northern edge boundary volume conservation.
14.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.
1027.000 R0 Background density (kg/m3) used in linear Equation
of State.
1.7000E-04 Tcoef Thermal expansion coefficient (1/Celsius).
7.6000E-04 Scoef Saline contraction coefficient (1/PSU).
1.000 gamma2 Slipperiness variable: free-slip (1.0) or
no-slip (-1.0).
F LuvSrc Turning OFF momentum point Sources/Sinks.
F LwSrc Turning OFF volume influx point Sources/Sinks.
F LtracerSrc(01) Turning OFF point Sources/Sinks on tracer 01: temp
F LtracerSrc(02) Turning OFF point Sources/Sinks on tracer 02: salt
F LsshCLM Turning OFF processing of SSH climatology.
F Lm2CLM Turning OFF processing of 2D momentum climatology.
F Lm3CLM Turning OFF processing of 3D momentum climatology.
F LtracerCLM(01) Turning OFF processing of climatology tracer 01: temp
F LtracerCLM(02) Turning OFF processing of climatology tracer 02: salt
F LnudgeM2CLM Turning OFF nudging of 2D momentum climatology.
F LnudgeM3CLM Turning OFF nudging of 3D momentum climatology.
F LnudgeTCLM(01) Turning OFF nudging of climatology tracer 01: temp
F LnudgeTCLM(02) Turning OFF nudging of climatology tracer 02: salt
T Hout(idFsur) Write out free-surface.
T Hout(idUbar) Write out 2D U-momentum component.
T Hout(idVbar) Write out 2D V-momentum component.
T Hout(idUvel) Write out 3D U-momentum component.
T Hout(idVvel) Write out 3D V-momentum component.
T Hout(idWvel) Write out W-momentum component.
T Hout(idOvel) Write out omega vertical velocity.
T Hout(idTvar) Write out tracer 01: temp
T Hout(idTvar) Write out tracer 02: salt
T Hout(idDano) Write out density anomaly.

Output/Input Files:

Output Restart File: ocean_rst.nc
Output History File: ocean_his.nc

Tile partition information for Grid 01: 0041x0080x0016 tiling: 003x003

tile Istr Iend Jstr Jend Npts

0 1 14 1 27 6048
1 15 28 1 27 6048
2 29 41 1 27 5616
3 1 14 28 54 6048
4 15 28 28 54 6048
5 29 41 28 54 5616
6 1 14 55 80 5824
7 15 28 55 80 5824
8 29 41 55 80 5408

Tile minimum and maximum fractional coordinates for Grid 01:
(interior points only)

tile Xmin Xmax Ymin Ymax grid

0 -1.50 43.50 0.50 82.50 RHO-points
1 -2.50 43.50 0.50 82.50 RHO-points
2 -2.50 42.50 0.50 82.50 RHO-points
3 -1.50 43.50 -0.50 82.50 RHO-points
4 -2.50 43.50 -0.50 82.50 RHO-points
5 -2.50 42.50 -0.50 82.50 RHO-points
6 -1.50 43.50 -0.50 81.50 RHO-points
7 -2.50 43.50 -0.50 81.50 RHO-points
8 -2.50 42.50 -0.50 81.50 RHO-points

0 -2.00 43.50 0.50 82.50 U-points
1 -2.50 43.50 0.50 82.50 U-points
2 -2.50 42.00 0.50 82.50 U-points
3 -2.00 43.50 -0.50 82.50 U-points
4 -2.50 43.50 -0.50 82.50 U-points
5 -2.50 42.00 -0.50 82.50 U-points
6 -2.00 43.50 -0.50 81.50 U-points
7 -2.50 43.50 -0.50 81.50 U-points
8 -2.50 42.00 -0.50 81.50 U-points

0 -1.50 43.50 0.00 82.50 V-points
1 -2.50 43.50 0.00 82.50 V-points
2 -2.50 42.50 0.00 82.50 V-points
3 -1.50 43.50 -0.50 82.50 V-points
4 -2.50 43.50 -0.50 82.50 V-points
5 -2.50 42.50 -0.50 82.50 V-points
6 -1.50 43.50 -0.50 81.00 V-points
7 -2.50 43.50 -0.50 81.00 V-points
8 -2.50 42.50 -0.50 81.00 V-points

Lateral Boundary Conditions: NLM
============================

Variable Grid West Edge South Edge East Edge North Edge
--------- ---- ---------- ---------- ---------- ----------

zeta 1 Periodic Closed Periodic Closed

ubar 1 Periodic Closed Periodic Closed

vbar 1 Periodic Closed Periodic Closed

u 1 Periodic Closed Periodic Closed

v 1 Periodic Closed Periodic Closed

temp 1 Periodic Closed Periodic Closed

salt 1 Periodic Closed Periodic Closed

Activated C-preprocessing Options:

UPWELLING Wind-Driven Upwelling/Downwelling over a Periodic Channel
ANA_BSFLUX Analytical kinematic bottom salinity flux.
ANA_BTFLUX Analytical kinematic bottom temperature flux.
ANA_GRID Analytical grid set-up.
ANA_INITIAL Analytical initial conditions.
ANA_SMFLUX Analytical kinematic surface momentum flux.
ANA_SSFLUX Analytical kinematic surface salinity flux.
ANA_STFLUX Analytical kinematic surface temperature flux.
ANA_VMIX Analytical vertical mixing coefficients.
ASSUMED_SHAPE Using assumed-shape arrays.
DJ_GRADPS Parabolic Splines density Jacobian (Shchepetkin, 2002).
DOUBLE_PRECISION Double precision arithmetic.
NONLINEAR Nonlinear Model.
!NONLIN_EOS Linear Equation of State for seawater.
POWER_LAW Power-law shape time-averaging barotropic filter.
PROFILE Time profiling activated .
!RST_SINGLE Double precision fields in restart NetCDF file.
SALINITY Using salinity.
SOLVE3D Solving 3D Primitive Equations.
SPLINES Conservative parabolic spline reconstruction.
TS_C4HADVECTION Fourth-order centered horizontal advection of tracers.
TS_C4VADVECTION Fourth-order centered vertical advection of tracers.
UV_ADV Advection of momentum.
UV_COR Coriolis term.
UV_U3HADVECTION Third-order upstream horizontal advection of 3D momentum.
UV_C4VADVECTION Fourth-order centered vertical advection of momentum.
VAR_RHO_2D Variable density barotropic mode.

CHECKDEFS - no bottom stress formulation is selected.

Elapsed CPU time (seconds):


ROMS/TOMS - Output NetCDF summary for Grid 01:

ROMS/TOMS - Configuration error ..... exit_flag: 5


ERROR: Illegal model configuration.
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling#

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#38 Unread post by kate »

You need to set a bottom stress:
CHECKDEFS - no bottom stress formulation is selected.
You can look in checkdefs.F for the relevant section:

Code: Select all

!
!  Stop if no bottom stress formulation is selected.
!
      IF (Master.and.(ibbl.eq.0)) THEN 
        WRITE (stdout,50)
  50    FORMAT (/,' CHECKDEFS - no bottom stress formulation is',       &
     &            ' selected.')
        exit_flag=5
      END IF
Ways to set ibbl include: MB_BBL, SG_BBL, SW_BBL, UV_LDRAG, UV_LOGDRAG and UV_QDRAG. I'd start with UV_QDRAG.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#39 Unread post by machaielder »

when I #include "mb_bbl.h" in checkdefs.F I fet the following error

GRID(ng) % ZoBot, &
1
Error: 'zobot' at (1) is not a member of the 't_grid' structure
make: *** [/home/dell/Roms/projects/upwelling/Build/checkdefs.o] Error 1
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling#

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#40 Unread post by machaielder »

Hello Kate..it is solved..I made changes in upwelling.h

Total: 17.190 94.6877

All percentages are with respect to total time = 18.154

ROMS/TOMS - Output NetCDF summary for Grid 01:
number of time records written in HISTORY file = 00000005
number of time records written in RESTART file = 00000002

Analytical header files used:

ROMS/Functionals/ana_btflux.h
ROMS/Functionals/ana_grid.h
ROMS/Functionals/ana_initial.h
ROMS/Functionals/ana_smflux.h
ROMS/Functionals/ana_stflux.h
ROMS/Functionals/ana_vmix.h

ROMS/TOMS: DONE... Saturday - April 18, 2015 - 12:10:57 PM
root@dell-Inspiron-N5110:/home/dell/Roms/projects/upwelling#
naow I have upwelling_his.nc..were can I find the instructions for visualization

Thank you Kate

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#41 Unread post by kate »

On visualization, there's more than one way to do it. There's a suite of Matlab tools you can download from the myroms site which many people use. There's an old Fortran package called "plot", also on myroms. Others use other tools - anything that can work with NetCDF files. Examples: Ferret, NCL, Python,...

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#42 Unread post by machaielder »

Thanks kate..I will have a look on them. Regard

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#43 Unread post by kate »

I forgot to mention ncview, my favorite for a quick look at things.

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#44 Unread post by machaielder »

I installed ncview..and it gives the following error when I launch

root@dell-Inspiron-N5110:/home/dell# ncview
Ncview 2.1.5 David W. Pierce 18 Mar 2015
http://meteora.ucsd.edu:80/~pierce/ncvi ... _page.html
Copyright (C) 1993 through 2015, David W. Pierce
Ncview comes with ABSOLUTELY NO WARRANTY; for details type `ncview -w'.
This is free software licensed under the Gnu General Public License version 3; type `ncview -c' for redistribution details.

Note: could not open file /root/.ncviewrc for reading
ncview: takes at least one file name as argument

useage:
ncview [options] datafiles

Options
-minmax: selects how rapidly minimum and maximum
values in the data files will be determined;
by scanning every third time entry ("-minmax fast"),
every fifth time entry ("-minmax med"), every tenth
("-minmax slow"), or all entries ("-minmax all").
-frames: Dump out PNG images (to make a movie, for instance)
-nc: Specify number of colors to use.
-no1d: Do NOT allow 1-D variables to be displayed.
-repl: Set default blowup type to replicate rathern than bilinear.
-calendar: Specify time calendar to use, overriding value in file. Known: noleap standard gregorian 365_day 360_day.
-private: Use a private colormap.
-debug: Print lots of debugging info.
-beep: Ring the bell when the movie restarts at frame zero.
-extra: Put some extra information on the display window.
-mtitle: My title to use on the display window.
-noautoflip: Do not automatically flip image, even
if dimensions indicate that it would make sense.
-w: print the lack-of-warranty blurb.
-small: Keep popup window as small as possible by default.
-shrink_mode: Shrink image assuming integer classes, so most common
value in sub-block returned instead of arithmetic mean.
-listsel_max NN: max number of vars allowed before switching to menu selection
-no_color_ndims: do NOT color the var selection buttons by their dimensionality
-no_auto_overlay: do NOT automatically put on continental overlays
-autoscale: scale color map of EACH frame to range of that frame. Note: MUCH SLOWER!
-missvalrgb RRR GGG BBB: specifies 3 integers (range: 0 to 255) to use for missing value color
-maxsize: specifies max size of window before scrollbars are added. Either a single
integer between 30 and 100 giving percentage, or two integers separated by a
comma giving width and height. Ex: -maxsize 75 or -maxsize 800,600
-c: print the copying policy.
datafiles:
You can have up to 32 of these. They must all be in
the same general format, or have different variables in
them. Ncview tries its best under such circumstances.
root@dell-Inspiron-N5110:/home/dell#

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#45 Unread post by kate »

root@dell-Inspiron-N5110:/home/dell# ncview
ncview: takes at least one file name as argument

useage:
ncview [options] datafiles
Do you read these error messages?

machaielder
Posts: 43
Joined: Wed Mar 18, 2015 3:40 pm
Location: Universidade Federal Fluminense

Re: Roms installation Steps

#46 Unread post by machaielder »

yes I read ..that is what I am trying to figure out.[option]..I am searching it. Thank you kate

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#47 Unread post by kate »

The option in brackets is optional. The datafile (netcdf file name) is not.

lalvarez
Posts: 106
Joined: Wed Feb 03, 2010 6:59 pm
Location: Universidad Autonoma de Baja California Sur

Re: Roms installation Steps

#48 Unread post by lalvarez »

Hello to All

I changed from Windows to Linux Mint 17.1 "Rebecca" and I'm trying to install the Netcdf-4.3.3.1.

I have checked up and isntall the: Perl, diffutils, gcc-core, gcc c++, gcc gfortran, make, subversion, wget, bison, doxigen, curl, udunits, hdf5, libhdf5.

I move into my NETCDF/netcdf-4.3.3.1 directory and write:

nice ./configure --prefix=/usr/local --disable-shared --enable-netcdf-4 --enable-dap

and every thing goes fine, then i do:

nice make and have no errors
nice make check and get no errors, but when i do:
nice make install i get this error:

alvarez@lalvarez-H61MLV ~/NETCDF/netcdf-4.3.3.1 $ nice make install
Making install in include
make[1]: se ingresa al directorio «/home/lalvarez/NETCDF/netcdf-4.3.3.1/include»
make[2]: se ingresa al directorio «/home/lalvarez/NETCDF/netcdf-4.3.3.1/include»
make[2]: No se hace nada para «install-exec-am».
/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 netcdf.h netcdf_meta.h '/usr/local/include'
/usr/bin/install: no se puede crear el fichero regular «/usr/local/include/netcdf.h»: Permiso denegado
/usr/bin/install: no se puede crear el fichero regular «/usr/local/include/netcdf_meta.h»: Permiso denegado
make[2]: *** [install-includeHEADERS] Error 1
make[2]: se sale del directorio «/home/lalvarez/NETCDF/netcdf-4.3.3.1/include»
make[1]: *** [install-am] Error 2
make[1]: se sale del directorio «/home/lalvarez/NETCDF/netcdf-4.3.3.1/include»
make: *** [install-recursive] Error 1

Can Anyone give me a tip on what Am i doing wrong, please?

Thanks in advance

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Roms installation Steps

#49 Unread post by kate »

I would have thought you'd understand the errors better than I do. However, instead of:
nice make install
try
sudo make install

lalvarez
Posts: 106
Joined: Wed Feb 03, 2010 6:59 pm
Location: Universidad Autonoma de Baja California Sur

Re: Roms installation Steps

#50 Unread post by lalvarez »

Kate hello

I tryed the sudo make install and it did fine

I started up on linux yesterday, perhaps that's why cannot catch some stuff easily

Thanks a lot for Your fast replay and have a nice day :D

Post Reply