Hello again

I kept digging why it is failing in 64 bit, and after a bit of debugging, I
found that it fails reading this in the mesh file:


$Elements
695
1 15 3 0 1 0 1
2 15 3 0 2 0 2
3 15 3 0 3 0 3
4 15 3 0 4 0 4
5 15 3 0 5 0 5
6 15 3 0 6 0 6
7 15 3 0 7 0 7
8 15 3 0 8 0 8
9 1 3 0 1 0 1 2 <---- The first element of this type fails.
10 1 3 0 2 0 2 9
11 1 3 0 2 0 9 10
12 1 3 0 2 0 10 11
13 1 3 0 2 0 11 12


It fails when calling to pgt = bgeot::simplex_geotrans(1,1);
in line 41 of getfem_import.cc

This is a bit weird because it is not failing on 32bit on windows.
I can provide the configure output (I will attach it to this email) and any
other thing that you consider necessary.

Can I do any other thing to be able to detect the reason of the failure?

Thank you in advance, jaime

Jaime Armendariz Villalba
$ configure --enable-shared LDFLAGS="-no-undefined" --host=x86_64-w64-mingw32 
--with-pic --enable-python=no
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-w64-mingw32-g++... gcc3
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking for x86_64-w64-mingw32-gfortran... x86_64-w64-mingw32-gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether x86_64-w64-mingw32-gfortran accepts -g... yes
checking how to run the C++ preprocessor... x86_64-w64-mingw32-g++ -E
checking how to get verbose linking output from x86_64-w64-mingw32-gfortran... c
onfigure: WARNING: cannot determine how to obtain linking information from 
x86_64-w64-mingw32-gfortran

