<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p dir="auto" style=" text-align: left; margin-top: 25px; margin-bottom: 25px; font-family: sans-serif; font-size: 11pt; color: black; background-color: white ">
Everything is compiled with the same compiler, it took forever. The module it's referencing is actually compiled during the WRF compile, from what I can tell, which makes the error all the more uninformative.
</p>
<p dir="auto" style=" text-align: left; margin-top: 25px; margin-bottom: 25px; font-family: sans-serif; font-size: 11pt; color: black; background-color: white ">
</p>
<p dir="auto" style=" text-align: left; margin-top: 25px; margin-bottom: 25px; font-family: sans-serif; font-size: 11pt; color: black; background-color: white ">
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></p>
<br>
<p></p>
<br>
<br>
<br>
<div class="gmail_quote">On Tue, Feb 14, 2017 at 11:46 AM -0600, "Ever Daniel Barreto Rojas"
<span dir="ltr"><<a href="mailto:everdaniel@gmail.com" target="_blank">everdaniel@gmail.com</a>></span> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="3D"ltr"">
<div dir="ltr">Hey there,
<div><br>
</div>
<div>just my 2 cents, from this message:</div>
<div><br>
</div>
<div>module_dm.f90(1136): error #7013: This module file was not generated by any release of this compiler. [MPI]<br>
</div>
<div><br>
</div>
<div>it makes it sound as if the model was not generate with the compiler you're currently using. Did you use the same compiler to compile the other dependencies?</div>
<div><br>
</div>
<div>Did you tried to follow this tutorial?:</div>
<div><a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php">http://www2.mmm.ucar.edu/wrf/OnLineTutorial/compilation_tutorial.php</a><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">---<br>
Ever Daniel Barreto Rojas<br>
everdaniel at gmail dot com<br>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2017-02-14 10:46 GMT-03:00 Mark Potter <span dir="ltr"><<a href="mailto:mpotter@pcpcdirect.com" target="_blank">mpotter@pcpcdirect.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>I am attempting to compile WRF/WPS with the Intel Parallel Suite 2017 U1. I have compiled all of the requirements (HDF5, NetCDF, Jasper, et al) with the same compiler. Here are the relevant bits from configure.wrf</div>
<div><br>
</div>
<div>-----</div>
<div><br>
</div>
<div>DESCRIPTION = INTEL ($SFC/$SCC)</div>
<div>DMPARALLEL = 1</div>
<div>OMPCPP = # -D_OPENMP</div>
<div>OMP = # -openmp -fpp -auto</div>
<div>OMPCC = # -openmp -fpp -auto</div>
<div>SFC = ifort</div>
<div>SCC = icc</div>
<div>CCOMP = icc</div>
<div>DM_FC = mpif90 -f90=$(SFC)</div>
<div>DM_CC = mpicc -cc=$(SCC) -DMPI2_SUPPORT</div>
<div>FC = time $(DM_FC)</div>
<div>CC = $(DM_<wbr>CC) -DFSEEKO64_OK</div>
<div>LD = $(FC)</div>
<div>RWORDSIZE = $(<wbr>NATIVE_RWORDSIZE)</div>
<div>PROMOTION = -real-<wbr>size `expr 8 \* $(RWORDSIZE)` -i4</div>
<div>ARCH_LOCAL = -<wbr>DNONSTANDARD_SYSTEM_FUNC -<wbr>DWRF_USE_CLM</div>
<div>CFLAGS_LOCAL = -w -O3 -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -no-multibyte-chars</div>
<div>LDFLAGS_LOCAL = -ip #-xHost -fp-model fast=2 -no-prec-div -no-prec-sqrt -ftz -align all -fno-alias -fno-common</div>
<div>CPLUSPLUSLIB =</div>
<div>ESMF_LDFLAG = $(<wbr>CPLUSPLUSLIB)</div>
<div>FCOPTIM = -O3</div>
<div>FCREDUCEDOPT = $(<wbr>FCOPTIM)</div>
<div>FCNOOPT = -O0 -fno-inline -no-ip</div>
<div>FCDEBUG = # -g $(FCNOOPT) -traceback # -fpe0 -check noarg_temp_created,bounds,<wbr>format,output_conversion,<wbr>pointers,uninit -ftrapuv -unroll0 -u</div>
<div>FORMAT_FIXED = -FI</div>
<div>FORMAT_FREE = -FR</div>
<div>FCSUFFIX =</div>
<div>BYTESWAPIO = -<wbr>convert big_endian</div>
<div>FCBASEOPTS_NO_G = -ip -fp-model precise -w -ftz -align all -fno-alias $(FORMAT_FREE) $(BYTESWAPIO) #-xHost -fp-model fast=2 -no-heap-arrays -no-prec-div -no-prec-sqrt -fno-common</div>
<div>FCBASEOPTS = $(<wbr>FCBASEOPTS_NO_G) $(FCDEBUG)</div>
<div>MODULE_SRCH_FLAG =</div>
<div>TRADFLAG = -<wbr>traditional</div>
<div>CPP = /lib/<wbr>cpp -P</div>
<div>AR = ar</div>
<div>ARFLAGS = ru</div>
<div>M4 = m4</div>
<div>RANLIB = ranlib</div>
<div>RLFLAGS =</div>
<div>CC_TOOLS = $(SCC)</div>
<div><br>
</div>
<div>----</div>
<div><br>
</div>
<div>The last attempt was with -j 1 </div>
<div><br>
</div>
<div>----</div>
<div><br>
</div>
<div>setting serial make -j 1</div>
<div><br>
</div>
<div>==============================<wbr>==============================<wbr>==============================<wbr>====</div>
<div><br>
</div>
<div>The following indicate the compilers selected to build the WRF system</div>
<div><br>
</div>
<div>Serial Fortran compiler (mostly for tool generation):</div>
<div>which SFC</div>
<div>/apps/intel/2017.u1/compilers_<wbr>and_libraries_2017.1.132/<wbr>linux/bin/intel64/ifort</div>
<div><br>
</div>
<div>Serial C compiler (mostly for tool generation):</div>
<div>which SCC</div>
<div>/apps/intel/2017.u1/compilers_<wbr>and_libraries_2017.1.132/<wbr>linux/bin/intel64/icc</div>
<div><br>
</div>
<div>Fortran compiler for the model source code:</div>
<div>which FC</div>
<div>/apps/intel/2017.u1/compilers_<wbr>and_libraries_2017.1.132/<wbr>linux/mpi/intel64/bin/mpif90</div>
<div>Will use 'time' to report timing information</div>
<div><br>
</div>
<div>C compiler for the model source code:</div>
<div>which CC</div>
<div>/apps/intel/2017.u1/compilers_<wbr>and_libraries_2017.1.132/<wbr>linux/mpi/intel64/bin/mpicc</div>
<div><br>
</div>
<div>==============================<wbr>==============================<wbr>==============================<wbr>====</div>
<div><br>
</div>
<div>----</div>
<div><br>
</div>
<div>Everything appears to compile fine for quite a bit of the compile until this error:</div>
<div><br>
</div>
<div>/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/tools/<wbr>standard.exe module_dm.F > module_dm.b</div>
<div>/lib/cpp -P -I/apps/incoming/Lerach-<wbr>requests/3.8.1/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 -<wbr>DWRF_USE_CLM -DDM_PARALLEL
-DNETCDF -DUSE_ALLOCATABLES -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -I. -traditional module_dm.b > module_dm.f90</div>
<div>rm -f module_dm.b</div>
<div>if fgrep -iq '!$OMP' module_dm.f90 ; then \</div>
<div> if [ -n "" ] ; then echo COMPILING module_dm.F WITH OMP ; fi ; \</div>
<div> time mpif90 -f90=ifort -c -real-size `expr 8 \* 4` -i4 -O0 -fno-inline -no-ip -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -I../dyn_em -I../dyn_nmm -I/apps/<wbr>incoming/Lerach-requests/3.8.<wbr>1/WRFV3/external/esmf_time_<wbr>f90 -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/main
-I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/external/<wbr>io_netcdf -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/external/<wbr>io_int -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/frame -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/share
-I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/phys -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/chem -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/inc -I/apps/netcdf-fortran/4.4.4/<wbr>intel-mpi/include module_<wbr>dm.f90 ; \</div>
<div> else \</div>
<div> if [ -n "" ] ; then echo COMPILING module_dm.F WITHOUT OMP ; fi ; \</div>
<div> time mpif90 -f90=ifort -c -real-size `expr 8 \* 4` -i4 -O0 -fno-inline -no-ip -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -I../dyn_em -I../dyn_nmm -I/apps/<wbr>incoming/Lerach-requests/3.8.<wbr>1/WRFV3/external/esmf_time_<wbr>f90 -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/main
-I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/external/<wbr>io_netcdf -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/external/<wbr>io_int -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/frame -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/share
-I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/phys -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/chem -I/apps/incoming/Lerach-<wbr>requests/3.8.1/WRFV3/inc -I/apps/netcdf-fortran/4.4.4/<wbr>intel-mpi/include module_dm.<wbr>f90 ; \</div>
<div> fi</div>
<div>module_dm.f90(1136): error #7013: This module file was not generated by any release of this compiler. [MPI]</div>
<div> use mpi</div>
<div>----------^</div>
<div>module_dm.f90(1176): error #7013: This module file was not generated by any release of this compiler. [MPI]</div>
<div> use mpi</div>
<div>----------^</div>
<div>module_dm.f90(1216): error #7013: This module file was not generated by any release of this compiler. [MPI]</div>
<div> use mpi</div>
<div>----------^</div>
<div>module_dm.f90(5909): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_DM]</div>
<div> USE module_dm</div>
<div>----------^</div>
<div>module_dm.f90(5915): error #6410: This name has not been declared as an array or a function. [ID_STACK]</div>
<div> id_stack(communicator_<wbr>stack_cursor) = current_id</div>
<div>------^</div>
<div>module_dm.f90(5916): error #6410: This name has not been declared as an array or a function. [LOCAL_<wbr>COMMUNICATOR_STACK]</div>
<div> local_communicator_<wbr>stack( communicator_stack_cursor ) = local_communicator</div>
<div>------^</div>
<div>module_dm.f90(5917): error #6410: This name has not been declared as an array or a function. [LOCAL_<wbr>COMMUNICATOR_PERIODIC_STACK]</div>
<div> local_communicator_<wbr>periodic_stack( communicator_stack_cursor ) = local_communicator_<wbr>periodic</div>
<div>------^</div>
<div>module_dm.f90(5918): error #6410: This name has not been declared as an array or a function. [LOCAL_<wbr>IOCOMMUNICATOR_STACK]</div>
<div> local_iocommunicator_<wbr>stack( communicator_stack_cursor ) = local_iocommunicator</div>
<div>------^</div>
<div>module_dm.f90(5919): error #6410: This name has not been declared as an array or a function. [LOCAL_<wbr>COMMUNICATOR_X_STACK]</div>
<div> local_communicator_x_<wbr>stack( communicator_stack_cursor ) = local_communicator_x</div>
<div>------^</div>
<div>module_dm.f90(5920): error #6410: This name has not been declared as an array or a function. [LOCAL_<wbr>COMMUNICATOR_Y_STACK]</div>
<div> local_communicator_y_<wbr>stack( communicator_stack_cursor ) = local_communicator_y</div>
<div>------^</div>
<div>module_dm.f90(5921): error #6410: This name has not been declared as an array or a function. [NTASKS_STACK]</div>
<div>------^</div>
<div>module_dm.f90(5922): error #6410: This name has not been declared as an array or a function. [NTASKS_Y_STACK]</div>
<div> ntasks_y_stack( communicator_stack_cursor ) = ntasks_y</div>
<div>------^</div>
<div>module_dm.f90(5923): error #6410: This name has not been declared as an array or a function. [NTASKS_X_STACK]</div>
<div> ntasks_x_stack( communicator_stack_cursor ) = ntasks_x</div>
<div>------^</div>
<div>module_dm.f90(5924): error #6410: This name has not been declared as an array or a function. [MYTASK_STACK]</div>
<div> mytask_stack( communicator_stack_cursor ) = mytask</div>
<div>------^</div>
<div>module_dm.f90(5925): error #6410: This name has not been declared as an array or a function. [MYTASK_X_STACK]</div>
<div> mytask_x_stack( communicator_stack_cursor ) = mytask_x</div>
<div>------^</div>
<div>module_dm.f90(5926): error #6410: This name has not been declared as an array or a function. [MYTASK_Y_STACK]</div>
<div> mytask_y_stack( communicator_stack_cursor ) = mytask_y</div>
<div>------^</div>
<div>module_dm.f90(5931): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_DM]</div>
<div> USE module_dm</div>
<div>----------^</div>
<div>module_dm.f90(5933): error #6404: This name does not have a type, and must have an explicit type. [COMMUNICATOR_STACK_<wbr>CURSOR]</div>
<div> IF ( communicator_stack_cursor .LT. 1 ) CALL wrf_error_fatal3("module_dm.b"<wbr>,2515,&</div>
<div>-----------^</div>
<div>module_dm.f90(5935): error #6404: This name does not have a type, and must have an explicit type. [CURRENT_ID]</div>
<div> current_id = id_stack(communicator_stack_<wbr>cursor)</div>
<div>------^</div>
<div>module_dm.f90(5935): error #6404: This name does not have a type, and must have an explicit type. [ID_STACK]</div>
<div> current_id = id_stack(communicator_stack_<wbr>cursor)</div>
<div>-------------------^</div>
<div>module_dm.f90(5936): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR]</div>
<div> local_communicator = local_communicator_stack( communicator_stack_cursor )</div>
<div>------^</div>
<div>module_dm.f90(5936): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_<wbr>STACK]</div>
<div> local_communicator = local_communicator_stack( communicator_stack_cursor )</div>
<div>---------------------------^</div>
<div>module_dm.f90(5937): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_<wbr>PERIODIC]</div>
<div> local_communicator_<wbr>periodic = local_communicator_periodic_<wbr>stack( communicator_stack_cursor )</div>
<div>------^</div>
<div>module_dm.f90(5937): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_<wbr>PERIODIC_STACK]</div>
<div> local_communicator_<wbr>periodic = local_communicator_periodic_<wbr>stack( communicator_stack_cursor )</div>
<div>------------------------------<wbr>------^</div>
<div>module_dm.f90(5938): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_IOCOMMUNICATOR]</div>
<div> local_iocommunicator = local_iocommunicator_stack( communicator_stack_cursor )</div>
<div>------^</div>
<div>module_dm.f90(5938): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_IOCOMMUNICATOR_<wbr>STACK]</div>
<div> local_iocommunicator = local_iocommunicator_stack( communicator_stack_cursor )</div>
<div>-----------------------------^</div>
<div>module_dm.f90(5939): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_X]</div>
<div> local_communicator_x = local_communicator_x_stack( communicator_stack_cursor )</div>
<div>------^</div>
<div>module_dm.f90(5939): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_X_<wbr>STACK]</div>
<div> local_communicator_x = local_communicator_x_stack( communicator_stack_cursor )</div>
<div>-----------------------------^</div>
<div>module_dm.f90(5940): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_Y]</div>
<div> local_communicator_y = local_communicator_y_stack( communicator_stack_cursor )</div>
<div>------^</div>
<div>module_dm.f90(5940): error #6404: This name does not have a type, and must have an explicit type. [LOCAL_COMMUNICATOR_Y_<wbr>STACK]</div>
<div> local_communicator_y = local_communicator_y_stack( communicator_stack_cursor )</div>
<div>-----------------------------^</div>
<div>module_dm.f90(6581): catastrophic error: Too many errors, exiting</div>
<div>compilation aborted for module_dm.f90 (code 1)</div>
<div><br>
</div>
<div>----</div>
<div><br>
</div>
<div>Of course this leads to more errors and the compile fails. I get the same error from a fresh source tree or using clean -C. I have checked and module_dm.f90 does not exist before the compile so it is being compiled by the same compiler. I am not a developer
by any stretch, I am an HPC cluster admin, however I have never had this much trouble compiling any package. I am hoping that someone on the list can help. I can post my full ENV and the full compile log if necessary.</div>
<div><br>
</div>
<div><span>
<pre>--
Regards,
Mark L. Potter, RHCSA
Senior Consultant
PCPC Direct, Ltd.
O: <a href="tel:(713)%20344-0952" value="+17133440952" target="_blank">713-344-0952</a>
M: <a href="tel:(713)%20965-4133" value="+17139654133" target="_blank">713-965-4133</a>
S: <a href="mailto:mpotter@pcpcdirect.com" target="_blank">mpotter@pcpcdirect.com</a>
Controlling a laser with Linux is crazy, but everyone in this room is
crazy in his own way. So if you want to use Linux to control an
industrial welding laser, I have no problem with your using PREEMPT_RT.
- Linus Torvalds
</pre>
</span></div>
</div>
<br>
______________________________<wbr>_________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/wrf-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</body>
</html>