[srsran-users] Problem building without AVX enabled

Walter Maguire wmaguire at live.com
Mon Jan 17 05:57:31 UTC 2022


Hi all,

I have been trying to build the code on vsc without the Intel AVX mode instructions.  I would like to run the ldpc code initially without any optimization.

To do this I ran ccmake ../ in the srsRAN/build directory and set the options as shown below.  As can be seen all AVX options have been turned off.

                                                     Page 1 of 1
 ASSERTS_ENABLED                  ON
 AUTO_DETECT_ISA                  ON
 BACKWARD_TESTS                   ON
 BUILD_STATIC                     OFF
 BUILD_TESTING                    ON
 BUILD_WITH_LTO                   OFF
 CMAKE_BUILD_TYPE                 Debug
 CMAKE_CXX_COMPILER_LAUNCHER      /usr/bin/ccache
 CMAKE_C_COMPILER_LAUNCHER        /usr/bin/ccache
 CMAKE_EXPORT_COMPILE_COMMANDS    ON
 CMAKE_INSTALL_PREFIX             /usr/local
 DISABLE_SIMD                     OFF
 ENABLE_ALL_TEST                  OFF
 ENABLE_ASAN                      OFF
 ENABLE_AVX                       OFF
 ENABLE_AVX2                      OFF
 ENABLE_AVX512                    OFF
 ENABLE_BLADERF                   ON
 ENABLE_FMA                       ON
 ENABLE_GCOV                      OFF
 ENABLE_GUI                       ON
 ENABLE_HARDSIM                   ON
 ENABLE_MSAN                      OFF
 ENABLE_SKIQ                      ON
 ENABLE_SOAPYSDR                  ON
 ENABLE_SRSENB                    ON
 ENABLE_SRSEPC                    ON
 ENABLE_SRSLOG_TRACING            OFF
 ENABLE_SRSUE                     ON
 ENABLE_SSE                       ON
 ENABLE_TIDY                      OFF
 ENABLE_TIMEPROF                  ON
 ENABLE_TSAN                      OFF
 ENABLE_TTCN3                     OFF
 ENABLE_UHD                       ON
 ENABLE_ZEROMQ                    ON
 ENABLE_ZMQ_TEST                  OFF
 FORCE_32BIT                      OFF
 GCC_ARCH                         native
 RPATH                            OFF
 SKIQ_LIBRARY                     SKIQ_LIBRARY-NOTFOUND
 SKIQ_LIBRARY_GLIB                /usr/lib/x86_64-linux-gnu/libglib-2.0.a
 SKIQ_LIBRARY_USB                 /usr/lib/x86_64-linux-gnu/libusb-1.0.a
 STACK_DETAILS_AUTO_DETECT        ON
 STACK_DETAILS_BACKTRACE_SYMBOL   OFF
 STACK_DETAILS_BFD                OFF
 STACK_DETAILS_DW                 OFF
 STACK_DETAILS_DWARF              OFF
 STACK_WALKING_BACKTRACE          OFF
 STACK_WALKING_LIBUNWIND          OFF
 STACK_WALKING_UNWIND             ON
 STOP_ON_WARNING                  OFF
 USE_LTE_RATES                    OFF
 USE_MKL                          OFF


After exiting ccmake, I do

make clean
cmake -DCMAKE_BUILD_TYPE=Debug ../
make
make test
sudo make install




Unfortunately, as can be seen from the vsc screenshot (link below), the LV_HAVE_AVX2 is set.

<https://1drv.ms/u/s!Av_gjQ2QUN8FzBp2xAuTI_u4Ps13>
[https://dm2305files.storage.live.com/y4mTbXXcVOKO8l6kTrmok_qbmDfqLTfZyN_BtnxQpgpZEeeNgmupFP24NXKS-UDguNdfBZb6u66U-eTFyjin3N84KUVwBpJGKPkgZ0YxnRIODzcl6CHxgsnVpeH9Vo-VwRggIHuPRtiEZBiQW1NP2oGHSJhIHwiMW6t-Oya1ymPLCT54q2T__KCjaSnjfNERX8o?width=200&height=150&cropmode=center]
[https://outlook-2.cdn.office.net/assets/mail/file-icon/png/cloud_blue_16x16.png]2022-01-18.png




I would be grateful if anyone would advise me on a fix for this issue.

Regards,
Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220117/c662c7ed/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2022-01-18.png
Type: image/png
Size: 272924 bytes
Desc: 2022-01-18.png
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220117/c662c7ed/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2022-01-18.png
Type: image/png
Size: 272924 bytes
Desc: 2022-01-18.png
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220117/c662c7ed/attachment-0003.png>


More information about the srsran-users mailing list