Skip to content

Instantly share code, notes, and snippets.

@certik
Created September 18, 2011 01:12
Show Gist options
  • Select an option

  • Save certik/1224558 to your computer and use it in GitHub Desktop.

Select an option

Save certik/1224558 to your computer and use it in GitHub Desktop.
GotoBLAS2 error messages
gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=4 -DASMNAME=sgemm_kernel -DASMFNAME=sgemm_kernel_ -DNAME=sgemm_kernel_ -DCNAME=sgemm_kernel -DCHAR_NAME=\"sgemm_kernel_\" -DCHAR_CNAME=\"sgemm_kernel\" -I.. -UDOUBLE -UCOMPLEX -c -UDOUBLE -UCOMPLEX ../kernel/x86_64/gemm_kernel_8x4_sse3.S -o sgemm_kernel.o
gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=4 -DASMNAME=sgemm_incopy -DASMFNAME=sgemm_incopy_ -DNAME=sgemm_incopy_ -DCNAME=sgemm_incopy -DCHAR_NAME=\"sgemm_incopy_\" -DCHAR_CNAME=\"sgemm_incopy\" -I.. -UDOUBLE -UCOMPLEX -c -UDOUBLE -UCOMPLEX ../kernel/x86_64/../generic/gemm_ncopy_8.c -o sgemm_incopy.o
gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=4 -DASMNAME=sgemm_itcopy -DASMFNAME=sgemm_itcopy_ -DNAME=sgemm_itcopy_ -DCNAME=sgemm_itcopy -DCHAR_NAME=\"sgemm_itcopy_\" -DCHAR_CNAME=\"sgemm_itcopy\" -I.. -UDOUBLE -UCOMPLEX -c -UDOUBLE -UCOMPLEX ../kernel/x86_64/../generic/gemm_tcopy_8.c -o sgemm_itcopy.o
gcc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=4 -DASMNAME=sgemm_oncopy -DASMFNAME=sgemm_oncopy_ -DNAME=sgemm_oncopy_ -DCNAME=sgemm_oncopy -DCHAR_NAME=\"sgemm_oncopy_\" -DCHAR_CNAME=\"sgemm_oncopy\" -I.. -UDOUBLE -UCOMPLEX -c -UDOUBLE -UCOMPLEX ../kernel/x86_64/gemm_ncopy_4.S -o sgemm_oncopy.o
../kernel/x86_64/gemm_ncopy_4.S: Assembler messages:
../kernel/x86_64/gemm_ncopy_4.S:192: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:193: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:194: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:195: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:197: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:345: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:346: Error: invalid operands (*UND* and *ABS* sections) for `*'
../kernel/x86_64/gemm_ncopy_4.S:348: Error: invalid operands (*UND* and *ABS* sections) for `*'
make[1]: *** [sgemm_oncopy.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/ondrej/ext/GotoBLAS2/kernel'
make: *** [libs] Error 1
@mhelal

mhelal commented May 8, 2012

Copy link
Copy Markdown

Hi,

I am having the same errors when compiling GotoBLAS2, can anyone advise how to resolve,

thanks,

Manal

@certik

certik commented May 9, 2012

Copy link
Copy Markdown
Author

Hi Manal,

Unfortunately I didn't figure it out how to fix it. So I gave up and I am not using GotoBLAS2.
If you figure it out, please do let me know!

Ondrej

@mhelal

mhelal commented May 10, 2012

Copy link
Copy Markdown

Hi Ondrej,

I needed GotoBLAS2 to instal CLAPACK to install CMVS-PMVS to use visualSFM, so it is not the point to have GotoBLAS2 specifically to me,

So, I learned about OpenBlas, (https://github.com/xianyi/OpenBLAS/) from this thread:

OpenMathLib/OpenBLAS#55

I downloaded and installed without errors, but couldn't lin CLAPACK to it, still looks for lgoto,

then I went back to CMVS-PMVS, and posted a help request,
pmoulon/CMVS-PMVS#1

which is a different repo for CMVS-PMVS rather than http://grail.cs.washington.edu/software/cmvs i was trying earlier, and the French leaf pointed out that I should use cmake not make, which obviously come from his repo not the washington.edu one, then my problems look solved so far,

not sure if this helps, but that's my outcome at this stage,

@certik

certik commented May 11, 2012

Copy link
Copy Markdown
Author

Manal, thanks for the OpenBlas link! It seems to work fine for me. I am glad somebody is maintaining it. CMVS-PMVS looks impressive as well.

So I think the conclusion to GotoBLAS2 issues is to use OpenBlas. Thanks for your help!

@prehensilecode

Copy link
Copy Markdown

Using DYNAMIC_ARCH worked for me:

make BINARY=64 DYNAMIC_ARCH=1

@twslankard

Copy link
Copy Markdown

On Centos 6,

make BINARY=64 DYNAMIC_ARCH=1

worked for me as well, but I don't know exactly how or why this works. Anyone care to explain?

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