Why do I always get stuck installing more than 340 packages when compiling ParaView on Ubuntu 20

like the title.

Not a ParaView question.

I want to compile Paraview from source with openvdb(https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8024) converting writer but always get stuck in the processing.Please help me.

Why do I always get stuck installing more than 340 packages when compiling ParaView on Ubuntu 20

Because ParaView has many dependencies, however 340 seems a bit too much, which package are you installing ?

but always get stuck in the processing

Please share your error and edit the title of this topic to reflect your actual question

There in no error output.Just get stuck when building …cxx.o[348/20699] and mouse can not be moved.

You are running out of memory, probably during VTKm compilation. Reduce the number of process you are using.

ninja -j2 ?
How to reduce the number of process?

git clone --recursive https://gitlab.kitware.com/paraview/paraview.git
mkdir paraview_build
cd paraview_build
cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release …/paraview
ninja

ninja -j2 is indeed the way to fix this.

Get stuck again.I will try in other computer.

ninja -j 1 ?

It’s the computer’s problem.