Testing Errors while compiling with Accelerate Framework

Post here if you have having problem using the Makefile build process.

Testing Errors while compiling with Accelerate Framework

Postby avinash » Thu Jan 01, 2015 7:46 am

Hi,

I am trying to compile LAPACK (3.5.0) on my computer (Mac OS X Mountain Lion 10.8.5 12F45). I am trying to use the BLAS library provided in Apple's Xcode software. I have Xcode Version 5.1.1 (5B1008) installed.
Following instructions in a separate post, I used the gfortran makefile and changed the following lines

FORTRAN = gfortran -m64
BLASLIB = -framework accelerate

The end of the post shows the output of the Make command with errors in Testing at the end (I can post the complete output somewhere, if necessary). In a separate post (viewtopic.php?f=7&t=3581) , it is mentioned that these errors are because of Accelerate Framework. I think the compilation is successful, as I see a new liblapack.a file that was created, but if testing has errors, then is there any other way to check if everything is working correctly ?

Thanks.
Avinash

******* SECTION OF OUTPUT SHOWING THE ERRORS IN TESTING ********************

( cd BLAS/TESTING; make -f Makeblat1 )
gfortran -m64 -O2 -frecursive -c sblat1.f -o sblat1.o
gfortran sblat1.o \
-framework accelerate -o ../xblat1s
gfortran -m64 -O2 -frecursive -c dblat1.f -o dblat1.o
gfortran dblat1.o \
-framework accelerate -o ../xblat1d
gfortran -m64 -O2 -frecursive -c cblat1.f -o cblat1.o
gfortran cblat1.o \
-framework accelerate -o ../xblat1c
gfortran -m64 -O2 -frecursive -c zblat1.f -o zblat1.o
gfortran zblat1.o \
-framework accelerate -o ../xblat1z
( cd BLAS; ./xblat1s > sblat1.out ; \
./xblat1d > dblat1.out ; \
./xblat1c > cblat1.out ; \
./xblat1z > zblat1.out )

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x10564dfa2
#1 0x10564e76e
#2 0x7fff97c47909
#3 0x7fff8c8433a4
#4 0x10564814f
#5 0x1056484ab
#6 0x10564853e
/bin/sh: line 1: 24194 Segmentation fault: 11 ./xblat1c > cblat1.out

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x102adbfa2
#1 0x102adc76e
#2 0x7fff97c47909
#3 0x7fff8c843748
#4 0x102ad3d87
#5 0x102ad412b
#6 0x102ad41be
/bin/sh: line 1: 24196 Segmentation fault: 11 ./xblat1z > zblat1.out
make: *** [blas_testing] Error 139
avinash
 
Posts: 1
Joined: Thu Jan 01, 2015 7:00 am

Re: Testing Errors while compiling with Accelerate Framework

Postby admin » Wed Jan 21, 2015 12:46 am

This is fine...
Julie
admin
Site Admin
 
Posts: 616
Joined: Wed Dec 08, 2004 7:07 pm


Return to Makefile

Who is online

Users browsing this forum: No registered users and 1 guest

cron