complier problem on linux ifort, Thank you very my much

Facts, news, and guidance about ROMS software

Moderators: arango, robertson

Post Reply
Message
Author
viviocean
Posts: 10
Joined: Mon Jul 21, 2008 1:45 pm
Location: OUC

complier problem on linux ifort, Thank you very my much

#1 Unread post by viviocean »

use ifort and netcdf3.6.1 and sometinmes such error come out and sometimes it works. so i am comfused,could you give me some suggestions.
Upwelling case:
the associated file is attatch as a tar file

makefile: use ifort complier
Linux-ifort.mk: only change the the directory of netcdf3.6.1
makedepenend: change the directory


make.log are as follows

makefile:228: INCLUDING FILE ./Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
svn: This client is too old to work with working copy ''; please get a newer Subversion client
cd ./Build; ifort -c -ip -O3 -xW mod_kinds.f90
cd ./Build; ifort -c -ip -O3 -xW mod_param.f90
cd ./Build; ifort -c -ip -O3 -xW exchange_2d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_grid.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_scalars.f90
mod_scalars.f90(828) : (col. 7) remark: LOOP WAS VECTORIZED.
mod_scalars.f90(830) : (col. 7) remark: LOOP WAS VECTORIZED.
mod_scalars.f90(911) : (col. 9) remark: LOOP WAS VECTORIZED.
cd ./Build; ifort -c -ip -O3 -xW bc_2d.f90
bc_2d.f90(73) : (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(78) : (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(216) : (col. 9) remark: LOOP WAS VECTORIZED.
bc_2d.f90(221) : (col. 9) remark: LOOP WAS VECTORIZED.
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_bbl.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_forces.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_sediment.f90
cd ./Build; ifort -c -ip -O3 -xW mod_ocean.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_iounits.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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='" -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 -ip -O3 -xW -free mod_strings.f90
cd ./Build; ifort -c -ip -O3 -xW mod_parallel.f90
mod_parallel.f90(103) : (col. 11) remark: LOOP WAS VECTORIZED.
mod_parallel.f90(104) : (col. 11) remark: LOOP WAS VECTORIZED.
mod_parallel.f90(105) : (col. 11) remark: LOOP WAS VECTORIZED.
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_stepping.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mp_exchange.f90
cd ./Build; ifort -c -ip -O3 -xW bbl.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW exchange_3d.f90
cd ./Build; ifort -c -ip -O3 -xW bc_3d.f90
bc_3d.f90(76) : (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(83) : (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(229) : (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(236) : (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(303) : (col. 11) remark: LOOP WAS VECTORIZED.
bc_3d.f90(310) : (col. 11) remark: LOOP WAS VECTORIZED.
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_eclight.f90
cd ./Build; ifort -c -ip -O3 -xW mod_biology.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_diags.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -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 -ip -O3 -xW biology.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW mod_mixing.f90
cd ./Build; ifort -c -ip -O3 -xW bulk_flux.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW bvf_mix.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW conv_2d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW conv_3d.f90
/usr/bin/cpp -P -traditional -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/export/home/shumo/wlj/ROMS/roms/trunk"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="upwelling.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/export/home/shumo/wlj/ROMS/roms/trunk/ROMS/Functionals"' -D'SVN_REV=""' -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 -ip -O3 -xW -free mod_netcdf.f90
fortcom: Severe: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.

compilation aborted for mod_netcdf.f90 (code 3)
make: *** [Build/mod_netcdf.o] Error 3
Attachments
wu.rar
(21.2 KiB) Downloaded 382 times

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

Re: complier problem on linux ifort, Thank you very my much

#2 Unread post by kate »

fortcom: Severe: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
This is just what it says - your compiler is unable to compile that file. It is a bug in your compiler, not in ROMS - even if ROMS were at fault, the compiler should be able to handle it more gracefully.

As for the combination of Linux and ifort, I can't personally test it, but I'd be surprised if someone else doesn't have it working with ROMS. Do you have the latest version of ifort?

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: complier problem on linux ifort, Thank you very my much

#3 Unread post by m.hadfield »

Kate is right: an internal compiler error always indicates a problem with the compiler. Even if there is a problem with a compiler's input, the compiler should not crash. That said, internal compiler errors are often triggered by problems with the input files. In this case the first thing I would suspect is this statement

Code: Select all

      USE netcdf
which appears several times in mod_netcdf.F. For this to work, there must be a file called netcdf.mod containing the interface definitions for the netCDF Fortran 90 interface. All going well, this will have been copied from your netCDF include directory (the one pointed to by variable NETCDF_INCDIR), but only if your netCDF library was built, with Fortran 90 support enabled, by an Intel Fortran compiler, preferably the same version as the one you're using now.

PhilipButler

Re: complier problem on linux ifort, Thank you very my much

#4 Unread post by PhilipButler »

I use ifort version 10 under Linux Debian Etch, on a machine with an AMD Athlon CPU.

Your error looks as though the compiler is trying to optimise code for the wrong processor. ifort optimises code by taking advantage of very specific features of each CPU version; the optimisations obviously mostly cover Intel's own processors rather than the clones. I remember that ifort behaves not very elegantly when encountering the wrong hardware.

What exact CPU are you using? Try and remove some optimisations / declare the correct type of processor (sorry, my system is not at hand right now so I cannot provide details). If you want to get maximum performance, you may need to change your hardware for something with a recent genuine Intel processor (the reason why they give away the compiler...).

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

Re: complier problem on linux ifort, Thank you very my much

#5 Unread post by kate »

PhilipButler wrote:What exact CPU are you using? Try and remove some optimisations / declare the correct type of processor (sorry, my system is not at hand right now so I cannot provide details). If you want to get maximum performance, you may need to change your hardware for something with a recent genuine Intel processor (the reason why they give away the compiler...).
I've been told that ifort doesn't work at all with non-Intel chips, doing subtly wrong things. Our Linux systems are Opteron, so we run Pathscale and PGI compilers.

Post Reply