[MOAB-dev] moab compilation errors with recent nek version

Vijay S. Mahadevan vijay.m at gmail.com
Thu Jul 10 20:15:44 CDT 2014


Prasad, I pushed a fix to nek to rectify the compilation errors.
Verified on blues and on a mac system. Update your sources and let me
know if there are any more issues.

Vijay

On Thu, Jul 10, 2014 at 11:21 AM, Vijay S. Mahadevan <vijay.m at gmail.com> wrote:
> Ah true, forgot about the implicit none.
>
> Prasad, I'll fix this and push it to nek repo by afternoon. I was able
> to replicate it locally with updated sources.
>
> Vijay
>
> On Thu, Jul 10, 2014 at 11:07 AM, Tim Tautges
> <timothy.tautges at cd-adapco.com> wrote:
>> Vijay,
>>   This is due to MOAB's include file in nek having an 'implicit none'
>> statement, then including a Nek include file which uses an implicitly typed
>> variable (common/IOFLAG/nio).  I think in that same moab include file in
>> nek, there are type statements for all the implicitly-typed nek variables,
>> and nio needs to be added to that.
>>
>> Or, Nek could forego all that extra debugging it has to do by stopping its
>> use of implicit typing (sorry, but it's true).
>>
>> - tim
>>
>>
>> On 07/10/2014 10:54 AM, Vijay S. Mahadevan wrote:
>>>
>>> Prasad, I don't see any MOAB related compilation errors here. Are you
>>> sure the problem setup (SIZE) is correct ? I haven't seen any problems
>>> with NEK+MOAB on blues before.
>>>
>>> If you can send the entire make.log, we can help you find the actual
>>> cause. For problem setup related queries, please contact the NEK list.
>>>
>>> Vijay
>>>
>>> On Thu, Jul 10, 2014 at 10:38 AM, Vegendla, Surya Narayana Prasad
>>> <svegendla at anl.gov> wrote:
>>>>
>>>> Hi all,
>>>>
>>>>
>>>>
>>>> I seen the following error messages while compiling moab_conjht on
>>>> blues/mira with recent nek version.
>>>>
>>>> Here I am posting error messages, let me know how to avoid these
>>>> compilation
>>>> problems.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Prasad
>>>>
>>>>
>>>>
>>>> mpif77 -f77=ifort -c  -O2 -r8 -fpconstant -fpp -DMOAB -DPTRSIZE8 -DMPI
>>>> -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
>>>> -I/home/svegendla/nekFiles/moab_conjht
>>>> -I/home/svegendla/nek5_svn/trunk/nek
>>>> -I./ -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map
>>>> -DHAVE_UNORDERED_SET=tr1/unordered_set
>>>> -I/soft/netcdf/4.0.1-intel-11-serial/include
>>>> -I/home/jain/lib/hdf5-1.8.7//include -isystem
>>>> /home/jain/lib/hdf5-1.8.7//include  -DTEMPLATE_SPECIALIZATION
>>>> -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64
>>>> -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DCGM
>>>> -I/home/jain/install/opt_moab//include
>>>> /home/svegendla/nek5_svn/trunk/nek/3rd_party/moab.f -o obj/moab.o
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/comm.c -o obj/jl_comm.o
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/tensor.c -o obj/jl_tensor.o
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/fail.c -o obj/jl_fail.o
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/fail.c(18): warning #1628: function
>>>> declared with "noreturn" does return
>>>>    }
>>>>    ^
>>>>
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/fcrystal.c -o obj/jl_fcrystal.o
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/findpts.c -o obj/jl_findpts.o
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/findpts_local.c -o
>>>> obj/jl_findpts_local.o
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> mpicc -cc=icc -c  -O2 -DMOAB -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE
>>>> -DGLOBAL_LONG_LONG  -DPREFIX=jl_
>>>> /home/svegendla/nek5_svn/trunk/nek/jl/obbox.c -o obj/jl_obbox.o
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>       common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> ./SIZE(126): error #6404: This name does not have a type, and must have
>>>> an
>>>> explicit type.   [NIO]
>>>>        common/IOFLAG/nio  ! for logfile verbosity control
>>>> --------------------^
>>>> /tmp/ifortnacSYu.i(21993): catastrophic error: Too many errors, exiting
>>>> compilation aborted for
>>>> /home/svegendla/nek5_svn/trunk/nek/3rd_party/moab.f
>>>> (code 1)
>>>> make: *** [obj/moab.o] Error 1
>>>> make: *** Waiting for unfinished jobs....
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>> --
>> Timothy J. Tautges
>> Manager, Directed Meshing, CD-adapco
>> Phone: 608-354-1459
>> timothy.tautges at cd-adapco.com


More information about the moab-dev mailing list