Re: [Librsb-users] confusing config error on cygwin
A shared memory parallel sparse matrix library including Sparse BLAS.
Brought to you by:
michelemartone
From: Michele M. <mic...@us...> - 2015-06-22 11:56:14
|
On 20150622@13:34, Marco Atzeri wrote: > On 6/22/2015 12:56 PM, Michele Martone wrote: > >On 20150622@12:21, Marco Atzeri wrote: > >> "make test" fails also using same tree for build and source.. > >>... > >>gcc -g -O2 -fopenmp -std=c99 sbtc.c -o sbtc > >>sbtc.c:39:25: fatal error: blas_sparse.h: No such file or directory > >> #include <blas_sparse.h> > >> ^ > >>compilation terminated. > >For some reason "-DHAVE_CONFIG_H -I." is not present in your line > >compiling sbtc.c. What comes out if you 'grep ^DEFS Makefile' ? > > same in both case > > $ grep ^DEFS Makefile > DEFS = -DHAVE_CONFIG_H This seems correct. However, it is strange that we don't have this flag in the gcc -O2.. line above. I've just made an out-of-tree build on Linux and it does not have such problems. I don't have cygwin so I don't know how to replicate the problem you encounter. Now, sbtc is not part of the library but a test program which according to the config.log files you've sent me shall be even empty. Indeed, you shall have librsb.a built I suppose. If you have a suggestion about how to replicate the problem or how to fix it, I'll use it... |