### LAPACK on OSX 10.10

Posted:

**Mon Jan 26, 2015 1:52 pm**Hi All,

Forgive me if this is a well known problem. I just had a Mac die and when I replaced it the new one came with OS X 10.10.1 and now the installation of lapack-3.5.0 will not load properly. I am getting the following error:

MossPiglet% make

( cd INSTALL; /Applications/Xcode.app/Contents/Developer/usr/bin/make; ./testlsame; ./testslamch; ./testdlamch; \

./testsecond; ./testdsecnd; ./testieee; ./testversion )

gfortran -o testlsame lsame.o lsametst.o

gfortran: warning: couldn't understand kern.osversion '14.0.0

ld: library not found for -lcrt1.o

collect2: error: ld returned 1 exit status

make[1]: *** [testlsame] Error 1

ASCII character set

Tests completed

Epsilon = 5.96046448E-08

Safe minimum = 1.17549435E-38

Base = 2.00000000

Precision = 1.19209290E-07

Number of digits in mantissa = 24.0000000

Rounding mode = 1.00000000

Minimum exponent = -125.000000

Underflow threshold = 1.17549435E-38

Largest exponent = 128.000000

Overflow threshold = 3.40282347E+38

Reciprocal of safe minimum = 8.50705917E+37

Epsilon = 1.1102230246251565E-016

Safe minimum = 2.2250738585072014E-308

Base = 2.0000000000000000

Precision = 2.2204460492503131E-016

Number of digits in mantissa = 53.000000000000000

Rounding mode = 1.0000000000000000

Minimum exponent = -1021.0000000000000

Underflow threshold = 2.2250738585072014E-308

Largest exponent = 1024.0000000000000

Overflow threshold = 1.7976931348623157E+308

Reciprocal of safe minimum = 4.4942328371557898E+307

Time for 0.100E+09 SAXPY ops = 0.100E-05 seconds

SAXPY performance rate = 0.100E+09 mflops

Including SECOND, time = 0.428E-02 seconds

Average time for SECOND = 0.855E-04 milliseconds

Equivalent floating point ops = 0.855E+07 ops

Time for 0.100E+09 DAXPY ops = 0.100E-05 seconds

DAXPY performance rate = 0.100E+09 mflops

Including DSECND, time = 0.434E-02 seconds

Average time for DSECND = 0.868E-04 milliseconds

Equivalent floating point ops = 0.868E+07 ops

We are about to check whether infinity arithmetic

can be trusted. If this test hangs, set

ILAENV = 0 for ISPEC = 10 in LAPACK/SRC/ilaenv.f

Infinity arithmetic performed as per the ieee spec.

However, this is not an exhaustive test and does not

guarantee that infinity arithmetic meets the ieee spec.

We are about to check whether NaN arithmetic

can be trusted. If this test hangs, set

ILAENV = 0 for ISPEC = 11 in LAPACK/SRC/ilaenv.f

NaN arithmetic performed as per the ieee spec.

However, this is not an exhaustive test and does not

guarantee that NaN arithmetic meets the ieee spec.

LAPACK 3 . 5 . 0

( cd SRC; /Applications/Xcode.app/Contents/Developer/usr/bin/make )

make[1]: Nothing to be done for `all'.

( cd TESTING/MATGEN; /Applications/Xcode.app/Contents/Developer/usr/bin/make )

make[1]: Nothing to be done for `all'.

( cd BLAS/TESTING; /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makeblat1 )

gfortran sblat1.o \

../../librefblas.a -o ../xblat1s

gfortran: warning: couldn't understand kern.osversion '14.0.0

ld: library not found for -lcrt1.o

collect2: error: ld returned 1 exit status

make[1]: *** [../xblat1s] Error 1

make: *** [blas_testing] Error 2

Am I doing something wrong?

Thanks,

Rich

Forgive me if this is a well known problem. I just had a Mac die and when I replaced it the new one came with OS X 10.10.1 and now the installation of lapack-3.5.0 will not load properly. I am getting the following error:

MossPiglet% make

( cd INSTALL; /Applications/Xcode.app/Contents/Developer/usr/bin/make; ./testlsame; ./testslamch; ./testdlamch; \

./testsecond; ./testdsecnd; ./testieee; ./testversion )

gfortran -o testlsame lsame.o lsametst.o

gfortran: warning: couldn't understand kern.osversion '14.0.0

ld: library not found for -lcrt1.o

collect2: error: ld returned 1 exit status

make[1]: *** [testlsame] Error 1

ASCII character set

Tests completed

Epsilon = 5.96046448E-08

Safe minimum = 1.17549435E-38

Base = 2.00000000

Precision = 1.19209290E-07

Number of digits in mantissa = 24.0000000

Rounding mode = 1.00000000

Minimum exponent = -125.000000

Underflow threshold = 1.17549435E-38

Largest exponent = 128.000000

Overflow threshold = 3.40282347E+38

Reciprocal of safe minimum = 8.50705917E+37

Epsilon = 1.1102230246251565E-016

Safe minimum = 2.2250738585072014E-308

Base = 2.0000000000000000

Precision = 2.2204460492503131E-016

Number of digits in mantissa = 53.000000000000000

Rounding mode = 1.0000000000000000

Minimum exponent = -1021.0000000000000

Underflow threshold = 2.2250738585072014E-308

Largest exponent = 1024.0000000000000

Overflow threshold = 1.7976931348623157E+308

Reciprocal of safe minimum = 4.4942328371557898E+307

Time for 0.100E+09 SAXPY ops = 0.100E-05 seconds

SAXPY performance rate = 0.100E+09 mflops

Including SECOND, time = 0.428E-02 seconds

Average time for SECOND = 0.855E-04 milliseconds

Equivalent floating point ops = 0.855E+07 ops

Time for 0.100E+09 DAXPY ops = 0.100E-05 seconds

DAXPY performance rate = 0.100E+09 mflops

Including DSECND, time = 0.434E-02 seconds

Average time for DSECND = 0.868E-04 milliseconds

Equivalent floating point ops = 0.868E+07 ops

We are about to check whether infinity arithmetic

can be trusted. If this test hangs, set

ILAENV = 0 for ISPEC = 10 in LAPACK/SRC/ilaenv.f

Infinity arithmetic performed as per the ieee spec.

However, this is not an exhaustive test and does not

guarantee that infinity arithmetic meets the ieee spec.

We are about to check whether NaN arithmetic

can be trusted. If this test hangs, set

ILAENV = 0 for ISPEC = 11 in LAPACK/SRC/ilaenv.f

NaN arithmetic performed as per the ieee spec.

However, this is not an exhaustive test and does not

guarantee that NaN arithmetic meets the ieee spec.

LAPACK 3 . 5 . 0

( cd SRC; /Applications/Xcode.app/Contents/Developer/usr/bin/make )

make[1]: Nothing to be done for `all'.

( cd TESTING/MATGEN; /Applications/Xcode.app/Contents/Developer/usr/bin/make )

make[1]: Nothing to be done for `all'.

( cd BLAS/TESTING; /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makeblat1 )

gfortran sblat1.o \

../../librefblas.a -o ../xblat1s

gfortran: warning: couldn't understand kern.osversion '14.0.0

ld: library not found for -lcrt1.o

collect2: error: ld returned 1 exit status

make[1]: *** [../xblat1s] Error 1

make: *** [blas_testing] Error 2

Am I doing something wrong?

Thanks,

Rich