[Wrf-users] WRF v3.5.1 compilation errors, ifort v14. What do I miss?
Dmitry N. Mikushin
maemarcus at gmail.com
Mon Mar 3 10:33:11 MST 2014
This is a compiler crash. If compiler is crashing or takes too long,
the usual thing to try is to reduce the compiler optimization level
for the problematic source file, e.g. try -O1 instead of -O3:
$ mpif90 -f90=ifort -o module_bl_temf.o -c -O1 -ip -fp-model precise -w
-ftz -align all -fno-alias -FR -convert big_endian -I../dyn_em
-I../dyn_nmm -I/home/dotcoder/src/WRFV3/
external/esmf_time_f90
-I/home/dotcoder/src/WRFV3/main -I/
home/dotcoder/src/WRFV3/external/io_netcdf
-I/home/dotcoder/src/WRFV3/external/io_int
-I/home/dotcoder/src/WRFV3/frame -I/home/dotcoder/src/WRFV3/share
-I/home/dotcoder/src/WRFV3/phys -I/home/dotcoder/src/WRFV3/chem
-I/home/dotcoder/src/
WRFV3/inc -I/usr/local/netcdf-4.3.1.1//include -i4 module_bl_temf.f90
Best,
- D.
2014-03-03 12:56 GMT+01:00 Бакиров, Медер <bakirov at almetico.com>:
> Dear Sirs!
>
> Can you, please, help me to successfully build WRF v.3.5.1?
>
> I'm trying to compile WRF 3.5.1 using Intel compiler, but
> unfortunately stuck with the following error:
> ------------------------
> mpif90 -f90=ifort -o module_bl_temf.o -c -O3 -ip -fp-model precise -w
> -ftz -align all -fno-alias -FR -convert big_endian -I../dyn_em
> -I../dyn_nmm -I/home/dotcoder/src/WRFV3/external/esmf_time_f90
> -I/home/dotcoder/src/WRFV3/main -I/
> home/dotcoder/src/WRFV3/external/io_netcdf
> -I/home/dotcoder/src/WRFV3/external/io_int
> -I/home/dotcoder/src/WRFV3/frame -I/home/dotcoder/src/WRFV3/share
> -I/home/dotcoder/src/WRFV3/phys -I/home/dotcoder/src/WRFV3/chem
> -I/home/dotcoder/src/
> WRFV3/inc -I/usr/local/netcdf-4.3.1.1//include -i4 module_bl_temf.f90
> catastrophic error: **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 module_bl_temf.f90 (code 1)
> make[3]: [module_bl_temf.o] Error 1 (ignored)
> ------------------------
>
> I have a RHEL 5.10 x86_64 system installed.
>
> In WRF configure menu, I select:
> ------------------------
> 19. Linux x86_64 i486 i586 i686, ifort compiler with icc (dmpar)
> ------------------------
>
> Intel Compiler Version:
> ------------------------
> Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on
> Intel(R) 64, Version 14.0.2.144 Build 20140120
> Copyright (C) 1985-2014 Intel Corporation. All rights reserved.
> FOR NON-COMMERCIAL USE ONLY
> ------------------------
>
> All prerequisite software is built with Intel compiler:
> ------------------------
> - netcdf-4.3.1.1
> - mpich-3.1
> - jasper-1.900.1
> - hdf5-1.8.12
> - libpng-1.6.9
> - szip-2.1
> - zlib-1.2.8
> ------------------------
>
> Flags are set to:
> ------------------------
> export CC=icc
> export CXX=icpc
> export CFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
> export CXXFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
> export F77=ifort
> export FC=ifort
> export F90=ifort
> export FFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
> export CPP='icc -E'
> export CXXCPP='icpc -E'
> ------------------------
>
> I have the following environment variables:
> ------------------------
> NETCDF=/usr/local/netcdf-4.3.1.1/
> JASPERINC=/usr/local/jasper-1.900.1/include/
> JASPERLIB=/usr/local/jasper-1.900.1/lib/
> INCLUDE=/opt/include/:/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/opt/intel/composer_xe_2013_sp1.2.144/mkl/include:/usr/local/mpich-3.1/include/:/usr/local/netcdf-4.3.1.1/include/:/usr/local/hdf5-1.8.12/include/:/usr/local/jasper-1.900.1/include/:/usr/local/zlib-1.2.8/include/:/usr/local/szip-2.1/include/:/usr/local/libpng-1.6.9/include/
> ------------------------
>
> Please, find an attachment for a full gzipped compile log file.
>
> What more information should I provide?
>
> Thanks!
>
> With the best regards,
> Meder Bakirov
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
More information about the Wrf-users
mailing list