Did anybody compile the GotoBLAS successfully on Solaris x86?

I tried, four of source files is failed. They aresgemm_kernelsgemm_mainstrmm_kernel_LNstrmm_kerneland the Error Message which seems to be for the assembler is"unbalanced parenthesis in operand 1"
[244 byte] By [patwangx] at [2007-11-26 8:01:35]
# 1
I haven't tried that. Can you give me a URL from which to download the source code?By the way, have you tried perflib?
igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

You may find GotoBLAS here

http://www.tacc.utexas.edu/resources/software/

Follow the instrucion on download page.

I compiled HPL package under Solaris 10 (x86) utilizing both

Sun Perf Lib and ACML Lib and thinking of utilzing GotoBLAS and ATALS.

As new Sun Grid Rack System( of Galaxy Server) of my institute is on the way. I'm preparing for HPL test utilizing Sun Perf Lib,ACML,GotoBLAS,ATLAS. Maybe utilizing different compiler (Sun Studio 11 and GCC) also.

I hope I can finish this test and give a report of the performance of BLAS Lib ,Compiler for Galaxy+Solaris.

Thanks!

Pat

patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

I haven't run into any problems so far, compiling for either 32 bit or 64 bit code. I have been using Sun's f90 compiler (Studio 11) for Fortran and gcc 4.1 for C. Are you using Sun's C for C? There's a comment in the makefile suggesting that GotoBLAS pretty much requires gcc, and that the C code is only used for portions of the library whose performance is unimportant.

igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
Which CPU are you using?I am using gas as the assembler and compiled gcc 3.4 from source. I'll try gcc 4.1 as yours.which version of gas and gcc are your using? You compiled them or from csw?Thanks!Message was edited by: patwangx
patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5

I tried gcc4 from blastwave + Sun FORTRAN (studio11), the same error occured.

Did you run the test of GotoBLAS? (the test program is under test dir of GotoBLAS).

As the error only affects a few .o files, and the make progress will not stop errors.

the GotoBLAS libaray will still be generated just without the error .o files.

Would you please check "ALL" files are compiled correctly?

Thanks!

Pat

patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

> Did you run the test of GotoBLAS? (the test program

> is under test dir of GotoBLAS).

> As the error only affects a few .o files, and the

> make progress will not stop errors.

> the GotoBLAS libaray will still be generated just

> without the error .o files.

>

> Would you please check "ALL" files are compiled

> correctly?

OK, I'll check that. I did check that some of the files you mentioned were compiled correctly. I did not run the tests.

igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 7

> Which CPU are you using?

I'm using an Opteron (x4100). The system has two dual core CPUs.

>

> I am using gas as the assembler and compiled gcc 3.4

> from source.

> I'll try gcc 4.1 as yours.

>

> which version of gas and gcc are your using? You

> compiled them or from csw?

What's csw?

I'm using a gcc that I think was compiled by someone else within Sun. It claims to be version 4.1.0.

gas says that it's version 2.15, and was installed as part of the SUNWbinutils package:

$ pkginfo -l SUNWbinutils

PKGINST: SUNWbinutils

NAME: binutils - GNU binutils

CATEGORY: system

ARCH: i386

VERSION: 11.10.0,REV=2005.01.08.01.09

BASEDIR: /

VENDOR: Sun Microsystems, Inc.

DESC: GNU binutils - Binary file utilities 2.15

PSTAMP: sfw10-x20050108013333

INSTDATE: Jul 20 2005 02:44

HOTLINE: Please contact your local service provider

STATUS: completely installed

FILES:23 installed pathnames

4 shared pathnames

4 directories

14 executables

13091 blocks used (approx)

igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 8

Those four files that you mentioned were compiled correctly. I notice that they are all assembly files (i.e., this has nothing to do with the Fortran or C compilers, except that gcc is being used to invoke the assembler).

Did you set up the Makefile.rule correctly? Maybe you're using the wrong assembly files. To compile a 64 bit library on Opteron, I had to set these variables:

# If you need 64bit binary; some architecture can accept both 32bit and

# 64bit binary(EM64T, Opteron, SPARC and Power/PowerPC).

BINARY64 = 1

NATIVEARCH =

Without the NATIVEARCH line it tried to use the x86 assembly files rather than the x86_64 ones.

igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 9
Thanks for your information.As my new X4100 server has not arrived yet, I have to compile on P4 platform.Different Platform,GotoBLAS uses different assembly files.Would you please run "gcc -v" and show me the configure information of your gcc?Thanks again!
patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 10
CSW is the package from www.sunfreewae.com and www.blastwave.orgAnd if possible, where can I obtain the gcc(4.1) package as yours?
patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 11
I use gcc 3.4 under /usr/sfw/bin and compiled GotoBLAS for 64bit.For 32bit, the same error.Thanks!
patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 12

> Would you please run "gcc -v" and show me the

> configure information of your gcc?

>

> Thanks again!

Using built-in specs.

Target: i386-pc-solaris2.10

Configured with: configure --prefix=/set/sqe/tools/gcc/4.1/intel-S2 --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f95 --with-mpfr=/set/sqe/tools/gcc/4.1/intel-S2 --with-gmp=/set/sqe/tools/gcc/4.1/intel-S2

Thread model: posix

gcc version 4.1.0

igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 13
> And if possible, where can I obtain the gcc(4.1)> package as yours?I don't think you can obtain the same binaries. Sorry.
igb at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 14
> > And if possible, where can I obtain the gcc(4.1)> > package as yours?> > I don't think you can obtain the same binaries.> Sorry.I see. thanks anyway.
patwangx at 2007-7-6 20:33:09 > top of Java-index,Development Tools,Solaris and Linux Development Tools...