Sorry not libraries, object files, it is clearly complaining about objects which comes from another compiler, or in this case module files >This module file was not generated by any release of this compiler.
Kind regards Nick 2011/10/4 Yun-Peng Wang <[email protected]> > I think the errors happened before the link stage, so I do not think older > libraries is critical here. > > Yun-Peng > > On 10/04/2011 08:07 PM, Nick Papior Andersen wrote: > > It seems as though you are compiling a with a gcc and trying to compile > together with older compiled libraries from intel. > Try make clean then make... > > 2011/10/4 Dmitry G. Kvashnin <[email protected]> > >> Dear siesta users! >> >> >> I'll try to compile siesta-trunk-364 on Moscow state university cluster: >> MPI: openmpi-1.5 >> COMPILER: intel-12.0 >> >> Configure process was well. But when I want to make, I got the following >> error: >> >> >> Compilation architecture to be used: x86_64-unknown-linux-gnu--Gfortran >> If this is not what you want, create the right >> arch.make file using the models in Src/Sys >> >> Hit ^C to abort... >> (cd FoX; touch arch.make ; \ >> >> CONFIGURE="/home/users/cvashnini/src/siesta-trunk-364/Src/FoX/configure"; \ >> $CONFIGURE >> VPATH="/home/users/cvashnini/src/siesta-trunk-364/Src/FoX" \ >> FC="mpif90" FCFLAGS="-g -O2" \ >> --enable-wcml || false ) >> checking build system type... x86_64-unknown-linux-gnu >> checking host system type... x86_64-unknown-linux-gnu >> checking for linker flag to name executables... -o >> checking for Fortran compiler default output file name... conftest >> checking whether the Fortran compiler works... yes >> checking whether we are cross compiling... no >> checking for suffix of executables... >> checking for suffix of object files... o >> checking whether we are using the GNU Fortran compiler... no >> checking whether mpif90 accepts -g... yes >> checking for Fortran flag needed to allow free-form source for .f90 >> suffix... none >> checking for gcc... gcc >> checking whether we are using the GNU C compiler... yes >> checking whether gcc accepts -g... yes >> checking for gcc option to accept ISO C89... none needed >> checking for fixed form Fortran preprocessor features... done. >> checking whether mpif90 compiles programs with cpp directives... yes >> checking whether mpif90 accepts -D... yes >> checking whether mpif90 accepts -I... yes >> checking whether mpif90 fulfils requested features... yes >> checking preprocessing mode we may therefore use... direct >> checking for Fortran flag needed to allow free-form preprocessed source >> for .F90 suffix... none >> checking for ranlib... ranlib >> configure: Could not determine type of compiler >> checking for kind number produced by kind(1.0)... 4 >> checking for kind number produced by kind(1.0d0)... 8 >> checking for kind number produced by selected_real_kind(6,34)... 4 >> checking for kind number produced by selected_real_kind(15,300)... 8 >> checking how to compile a call to FLUSH... default >> checking how to compile a call to ABORT... with argument >> checking for EOR character used by mpif90... LF >> checking for ASSOCIATED in restricted expression bug... yes >> checking for a BSD-compatible install... /bin/install -c >> checking for a thread-safe mkdir -p... /bin/mkdir -p >> checking for flag to alter module search path... -I >> checking for suffix of module files... mod >> checking whether module filenames are uppercased... no >> configure: creating ./config.status >> config.status: creating arch.make >> config.status: creating FoX-config >> (cd FoX; make) >> make[1]: Entering directory >> `/home/users/cvashnini/src/siesta-trunk-364/Obj/FoX' >> mkdir -p objs/lib objs/finclude >> (cd fsys; make >> VPATH=/home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys) >> make[2]: Entering directory >> `/home/users/cvashnini/src/siesta-trunk-364/Obj/FoX/fsys' >> mpif90 -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG >> -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_abort_flush.F90 >> >> mpif90 -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG >> -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_array_str.F90 >> >> mpif90 -c -g -O2 >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_realtypes.f90 >> mpif90 -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG >> -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_format.F90 >> >> mpif90 -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG >> -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_parse_input.F90 >> >> mpif90 -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG >> -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_string.F90 >> >> mpif90 -c -g -O2 -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG >> -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/fsys/fox_m_fsys_string_list.F90 >> >> ==> Creating libFoX_fsys.a with fox_m_fsys_abort_flush.o >> fox_m_fsys_array_str.o fox_m_fsys_format.o fox_m_fsys_parse_input.o >> fox_m_fsys_string.o fox_m_fsys_string_list.o fox_m_fsys_realtypes.o >> cp -p libFoX_fsys.a >> /home/users/cvashnini/src/siesta-trunk-364/Obj/FoX/objs/lib >> for i in *.mod; do \ >> cp -p $i >> /home/users/cvashnini/src/siesta-trunk-364/Obj/FoX/objs/finclude; done >> make[2]: Leaving directory >> `/home/users/cvashnini/src/siesta-trunk-364/Obj/FoX/fsys' >> (cd utils; make >> VPATH=/home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils) >> make[2]: Entering directory >> `/home/users/cvashnini/src/siesta-trunk-364/Obj/FoX/utils' >> mpif90 -c -g -O2 -I../objs/finclude -DFC_HAVE_FLUSH -DFC_HAVE_ABORT >> -DFC_ABORT_ARG -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_mtprng.F90 >> >> mpif90 -c -g -O2 -I../objs/finclude -DFC_HAVE_FLUSH -DFC_HAVE_ABORT >> -DFC_ABORT_ARG -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_uuid.F90 >> >> mpif90 -c -g -O2 -I../objs/finclude -DFC_HAVE_FLUSH -DFC_HAVE_ABORT >> -DFC_ABORT_ARG -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_uri.F90 >> >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_uri.F90(12): >> error #7013: This module file was not generated by any release of this >> compiler. [FOX_M_FSYS_STRING] >> use fox_m_fsys_string, only: toLower >> ------^ >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_uri.F90(12): >> error #6580: Name in only-list does not exist. [TOLOWER] >> use fox_m_fsys_string, only: toLower >> -------------------------------^ >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_uri.F90(417): >> error #6406: Conflicting attributes or multiple declaration of name. >> [TOLOWER] >> scheme => vs_str_alloc(toLower(URIstring(:i1-1))) >> -------------------------------^ >> compilation aborted for >> /home/users/cvashnini/src/siesta-trunk-364/Src/FoX/utils/fox_m_utils_uri.F90 >> (code 1) >> make[2]: *** [fox_m_utils_uri.o] Error 1 >> make[2]: Leaving directory >> `/home/users/cvashnini/src/siesta-trunk-364/Obj/FoX/utils' >> make[1]: *** [utils_lib] Error 2 >> make[1]: Leaving directory >> `/home/users/cvashnini/src/siesta-trunk-364/Obj/FoX' >> make: *** [FoX/.FoX] Error 2 >> >> Has anyone known what's problem? Arch.make file attached. >> Thanks for any advice >> >> -- >> Sincerely yours, >> *Dmitry G. Kvashnin* >> >> ================================================================ >> First year of master degree study >> Moscow Institute of Physics and Technology http://mipt.ru/ >> 141700, Institutsky lane 9, Dolgoprudny, Moscow Region, Russia >> >> Junior research scientist >> Emanuel Institute of Biochemical Physics http://sky1.chph.ras.ru/ >> 119334, 4 Kosigina St., Moscow, Russia >> ================================================================ >> >> >> >> >> >> >> >> >> >> >> -- >> Sincerely yours, >> *Dmitry G. Kvashnin* >> >> ================================================================ >> First year of master degree study >> Moscow Institute of Physics and Technology http://mipt.ru/ >> 141700, Institutsky lane 9, Dolgoprudny, Moscow Region, Russia >> >> Junior research scientist >> Emanuel Institute of Biochemical Physics http://sky1.chph.ras.ru/ >> 119334, 4 Kosigina St., Moscow, Russia >> ================================================================ >> >> >> >> > >
