compile in fedora 8 with intel fortran

Facts, news, and guidance about ROMS software

Moderators: arango, robertson

Post Reply
Message
Author
User avatar
susonic
Posts: 170
Joined: Tue Aug 21, 2007 5:44 pm
Location: UST21 / Korea
Contact:

compile in fedora 8 with intel fortran

#1 Unread post by susonic »

Hi~
I've just installed Linux fedora8 and set up Intel Fortran 10.1.015_x86_64 together with
netcdf 3.6.2_x96_64 I also set up roms-3.0
However whenever I try to compile I got below message. What seems to be the problem?
What else I should install more about Linux system. I don't know much about Linux system so, detail answer would be appreciated.
makefile:230: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cp -f /usr/local/include/netcdf.mod Build
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/SeaIce -I ROMS/Utility -I ROMS/Drivers -I ROMS/Functionals -I Master -I Compilers --silent --moddir Build ROMS/Nonlinear/bbl.F ROMS/Nonlinear/bc_2d.F ROMS/Nonlinear/bc_3d.F ROMS/Nonlinear/biology.F ROMS/Nonlinear/bulk_flux.F ROMS/Nonlinear/bvf_mix.F ROMS/Nonlinear/conv_2d.F ROMS/Nonlinear/conv_3d.F ROMS/Nonlinear/diag.F ROMS/Nonlinear/exchange_2d.F ROMS/Nonlinear/exchange_3d.F ROMS/Nonlinear/forcing.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/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/sediment.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/wvelocity.F ROMS/Nonlinear/zetabc.F ROMS/Functionals/analytical.F ROMS/SeaIce/seaice.F ROMS/Utility/abort.F ROMS/Utility/back_cost.F ROMS/Utility/back_cov.F ROMS/Utility/back_step.F ROMS/Utility/cgradient.F ROMS/Utility/checkdefs.F ROMS/Utility/checkerror.F ROMS/Utility/checkvars.F ROMS/Utility/close_io.F ROMS/Utility/congrad.F ROMS/Utility/cost_grad.F ROMS/Utility/cost_norm.F ROMS/Utility/def_avg.F ROMS/Utility/def_diags.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_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/descent.F ROMS/Utility/distribute.F ROMS/Utility/dotproduct.F ROMS/Utility/downhill.F ROMS/Utility/extract_obs.F ROMS/Utility/extract_sta.F ROMS/Utility/frc_adjust.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_state.F ROMS/Utility/get_varcoords.F ROMS/Utility/grid_coords.F ROMS/Utility/impulse.F ROMS/Utility/ini_adjust.F ROMS/Utility/inp_par.F ROMS/Utility/interpolate.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.F ROMS/Utility/nf_fread3d.F ROMS/Utility/nf_fread4d.F ROMS/Utility/nf_fwrite2d.F ROMS/Utility/nf_fwrite3d.F ROMS/Utility/nf_fwrite4d.F ROMS/Utility/normalization.F ROMS/Utility/nrutil.F ROMS/Utility/obs_cost.F ROMS/Utility/obs_depth.F ROMS/Utility/obs_initial.F ROMS/Utility/obs_read.F ROMS/Utility/obs_scale.F ROMS/Utility/obs_write.F ROMS/Utility/oi_update.F ROMS/Utility/opencdf.F ROMS/Utility/packing.F ROMS/Utility/ran1.F ROMS/Utility/ran_state.F ROMS/Utility/regrid.F ROMS/Utility/set_2dfld.F ROMS/Utility/set_2dfldr.F ROMS/Utility/set_3dfld.F ROMS/Utility/set_3dfldr.F ROMS/Utility/set_diags.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/state_addition.F ROMS/Utility/state_copy.F ROMS/Utility/state_dotprod.F ROMS/Utility/state_initialize.F ROMS/Utility/state_scale.F ROMS/Utility/stats_modobs.F ROMS/Utility/stiffness.F ROMS/Utility/timers.F ROMS/Utility/utility.F ROMS/Utility/white_noise.F ROMS/Utility/wpoints.F ROMS/Utility/wrt_avg.F ROMS/Utility/wrt_diags.F ROMS/Utility/wrt_floats.F ROMS/Utility/wrt_gst.F ROMS/Utility/wrt_hessian.F ROMS/Utility/wrt_his.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/Modules/mod_arrays.F ROMS/Modules/mod_average.F ROMS/Modules/mod_bbl.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_obs.F ROMS/Modules/mod_ocean.F ROMS/Modules/mod_parallel.F ROMS/Modules/mod_param.F ROMS/Modules/mod_scalars.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/pang/roms-3.0/Compilers/make_macros.mk Build
makefile:226: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bbl.F > Build/bbl.f90
ROMS/Bin/cpp_clean Build/bbl.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bc_2d.F > Build/bc_2d.f90
ROMS/Bin/cpp_clean Build/bc_2d.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/exchange_2d.F > Build/exchange_2d.f90
ROMS/Bin/cpp_clean Build/exchange_2d.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_param.F > Build/mod_param.f90
ROMS/Bin/cpp_clean Build/mod_param.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_kinds.F > Build/mod_kinds.f90
ROMS/Bin/cpp_clean Build/mod_kinds.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_kinds.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_param.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW exchange_2d.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_grid.F > Build/mod_grid.f90
ROMS/Bin/cpp_clean Build/mod_grid.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_grid.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_scalars.F > Build/mod_scalars.f90
ROMS/Bin/cpp_clean Build/mod_scalars.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_scalars.f90
mod_scalars.f90(831): (col. 7) remark: LOOP WAS VECTORIZED.
mod_scalars.f90(833): (col. 7) remark: LOOP WAS VECTORIZED.
mod_scalars.f90(914): (col. 9) remark: LOOP WAS VECTORIZED.
cd Build; ifort -c -openmp -fpp -ip -O3 -xW bc_2d.f90
bc_2d.f90(216): (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(221): (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(145): (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(150): (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(73): (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(78): (col. 9) remark: LOOP WAS VECTORIZED.
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_bbl.F > Build/mod_bbl.f90
ROMS/Bin/cpp_clean Build/mod_bbl.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_bbl.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_forces.F > Build/mod_forces.f90
ROMS/Bin/cpp_clean Build/mod_forces.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_forces.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_ocean.F > Build/mod_ocean.f90
ROMS/Bin/cpp_clean Build/mod_ocean.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_sediment.F > Build/mod_sediment.f90
ROMS/Bin/cpp_clean Build/mod_sediment.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_sediment.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_ocean.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_parallel.F > Build/mod_parallel.f90
ROMS/Bin/cpp_clean Build/mod_parallel.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_iounits.F > Build/mod_iounits.f90
ROMS/Bin/cpp_clean Build/mod_iounits.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_iounits.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' -DMY_OS='"Linux"' -DMY_CPU='"x86_64"' -DMY_FORT='"ifort "' -DMY_FC='"ifort"' -DMY_FFLAGS='" -openmp -fpp -ip -O3 -xW -free"' ROMS/Modules/mod_strings.F > Build/mod_strings.f90
ROMS/Bin/cpp_clean Build/mod_strings.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW -free mod_strings.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_parallel.f90
mod_parallel.f90(106): (col. 11) remark: LOOP WAS VECTORIZED.
mod_parallel.f90(107): (col. 11) remark: LOOP WAS VECTORIZED.
mod_parallel.f90(107): (col. 11) remark: LOOP WAS VECTORIZED.
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_stepping.F > Build/mod_stepping.f90
ROMS/Bin/cpp_clean Build/mod_stepping.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_stepping.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Utility/mp_exchange.F > Build/mp_exchange.f90
ROMS/Bin/cpp_clean Build/mp_exchange.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mp_exchange.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW bbl.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bc_3d.F > Build/bc_3d.f90
ROMS/Bin/cpp_clean Build/bc_3d.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/exchange_3d.F > Build/exchange_3d.f90
ROMS/Bin/cpp_clean Build/exchange_3d.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW exchange_3d.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW bc_3d.f90
bc_3d.f90(303): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(310): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(229): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(236): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(153): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(160): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(76): (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(83): (col. 11) remark: LOOP WAS VECTORIZED.
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/biology.F > Build/biology.f90
ROMS/Bin/cpp_clean Build/biology.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_biology.F > Build/mod_biology.f90
ROMS/Bin/cpp_clean Build/mod_biology.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_eclight.F > Build/mod_eclight.f90
ROMS/Bin/cpp_clean Build/mod_eclight.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_eclight.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_biology.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_diags.F > Build/mod_diags.f90
ROMS/Bin/cpp_clean Build/mod_diags.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_diags.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_ncparam.F > Build/mod_ncparam.f90
ROMS/Bin/cpp_clean Build/mod_ncparam.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW -free mod_ncparam.f90
mod_ncparam.f90(596): (col. 11) remark: LOOP WAS VECTORIZED.
mod_ncparam.f90(659): (col. 9) remark: LOOP WAS VECTORIZED.
mod_ncparam.f90(668): (col. 13) remark: BLOCK WAS VECTORIZED.
cd Build; ifort -c -openmp -fpp -ip -O3 -xW biology.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bulk_flux.F > Build/bulk_flux.f90
ROMS/Bin/cpp_clean Build/bulk_flux.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_mixing.F > Build/mod_mixing.f90
ROMS/Bin/cpp_clean Build/mod_mixing.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW mod_mixing.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW bulk_flux.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/bvf_mix.F > Build/bvf_mix.f90
ROMS/Bin/cpp_clean Build/bvf_mix.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW bvf_mix.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/conv_2d.F > Build/conv_2d.f90
ROMS/Bin/cpp_clean Build/conv_2d.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW conv_2d.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/conv_3d.F > Build/conv_3d.f90
ROMS/Bin/cpp_clean Build/conv_3d.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW conv_3d.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Nonlinear/diag.F > Build/diag.f90
ROMS/Bin/cpp_clean Build/diag.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Functionals/analytical.F > Build/analytical.f90
ROMS/Bin/cpp_clean Build/analytical.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Utility/distribute.F > Build/distribute.f90
ROMS/Bin/cpp_clean Build/distribute.f90
/usr/bin/cpp -P -traditional -D_OPENMP -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/home/pang/roms-3.0"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/home/pang/roms-3.0/ROMS/Functionals"' -D'SVN_REV="184M"' -IROMS/Include -IROMS/Nonlinear -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -ICompilers -D'HEADER_DIR="./ROMS/Include"' ROMS/Modules/mod_netcdf.F > Build/mod_netcdf.f90
ROMS/Bin/cpp_clean Build/mod_netcdf.f90
cd Build; ifort -c -openmp -fpp -ip -O3 -xW -free mod_netcdf.f90
fortcom: Error: mod_netcdf.f90, line 19: This module file was not generated by any release of this compiler. [NETCDF]
USE netcdf
------------^
fortcom: Error: mod_netcdf.f90, line 21: This symbol must be a defined parameter or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_REAL]
integer, parameter :: NF_FOUT = nf90_real
----------------------------------------^
fortcom: Error: mod_netcdf.f90, line 22: This symbol must be a defined parameter or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_DOUBLE]
integer, parameter :: NF_FRST = nf90_double
----------------------------------------^
fortcom: Error: mod_netcdf.f90, line 23: This symbol must be a defined parameter or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_DOUBLE]
integer, parameter :: NF_TYPE = nf90_double
----------------------------------------^
fortcom: Error: mod_netcdf.f90, line 21: This name does not have a type, and must have an explicit type. [NF90_REAL]
integer, parameter :: NF_FOUT = nf90_real
----------------------------------------^
fortcom: Error: mod_netcdf.f90, line 22: This name does not have a type, and must have an explicit type. [NF90_DOUBLE]
integer, parameter :: NF_FRST = nf90_double
----------------------------------------^
compilation aborted for mod_netcdf.f90 (code 1)
make: *** [Build/mod_netcdf.o] Error 1
[pang@OCEAN roms-3.0]$ make clean
rm -f -r core *.ipo Build Compilers/make_macros.mk
Here is my Linux-ifort.mk file in roms-3.0
FC := ifort
FFLAGS :=
CPP := /usr/bin/cpp
CPPFLAGS := -P -traditional
LD := $(FC)
LDFLAGS := -Vaxlib
AR := ar
ARFLAGS := r
MKDIR := mkdir -p
RM := rm -f
RANLIB := ranlib
PERL := perl
TEST := test

MDEPFLAGS := --cpp --fext=f90 --file=- --objdir=$(SCRATCH_DIR)
Thanks in advance.
-peter

linzhenhua
Posts: 64
Joined: Mon Oct 17, 2005 2:02 am
Location: Institute of Oceanology,Chinese Academy of Sciences

#2 Unread post by linzhenhua »

One possible reason might be that you do not compile netcdf with the same compiler as you compile roms.

User avatar
susonic
Posts: 170
Joined: Tue Aug 21, 2007 5:44 pm
Location: UST21 / Korea
Contact:

#3 Unread post by susonic »

Hi! linzhenhua

Thank you for the reply. I just solved the error a few minutes ago. :lol:
It was the exact right error which you mentioned. I was so naive about Linux system therefore I didn't know which netcdf I should download.
(I just downloaded netcdf-3.6.2_linux64.tar.gz) And I got a wrong one. So that was the reason why I couldn't compile. Anyway, I think I'm learning more about Linux system.

Good luck to your work and Thanks again for the reply. :D

Post Reply