[Wrf-users] [WRF v3.5.1, smpar, ifort v14] Compilation errors for real_em.f90 with parallel make

Fotis Georgatos kefalonia at gmail.com
Thu Mar 13 04:35:26 MDT 2014


Hi Dmitry, Bakirov,

what you are likely asking for is not about the configure vs cmake debate;
I'd rather hint towards scripted mechanisms for building scientific
software, fi. EasyBuild's esyconfigs:
https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/w/WRF/WRF-3.5.1-ictce-5.3.0-dmpar.eb

What you just described can be handled via a `maxparallel=1` directive.
(and interestingly, sometimes this kind of failure modes can be
filesystem-specific, ie. site-specific)

best,
Fotis




On Wed, Mar 12, 2014 at 5:18 PM, Dmitry N. Mikushin <maemarcus at gmail.com>wrote:

> I ran into this some time ago. Instead of endlessly fixing that,
> someone should rewrite WRF's build system from a buggy makefile into
> something modern, e.g. CMake. Particularly CMake would also make the
> Windows users happy.
>
> - D.
>
> 2014-03-12 16:22 GMT+04:00 Бакиров, Медер <bakirov at almetico.com>:
> > Dear Sirs!
> >
> > There are build errors, when running compile in parallel (where N>1 in
> > 'compile -j N'), with 'compile -j 1' everything is fine. Is it
> > sufficient to report this as a bug in this list?
> >
> > I have a RHEL 6.5 x86_64.
> > ifort v14.0.2.144 Build 20140120
> > WRF 3.5.1
> > NetCDF 3.6.3
> >
> > Error message:
> > --------------------------------------
> > ( cd main ; make -i -r MODULE_DIRS="-I../dyn_em -I../dyn_nmm
> > -I/opt/WRFV3/external/esmf_time_f90  -I/opt/WRFV3/main
> > -I/opt/WRFV3/external/io_netcdf -I/opt/WRFV3/external/io_int
> > -I/opt/WRFV3/frame -I/opt/WRFV3/share -I/opt/WRFV3/phys -I
> > /opt/WRFV3/chem -I/opt/WRFV3/inc -I/opt/netcdf-3.6.3//include
> > -I/opt/intel/composer_xe_2013_sp1.2.144/mkl/include
> > -I/opt/intel/composer_xe_2013_sp1.2.144/compiler/include " SOLVER=em
> > IDEAL_CASE=real em_real )
> > make[1]: Entering directory `/opt/WRFV3/main'
> > rm -f ../dyn_em/module_initialize_real.o
> > /lib/cpp -C -P -I/opt/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0
> > -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0
> > -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4
> > -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DNETCDF -DUSE_ALLOCATA
> > BLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536
> > -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional
> > -D_OPENMP ../dyn_em/module_initialize_real.F  >
> > ../dyn_em/module_initialize_real.bb
> > rm -f real_em.o
> > /lib/cpp -C -P -I/opt/WRFV3/inc -DEM_CORE=1 -DNMM_CORE=0
> > -DNMM_MAX_DIM=2600 -DCOAMPS_CORE=0 -DDA_CORE=0 -DEXP_CORE=0
> > -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4
> > -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM  -DNETCDF -DUSE_ALLOCATA
> > BLES -DGRIB1 -DINTIO -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536
> > -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0  -I. -traditional
> > -D_OPENMP real_em.F  > real_em.bb
> > /opt/WRFV3/tools/standard.exe real_em.bb | /lib/cpp -C -P > real_em.f90
> > /opt/WRFV3/tools/standard.exe ../dyn_em/module_initialize_real.bb |
> > /lib/cpp -C -P > ../dyn_em/module_initialize_real.f90
> > rm -f real_em.b real_em.bb
> > ifort -o real_em.o -c -O3 -ip -w -ftz -align all -fno-alias -FR
> > -convert big_endian -xHost -fp-model fast=2 -no-heap-arrays
> > -no-prec-div -no-prec-sqrt -fno-common -static-intel  -openmp -fpp
> > -auto -I../dyn_em -I../dyn_nmm   -I/opt/WRFV3/
> > external/esmf_time_f90  -I/opt/WRFV3/main
> > -I/opt/WRFV3/external/io_netcdf -I/opt/WRFV3/external/io_int
> > -I/opt/WRFV3/frame -I/opt/WRFV3/share -I/opt/WRFV3/phys
> > -I/opt/WRFV3/chem -I/opt/WRFV3/inc -I/opt/netcdf-3.6.3//include
> > -I/opt/intel/c
> > omposer_xe_2013_sp1.2.144/mkl/include
> > -I/opt/intel/composer_xe_2013_sp1.2.144/compiler/include  -i4
> > real_em.f90
> > ifort: command line remark #10382: option '-xHOST' setting '-xAVX'
> > rm -f ../dyn_em/module_initialize_real.b ../dyn_em/
> module_initialize_real.bb
> > ifort -o ../dyn_em/module_initialize_real.o -c -O3 -ip -w -ftz -align
> > all -fno-alias -FR -convert big_endian -xHost -fp-model fast=2
> > -no-heap-arrays -no-prec-div -no-prec-sqrt -fno-common -static-intel
> > -openmp -fpp -auto -I../dyn_em -I.
> > ./dyn_nmm   -I/opt/WRFV3/external/esmf_time_f90  -I/opt/WRFV3/main
> > -I/opt/WRFV3/external/io_netcdf -I/opt/WRFV3/external/io_int
> > -I/opt/WRFV3/frame -I/opt/WRFV3/share -I/opt/WRFV3/phys
> > -I/opt/WRFV3/chem -I/opt/WRFV3/inc -I/opt/netcdf-3.6.
> > 3//include -I/opt/intel/composer_xe_2013_sp1.2.144/mkl/include
> > -I/opt/intel/composer_xe_2013_sp1.2.144/compiler/include  -i4
> > ../dyn_em/module_initialize_real.f90
> > ifort: command line remark #10382: option '-xHOST' setting '-xAVX'
> > real_em.f90(12): error #7002: Error in opening the compiled module
> > file.  Check INCLUDE paths.   [MODULE_INITIALIZE_REAL]
> >    USE module_initialize_real, ONLY : wrfu_initialize, find_my_parent,
> > find_my_parent2
> > -------^
> > real_em.f90(91): error #6632: Keyword arguments are invalid without an
> > explicit interface.   [DEFAULTCALKIND]
> >    CALL WRFU_Initialize( defaultCalKind=WRFU_CAL_GREGORIAN, rc=rc )
> > -------------------------^
> > real_em.f90(91): error #6632: Keyword arguments are invalid without an
> > explicit interface.   [RC]
> >    CALL WRFU_Initialize( defaultCalKind=WRFU_CAL_GREGORIAN, rc=rc )
> > ------------------------------------------------------------^
> > real_em.f90(12): error #6580: Name in only-list does not exist.
> > [WRFU_INITIALIZE]
> >    USE module_initialize_real, ONLY : wrfu_initialize, find_my_parent,
> > find_my_parent2
> > --------------------------------------^
> > real_em.f90(12): error #6580: Name in only-list does not exist.
> > [FIND_MY_PARENT]
> >    USE module_initialize_real, ONLY : wrfu_initialize, find_my_parent,
> > find_my_parent2
> > -------------------------------------------------------^
> > real_em.f90(12): error #6580: Name in only-list does not exist.
> > [FIND_MY_PARENT2]
> >    USE module_initialize_real, ONLY : wrfu_initialize, find_my_parent,
> > find_my_parent2
> > -----------------------------------------------------------------------^
> > real_em.f90(258): error #7002: Error in opening the compiled module
> > file.  Check INCLUDE paths.   [MODULE_INITIALIZE_REAL]
> >    USE module_initialize_real
> > -------^
> > real_em.f90(340): error #6404: This name does not have a type, and
> > must have an explicit type.   [INTERNAL_TIME_LOOP]
> >       internal_time_loop = loop
> > ------^
> > compilation aborted for real_em.f90 (code 1)
> > make[1]: [real_em.o] Error 1 (ignored)
> > --------------------------------------
> >
> > With the best regards,
> > Meder Bakirov
> > _______________________________________________
> > Wrf-users mailing list
> > Wrf-users at ucar.edu
> > http://mailman.ucar.edu/mailman/listinfo/wrf-users
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>



-- 
-- 
echo "sysadmin know better bash than english"|sed s/min/mins/ \
  | sed 's/better bash/bash better/' # Yelling in a CERN forum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20140313/8443dbdf/attachment-0001.html 


More information about the Wrf-users mailing list