What I got from GDB:Is there any way to get more information using backtrace?
Program received signal SIGSEGV, Segmentation fault. 0xf7f77098 in volk_32fc_32f_multiply_32fc_a_generic () from /usr/lib/libvolk.so.0.0.0
…
Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists.
Sincerely, Tommy James Tracy II PhD Student High Performance Low Power Lab University of Virginia
On 02/13/2013 01:59 PM, Tommy Tracy II wrote:
The problem is that during the build, AVX support was enabled, even though my processor doesn't support it.
Thats intended because AVX is supported by the compiler. You should notice however, that VOLK detected at runtime that AVX was not actually available on your CPU.
Back to the original issue, I thought there was a segfault in one of the profile tests. I think a gdb backtrace would be helpful to see which one is failing.
-josh
-- Python checking for Cheetah >= 2.0.0 -- Python checking for Cheetah >= 2.0.0 - found -- Compiler name: GNU -- x86* CPU detected -- CPU width is 32 bits, Overruled arch 64 -- Available architectures: generic;32;3dnow;abm;popcount;mmx;sse;sse2;orc;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx -- Available machines: generic_orc;sse2_32_mmx_orc;sse3_32_orc;ssse3_32_orc;sse4_a_32_orc;sse4_1_32_orc;sse4_2_32_orc;avx_32_mmx_orc
Sincerely, Tommy James Tracy II PhD Student High Performance Low Power Lab University of Virginia
On Feb 13, 2013, at 2:48 PM, Josh Blum <address@hidden> wrote:
On 02/13/2013 01:44 PM, Johnathan Corgan wrote:
On Wed, Feb 13, 2013 at 8:25 AM, Tommy Tracy II <address@hidden> wrote:
# grep "Available architectures" cmake.out -- Available architectures: generic;32;3dnow;abm;popcount;mmx;sse;sse2;orc;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx
# grep "Available machines" cmake.out -- Available machines: generic_orc;sse2_32_mmx_orc;sse3_32_orc;ssse3_32_orc;sse4_a_32_orc;sse4_1_32_orc;sse4_2_32_orc;avx_32_mmx_orc
/proc/cpuinfo flags: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi *mmx* fxsr *sse* *sse2* ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 *ssse3 *cx16 xtpr pdcm *sse4_1* *sse4_2* popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept void
It looks like my processor does not support avx, but Gnuradio assumes it does. Is there a way to disable avx?
It would be best to find out why libvolk is detecting avx during cmake.
It determines that AVX is supported by the compiler via flags. So, support for AVX will be built into the library.
From the output of the volk profile, it doesnt seem that AVX was detected. So, all seems well so far...
-josh
Can you post the rest of the lines from your cmake.out related to volk (should be near the beginning)?
Johnathan
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
|