I need some help. I am using stock source of ccx 2.17 and following README to compile in Ubuntu 20.04. I have gone though all the steps to make OpenBLAS, hwloc, parsec, scotch and pastix. Ihave installed CUDA 11.1 and modified the make files as needed. When I run Makefile_i8 I get the following error:
/usr/bin/ld: …/…/…/PaStiX/pastix_i8/lib/libpastix.a(isched_hwloc.c.o): undefined reference to symbol ‘hwloc_bitmap_iszero’
/usr/bin/ld: …/…/…/PaStiX/hwloc_i8/lib/libhwloc.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile_i8:39: ccx_2.17_i8] Error 1
Any idea what could be the issue here? I see that in my case hwloc creates a lib folder and not a lib64. I have modified the Makefile accordingly.
Thanks. I believe -lpthread is already in the link command. Below is my exact Makefile_i8 file, slightly modded from the stock file based on my system. Would really appreciate some suggestions.
I was finally able to compile ccx with PastiX in Ubuntu 20.04. I had to modify the following line in Makefile_i8 file, by adding …/…/…/PaStiX/hwloc_i8/lib/libhwloc.so to the end. Hope this helps someone.
For Ubuntu system, you can use a ready-made hwloc and scotch package (to facilitate the entire procedure):
sudo apt-get install -y hwloc
sudo apt-get install -y scotch