Error when compile umfpack after the update of Mac

安稳与你 提交于 2021-01-29 09:49:55

问题


I was able to use umfpack, but I just found that I cannot use it as before. I guess the reason is my recent update of Mac.

I already installed SuiteSparse VERSION 4.5.4. I use the Fortran interface, umfpack.f90, from http://geo.mff.cuni.cz/~lh/Fortran/UMFPACK/. And use gfortran umfpack.f90 umfpack_simple_3subr.f90 -L/usr/local/lib -lumfpack to compile. But I got the following errors:

Undefined symbols for architecture x86_64:
  "__gfortran_os_error_at", referenced from:
      ___mumfpack_MOD_umfpack_zi_operator_pcsr in ccAIP7gL.o
      ___mumfpack_MOD_umfpack_zi_operator_pcsc in ccAIP7gL.o
      ___mumfpack_MOD_umfpack_zi_operator_csr in ccAIP7gL.o
      ___mumfpack_MOD_umfpack_zi_operator_csc in ccAIP7gL.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

I have no clue about solving the problem. Any suggestion is appreciated! Thank you in advance!

来源:https://stackoverflow.com/questions/65164717/error-when-compile-umfpack-after-the-update-of-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!