Hi
find the number of CPUs in your system with command:
cat /proc/cpuinfo | grep processor | wc -l
don't use all available CPU when using make -j (example make -j3 if you
have 4 CPUs)
Regards, Christophe
On 05/02/2020 14:38, Glen Langston wrote:
Hi Sarandis,
In the first version of your attempt, I’ve also seen this problem
It is caused by your laptop running out of memory during the
make -j 4
step. It can probably be fixed by running
make
instead. The -j 4 command causes 4 simultaneous threads to run, using up
all the memory.
It will take hours to “make” however.
Best regards
Glen
On Feb 5, 2020, at 7:32 AM, sarandis. Doulgeris <sarandis.doulge...@gmail.com>
wrote:
Can anyone tell me how can i install gnuradio 3.8 on Ubuntu 18.0.4 LTS? I have
tried these two instructions but i have the same result my laptop crashes
1)
• sudo apt update
• sudo apt upgrade
• sudo ldconfig
• sudo update-alternatives --install /usr/bin/python python
/usr/bin/python2.7 1
• sudo update-alternatives --install /usr/bin/python python
/usr/bin/python3.6 2
• sudo update-alternatives --set python /usr/bin/python3.6
• sudo apt install python3-pip
• pip3 install --upgrade setuptools
• pip3 install click
• sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig
python3-numpy python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev
libcomedi-dev libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev
python3-pyqt5 liblog4cpp5-dev libzmq3-dev python3-yaml python3-click
python3-click-plugins python3-zmq
• sudo ldconfig
sudo apt install python3-scipy libgsm1-dev libcodec2-dev liborc-0.4-dev
libgmp3-dev portaudio19-dev
• git clone --recursive -b maint-3.8 --single-branch
https://github.com/gnuradio/gnuradio.git
• cd gnuradio/
• mkdir build
• cd build
• cmake ../
make -j4 ( right here computer chashes at 87% three times straight)
• make test
• sudo make install
• sudo ldconfig
gnuradio-companion
2)
sudo apt-get install python-pip python-apt
sudo -H pip install PyBOMBS
mkdir
~
/sdr
cd ~
/sdr
pybombs auto-config
pybombs recipes add gr-recipes git+
https://github.com/gnuradio/gr-recipes.git
pybombs recipes add gr-etcetera git+
https://github.com/gnuradio/gr-etcetera.git
pybombs prefix init
~/sdr
sed -i 's/2\.6/3.6/g'
setup_env.sh
sed -i
's/2\.7/3/g' setup_env.sh
source ~
/sdr/setup_env.sh
pybombs install uhd
sudo apt install git cmake g++ libboost-all-dev libgmp-dev \
swig python3-numpy python3-mako python3-sphinx python3-lxml \
doxygen libfftw3-dev libcomedi-dev libsdl1.2-dev libgsl-dev \
libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 liblog4cpp5-dev \
libzmq3-dev python3-yaml python3-click python3-click-plugins
pybombs install gnuradio (crashes at 87% at Buiding stage)
I have no idea what i am doing. I installed gnuradio 3.7.# by
sudo apt-get update
sudo apt-get install gnuradio
I want the 3.8 version. Thanks