Compilation Error with JModelica on macOS: Missing libblas_OPENMP.a File

30 views Asked by At

I'm trying to compile JModelica on my macOS system, but I'm running into a problem during the make process, specifically when it attempts to compile the BLAS library as part of the SuperLU package. Here's the error message I received:

ar cr ../lib/libblas_OPENMP.a isamax.o sasum.o saxpy.o scopy.o sdot.o snrm2.o srot.o sscal.o \
sgemv.o ssymv.o strsv.o sger.o ssyr2.o
ar: ../lib/libblas_OPENMP.a: No such file or directory
make[4]: *** [single] Error 1
make[3]: *** [blaslib] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The make process appears unable to find or create the libblas_OPENMP.a file in the expected directory. I've checked that the CBLAS/ directory contains the necessary BLAS routines and that the makefiles are set up to compile these into the libblas_OPENMP.a library. According to the documentation, this library should be compiled from the sources in the CBLAS/ subdirectory of SuperLU_MT, but the process fails with the above error.

I have reviewed the README, make.inc, and the relevant Makefile.am and Makefile in the CBLAS directory to ensure the setup is correct for compiling the BLAS library, but the issue persists.

Has anyone encountered a similar issue, or does anyone have any insights on how to resolve this? I would greatly appreciate any suggestions on how to troubleshoot or fix this error.

System Information:

  • macOS version: 12.7.3
  • Compiler version:
    • GCC Apple clang version 14.0.0 (clang-1400.0.29.202)
    • Target: x86_64-apple-darwin21.6.0
    • Thread model: posix
    • InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Thank you in advance for your help!

0

There are 0 answers