mainGetFEM - Support: sr #110960, Error during installation on Mac

 
 

sr #110960: Error during installation on Mac

Submitter:  None
Submitted:  Mon 20 Nov 2023 05:16:00 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 20 Nov 2023 05:16:00 AM UTC, original submission:  

Hello,

I'm trying to install GetFEM from the source code, on MacOS 13.6.
make fails and the following is the last part of the output message.

How can I complete the installation?



/bin/sh ../../libtool  --tag=CXX   --mode=link gcc-13  -O3 -std=c++14   -o libgetfemint.la  getfem_interface.lo gfi_array.lo getfemint.lo getfemint_misc.lo gf_spmat.lo gf_spmat_set.lo gf_spmat_get.lo gf_linsolve.lo gf_util.lo gf_cont_struct.lo gf_cont_struct_get.lo gf_cvstruct_get.lo gf_geotrans.lo gf_geotrans_get.lo gf_compute.lo gf_mesh_fem.lo gf_mesh_fem_set.lo gf_mesh_fem_get.lo gf_mesh_im.lo gf_mesh_im_set.lo gf_mesh_im_get.lo gf_mesh_im_data.lo gf_mesh_im_data_set.lo gf_mesh_im_data_get.lo gf_model.lo gf_model_get.lo gf_model_set.lo gf_eltm.lo gf_mesher_object.lo gf_mesher_object_get.lo gf_mesh.lo gf_mesh_set.lo gf_mesh_get.lo gf_slice.lo gf_slice_get.lo gf_slice_set.lo gf_levelset.lo gf_levelset_get.lo gf_levelset_set.lo gf_mesh_levelset.lo gf_mesh_levelset_get.lo gf_mesh_levelset_set.lo gf_precond.lo gf_precond_get.lo gf_asm.lo gf_fem.lo gf_fem_get.lo gf_integ.lo gf_integ_get.lo gf_global_function.lo gf_global_function_get.lo gf_workspace.lo gf_delete.lo getfemint_workspace.lo getfemint_levelset.lo getfemint_gsparse.lo  -ldl -llapack  -lblas
libtool: link: ar cr .libs/libgetfemint.a  getfem_interface.o gfi_array.o getfemint.o getfemint_misc.o gf_spmat.o gf_spmat_set.o gf_spmat_get.o gf_linsolve.o gf_util.o gf_cont_struct.o gf_cont_struct_get.o gf_cvstruct_get.o gf_geotrans.o gf_geotrans_get.o gf_compute.o gf_mesh_fem.o gf_mesh_fem_set.o gf_mesh_fem_get.o gf_mesh_im.o gf_mesh_im_set.o gf_mesh_im_get.o gf_mesh_im_data.o gf_mesh_im_data_set.o gf_mesh_im_data_get.o gf_model.o gf_model_get.o gf_model_set.o gf_eltm.o gf_mesher_object.o gf_mesher_object_get.o gf_mesh.o gf_mesh_set.o gf_mesh_get.o gf_slice.o gf_slice_get.o gf_slice_set.o gf_levelset.o gf_levelset_get.o gf_levelset_set.o gf_mesh_levelset.o gf_mesh_levelset_get.o gf_mesh_levelset_set.o gf_precond.o gf_precond_get.o gf_asm.o gf_fem.o gf_fem_get.o gf_integ.o gf_integ_get.o gf_global_function.o gf_global_function_get.o gf_workspace.o gf_delete.o getfemint_workspace.o getfemint_levelset.o getfemint_gsparse.o
libtool: link: ranlib .libs/libgetfemint.a
libtool: link: ( cd ".libs" && rm -f "libgetfemint.la" && ln -s "../libgetfemint.la" "libgetfemint.la" )
Making all in python
cp ./getfem_python.c getfem_python_c.c
touch _getfem.cpython-311-darwin.so && rm _getfem.cpython-311-darwin.so
ARCHFLAGS="" CC="gcc" CFLAGS="-O3 " /opt/homebrew/bin/python3 setup.py -v build  --build-temp . --build-base . --build-lib . --force
running build
running build_ext
building '_getfem' extension
gcc -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O3 -I../../../src/getfem -I../../../src/getfem -I./.. -I. -I/opt/homebrew/lib/python3.11/site-packages/numpy/core/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c getfem_python_c.c -o ./getfem_python_c.o
gcc -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O3 ./getfem_python_c.o -L../.libs -L../../../src/.libs -lgetfemint -lgetfem -ldl -llapack -lblas -lstdc++ -lm -o ./_getfem.cpython-311-darwin.so

  1.  0x102d53648  __assert_rtn + 72

1  0x102c87fac  ld::AtomPlacement::findAtom(unsigned char, unsigned long long, ld::AtomPlacement::AtomLoc const*&, long long&) const + 1204
2  0x102c9d924  ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header const*) const + 15164
3  0x102ca83f8  ld::InputFiles::SliceParser::parse() const + 2468
4  0x102caae30  ld::InputFiles::parseAllFiles(void (ld::AtomFile const*) block_pointer)::$_7::operator()(unsigned long, ld::FileInfo const&) const + 420
5  0x1a4fc0440  _dispatch_client_callout2 + 20
6  0x1a4fd3f1c  _dispatch_apply_invoke + 224
7  0x1a4fc0400  _dispatch_client_callout + 20
8  0x1a4fd1fb8  _dispatch_root_queue_drain + 684
9  0x1a4fd26c0  _dispatch_worker_thread2 + 164
10  0x1a516c038  _pthread_wqthread + 228
ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/gcc' failed with exit code 1
make[4]: * [_getfem.cpython-311-darwin.so] Error 1
make[3]: * [all-recursive] Error 1
make[2]: * [all-recursive] Error 1
make[1]: * [all-recursive] Error 1
make: * [all] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code