Skip to content

Building on M1 mac (osx 12.2.1) #61

Description

@maczikasz

Hi

I am trying to build SuperLu from source on my m1 macbook. I copied over the mac make.inc but I am getting the following errors:

gcc -O2  -DAdd_  -c ssp_blas2.c 
ssp_blas2.c:256:7: error: implicit declaration of function 'strsv_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                    strsv_("L", "T", "U", &nsupc, &Lval[luptr], &nsupr,
                    ^
ssp_blas2.c:291:7: error: implicit declaration of function 'strsv_' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                    strsv_("U", "T", "N", &nsupc, &Lval[luptr], &nsupr,
                    ^

I changed
BLASLIB = /opt/homebrew/opt/openblas/lib/libopenblas.a to point to the openblas installation on my mac, but to no avail

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions