Menu

#10 OSKI 1.0.1h fails to install under PGI compilers

open
nobody
5
2008-08-22
2008-08-22
Anonymous
No

During the install process, almost all OSKI 1.0.1h benchmarks fail when using PGI compiler version 7.1-1 (64-bit) on a Barcelona quad-core architecture. Here is a typical OSKI benchmark error:

***********************************************************
* OSKI Error -9 : Create-from-CSR routine not implemented.
* Occurred at/near '../../oski-1.0.1h/src/xforms.c', line 432.

Additional information:
BCSR matrix type does not implement a method to create a BCSR
matrix from CSR format.
**********************************************************

***********************************************************
* OSKI Error -22 : Could not transform data structure
* Occurred at/near '../../oski-1.0.1h/src/xforms.c', line 834.

Additional information:
oski_ApplyMatTransforms_Tid(): 'Transformation program did not
return a valid matrix object.'
**********************************************************

I also had to modify the OSKI source and configure script to be able to start the install. Here is a summary of the steps:

1) Download the latest version of cycle.h with PGI support and modify it to conform with what OSKI expects.
2) Turn off building of shared libraries.
3) Modify the configure script itself. The PGI compiler seems to handle passing the option "-export-dynamic" a little differently from many others, and I wasn't smart enough to get this to take via a configure option. Basically, just after line 11602 in the 1.0.1h configure script, I inserted this line,

export_dynamic_flag_spec="-Wl,-export-dynamic"

Here is my configure line:

../oski-1.0.1h/configure \ --prefix=/home/jhu/usr \ --enable-shared=no \ CC=/opt/pgi/linux86-64/7.2-1/bin/pgcc \ CXX=/opt/pgi/linux86-64/7.2-1/bin/pgCC \ F77=/opt/pgi/linux86-64/7.2-1/bin/pgf77 \ CFLAGS="-tp barcelona-64 -fastsse -O3 -Masmkeyword" \ CXXFLAGS="-tp barcelona-64 --no_using_std -fastsse -O3" \ FFLAGS="-tp barcelona-64 -fastsse -O3" \ --with-blas="-L/opt/pgi/linux86-64/7.2-1/lib -lacml -lpgmp"

Regards,
Jonathan Hu

Discussion

  • Nobody/Anonymous

    Logged In: NO

    It doesn't work w/ the GNU compilers eithe.

    -Chris Siefert

     
  • Nobody/Anonymous

    This is not a PGI-specific issue.

    This fails on barcelona as well when you use gcc.

    Regards,
    Chris Siefert

     
  • Jonathan

    Jonathan - 2008-10-02

    Hi Rich,

    Just curious if you've made any progress on this issue.

    Thanks,
    Jonathan

     

Log in to post a comment.