I have compiled scalapack with a link to the GotoBlas library. I encountered some difficulties and I would like to know if the solution I found sounds good.
I used the installer with the following command :
./setup.py --prefix=../Build --blaslib=$HOME/Outils/GotoBLAS/GotoBLAS2/libgoto2.a --ccflags=-pthread --fcflags=-pthread
(I need to precise "pthread", otherwise some functions in libgoto2 have undefined references)
but the BLAS and LAPACK check-tests do not pass : the "fcflags" variable is not transfered in blas.py and in lapack.py.
At line 122 in blas .py, I change the following line :
fcomm = self.config.fc+' -o tmpf '+'tmpf.f '+self.config.blaslib+' '+self.config.ldflags_fc+' -lm'
fcomm = self.config.fc+' -o tmpf '+'tmpf.f '+self.config.blaslib+' '+self.config.fcflags+' -lm'
The same modification at line 109 in lapack.py.
Is it a real bug in the installer or I just do not use it in the right way ?
Than you for comment.