AMGX icon indicating copy to clipboard operation
AMGX copied to clipboard

latest version does not support WITH_NO_MPI=True

Open luisaforozco opened this issue 2 years ago • 4 comments

Hello, I tried to install AMGX latest version with the flag WITH_NO_MPI=True, but it kept on searching for MPI and showing an error after not finding it. In v.2.3.0 this is not a problem.

Also, I noticed that the base directory that still exist in v.2.3.0, has been removed in the latest version.

luisaforozco avatar Sep 19 '22 08:09 luisaforozco

Apologies, likely I have made a change in the CMake that broke the non-MPI builds. I'll add to our regression tests to avoid in future, which platform are you on?

mattmartineau avatar Sep 20 '22 22:09 mattmartineau

I'm on Linux kernel: 4.18.0-348.23.1.el8_5.x86_64

And the gcc version is (GCC) 10.2.0

luisaforozco avatar Sep 21 '22 09:09 luisaforozco

Hi @luisaforozco ,

Can you share you cmake command line and it's output and what error specifically do you get?

Thanks,

marsaev avatar Oct 17 '22 15:10 marsaev

Hello, sorry for my late response. Here is how I ended up building AMGX:

git clone https://github.com/NVIDIA/AMGX.git
cd AMGX
git checkout tags/v2.3.0 -b version_v2.3.0
mkdir build
cd build
cmake -DCMAKE_NO_MPI=True ../
make -j 16 all

luisaforozco avatar Mar 13 '23 21:03 luisaforozco