Ok Ive managed to compile it. It wasnt pthreads fault but it apears that somewhere in makefiles of hpl it still trying to use /usr/bin/g77. Setting the flags in Make.Linux_PII_CBLAS dont change it. When Ive made a new symlink /usr/bin/g77 but this time its target is /usr/bin/mpif77 it compiled. And program works now. Im very gratefull to You guys for all the help you gave me :). Alone i would trying to compile this shit for months :/<br>
<br>thx!!<br>Grzegory<br>