Error when compile umfpack after the update of Mac

154 views Asked by At

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!

0

There are 0 answers