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
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.
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
> 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.
> 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)
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.
> 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