Re: Using blaslapack

2017-10-16 Thread Diane Bruce
On Mon, Oct 16, 2017 at 07:19:49AM -0700, Steve Kargl wrote: > On Mon, Oct 16, 2017 at 02:18:01AM -0700, Yuri wrote: > > On 10/15/17 23:20, Gleb Popov wrote: > > > I've tracked these symbols to /usr/local/lib/gcc6/libgcc_s.so. But there > > > is ... > > Fortran implementation based on gcc is fault

Re: Using blaslapack

2017-10-16 Thread Yuri
On 10/16/17 07:19, Steve Kargl wrote: Huh? I use Netlib blas/lapack compiled with gfortran on FreeBSD with no problem. If you're having problems with gfortran finding the right libgcc_s.so, then add -rpath /usr/local/lib/gcc5 (or gcc6 or gcc7) to yout Fortran options. gfortran doesn't have a

Re: Using blaslapack

2017-10-16 Thread Steve Kargl
On Mon, Oct 16, 2017 at 02:18:01AM -0700, Yuri wrote: > On 10/15/17 23:20, Gleb Popov wrote: > > I've tracked these symbols to /usr/local/lib/gcc6/libgcc_s.so. But there is > > also /usr/lib/libgcc_s.so and it doesn't have such symbols. I suspect this > > is the source of the error, but I wasn't ab

Re: Using blaslapack

2017-10-16 Thread Tijl Coosemans
On Mon, 16 Oct 2017 09:20:26 +0300 Gleb Popov <6year...@gmail.com> wrote: > I'm porting an application (DLib, https://reviews.freebsd.org/D12559) that > uses BLAS and LAPACK, and I have some questions. > > 1. Is there any pure C implementation that does not require Fortran > compiler? Probably no

Re: Using blaslapack

2017-10-16 Thread Yuri
On 10/16/17 02:18, Yuri wrote: You can try to apply the patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220313 and then have USES=fortran:flang instead of just USES=fortran in your port. Please let me know if this works. flang is a new, experimental fortran implementation that a

Re: Using blaslapack

2017-10-16 Thread Yuri
On 10/15/17 23:20, Gleb Popov wrote: I've tracked these symbols to /usr/local/lib/gcc6/libgcc_s.so. But there is also /usr/lib/libgcc_s.so and it doesn't have such symbols. I suspect this is the source of the error, but I wasn't able to fix it. Passing -Wl,-rpath as advised by lang/gcc6 pkg-messa

Re: Using blaslapack

2017-10-16 Thread Mehmet Erol Sanliturk
On Mon, Oct 16, 2017 at 9:20 AM, Gleb Popov <6year...@gmail.com> wrote: > Hello. > > I'm porting an application (DLib, https://reviews.freebsd.org/D12559) that > uses BLAS and LAPACK, and I have some questions. > > 1. Is there any pure C implementation that does not require Fortran > compiler? >

Using blaslapack

2017-10-15 Thread Gleb Popov
Hello. I'm porting an application (DLib, https://reviews.freebsd.org/D12559) that uses BLAS and LAPACK, and I have some questions. 1. Is there any pure C implementation that does not require Fortran compiler? 2. My application looks for cblas_ddot function in BLAS library, but the default librar