checking for Fortran libraries of x86_64-w64-mingw32-gfortran...
checking whether the compiler recognizes the partial specialization syntax... 
yes
checking build system type... i686-pc-mingw32
checking host system type... x86_64-w64-mingw32
you are compiling getfem++ on a x86_64-w64-mingw32
Using the GNU g++ compiler 4.5.0
checking whether x86_64-w64-mingw32-g++ accepts -O3... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wall -W... yes
checking whether x86_64-w64-mingw32-g++ accepts -fmessage-length=0... yes
checking whether x86_64-w64-mingw32-g++ accepts -ftemplate-depth-40... yes
checking whether x86_64-w64-mingw32-g++ accepts -pedantic... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wshadow... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wpointer-arith... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wcast-qual... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wwrite-strings... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wconversion... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wredundant-decls... yes
checking whether x86_64-w64-mingw32-g++ accepts -Wno-long-long... yes
checking whether x86_64-w64-mingw32-g++ accepts -rdynamic... no
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... 
c:/mingw/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (c:/mingw/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... 
/mingw/bin/x86_64-w64-mingw32-nm
checking the name lister (/mingw/bin/x86_64-w64-mingw32-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for c:/mingw/x86_64-w64-mingw32/bin/ld.exe option to reload object 
files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive 
import|^x86 DLL
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse /mingw/bin/x86_64-w64-mingw32-nm output from 
x86_64-w64-mingw32-gcc object... ok
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-w64-mingw32-g++ accepts -g... (cached) yes
checking dependency style of x86_64-w64-mingw32-g++... (cached) gcc3
checking how to run the C++ preprocessor... x86_64-w64-mingw32-g++ -E
checking for x86_64-w64-mingw32-gfortran... (cached) x86_64-w64-mingw32-gfortran

checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether x86_64-w64-mingw32-gfortran accepts -g... (cached) yes
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (c:/mingw/x86_64-w64-mingw32/
bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by x86_64-w64-mingw32-g++... 
c:/mingw/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (c:/mingw/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes

checking whether the x86_64-w64-mingw32-g++ linker 
(c:/mingw/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking for x86_64-w64-mingw32-g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-g++ static flag -static works... yes
checking if x86_64-w64-mingw32-g++ supports -c -o file.o... yes
checking if x86_64-w64-mingw32-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-g++ linker (c:/mingw/x86_64-w64-mingw32/
bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64-w64-mingw32-gfortran option to produce PIC... -DDLL_EXPORT
checking if x86_64-w64-mingw32-gfortran PIC flag -DDLL_EXPORT works... yes
checking if x86_64-w64-mingw32-gfortran static flag -static works... yes
checking if x86_64-w64-mingw32-gfortran supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gfortran supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gfortran linker (c:/mingw/x86_64-w64-min
gw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra 
underscore
BLAS_LIBS=
checking for sgemm_... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... no
checking for sgemm_ in -lcxml... no
checking for sgemm_ in -ldxml... no
checking for sgemm_ in -lscs... no
checking for sgemm_ in -lcomplib.sgimath... no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
 *** YOU DONT HAVE BLAS! *** Using a cheap replacement
Building with SuperLU support (use --enable-superlu=no to disable it)
FC=x86_64-w64-mingw32-gfortran
Configuration of SuperLU done
checking for qh_new_qhull in -lqhull... no
checking qhull/qhull.h usability... no
checking qhull/qhull.h presence... no
checking for qhull/qhull.h... no
Building with libqhull (use --enable-qhull=no to disable it)
Configuration of qhull done
checking for _init in -lmuparser... no
checking muParser/muParser.h usability... no
checking muParser/muParser.h presence... no
checking for muParser/muParser.h... no
checking muParser.h usability... no
checking muParser.h presence... no
checking for muParser.h... no
Building with muParser (use --enable-muparser=no to disable it)
Configuration of muParser done
checking for library containing smumps_c... no
checking for library containing dmumps_c... no
checking for library containing cmumps_c... no
checking for library containing zmumps_c... no
checking for smumps_c in -lsmumps... no
checking for dmumps_c in -ldmumps... no
checking for cmumps_c in -lcmumps... no
checking for zmumps_c in -lzmumps... no
checking smumps_c.h usability... no
checking smumps_c.h presence... no
checking for smumps_c.h... no
checking dmumps_c.h usability... no
checking dmumps_c.h presence... no
checking for dmumps_c.h... no
checking cmumps_c.h usability... no
checking cmumps_c.h presence... no
checking for cmumps_c.h... no
checking zmumps_c.h usability... no
checking zmumps_c.h presence... no
checking for zmumps_c.h... no
Configuration of MUMPS done
checking sys/times.h usability... no
checking sys/times.h presence... no
checking for sys/times.h... no
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.h... yes
checking for __PRETTY_FUNCTION__... yes
checking for execinfo.h and backtrace... no
checking for fenv.h and feenableexcept... no
./configure: line 22112: readlink: command not found
./configure: line 22113: readlink: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating cubature/Makefile
config.status: creating superlu/Makefile
config.status: creating doc/Makefile
config.status: creating doc/sphinx/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests-2.0/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/icare/Makefile
config.status: creating contrib/delaminated_crack/Makefile
config.status: creating contrib/static_friction/Makefile
config.status: creating contrib/bimaterial_crack_test/Makefile
config.status: creating contrib/bimat_contact_crack_test/Makefile
config.status: creating contrib/xfem_stab_unilat_contact/Makefile
config.status: creating contrib/mixed_elastostatic/Makefile
config.status: creating contrib/contact_grd_trans/Makefile
config.status: creating contrib/mixed_dynamic_friction/Makefile
config.status: creating contrib/xfem_large_strain/Makefile
config.status: creating contrib/xfem_contact/Makefile
config.status: creating contrib/crack_plate/Makefile
config.status: creating contrib/inter_element_test/Makefile
config.status: creating contrib/aposteriori/Makefile
config.status: creating contrib/static_contact_gears/Makefile
config.status: creating bin/Makefile
config.status: creating interface/Makefile
config.status: creating interface/src/Makefile
config.status: creating interface/src/matlab/Makefile
config.status: creating interface/src/matlab/private/Makefile
config.status: creating interface/src/python/Makefile
config.status: creating interface/src/python/setup.py
config.status: creating interface/src/scilab/Makefile
config.status: creating interface/src/scilab/sci_gateway/c/builder_gateway_c.sce

config.status: creating interface/tests/Makefile
config.status: creating interface/tests/meshes/Makefile
config.status: creating interface/tests/matlab/Makefile
config.status: creating interface/tests/matlab/private/Makefile
config.status: creating interface/tests/python/Makefile
config.status: creating getfem-config
config.status: WARNING:  'getfem-config.in' seems to ignore the --datarootdir 
setting
config.status: creating getfem-config-notinstalled
config.status: creating gmm-config
config.status: WARNING:  'gmm-config.in' seems to ignore the --datarootdir 
setting
config.status: creating config.h
config.status: executing src/getfem/getfem_arch_config.h commands
config.status: creating src/getfem/getfem_arch_config.h - prefix GETFEM for 
config.h defines
config.status: executing depfiles commands
config.status: executing libtool commands

------------------------------------------------------------------------------
If you want to build the shared library of getfem++, use --enable-shared
(by default, only the static one will be built)
Not using the qhull library. Mesh generation will be disabled.
Not using the muParser library. Parsing mathematical expressions will be 
disabled.
Not using the MUMPS library. A direct solver for large sparse linear systems.

*** No usable blas library was found ***
A generic BLAS implementation will be used, however you should
consider installing a faster BLAS, such as ATLAS
You can give the location of your prefered blas library with either
the --with-blas=<lib> option, or the BLAS_LIBS environment variable
for example: ./configure BLAS_LIBS="-L/usr/lib/sse2/atlas/ -lblas"

No lapack library found : generic (less effective) algorithms will be used
---------------------------------------
Ready to build getfem
  building MATLAB interface: NO
  building PYTHON interface: NO (requires numpy and scipy)
  building SCILAB interface: NO
---------------------------------------
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to