I believe the official centos-8 distribution doesn’t have GPU support. The latest relase will support gpu when cuda library is detected during configure. Unfortunately, there isn’t an easy way to switch off cuda when the cuda is in the
system path. Maybe try compile it in a container that doesn’t have cuda installed?
--
Hui Zhou
From:
Damiano Casalino - LR via discuss <discuss@mpich.org>
Date: Monday, January 18, 2021 at 11:29 AM
To: discuss@mpich.org <discuss@mpich.org>
Cc: Damiano Casalino - LR <D.Casalino@tudelft.nl>
Subject: [mpich-discuss] Issue with libcuda.a
I have built mpich on a centos-8 gcc-8.3.1 machine and then tried to link it statically with my tools. The link failed because -lcuda was missing.
The same does not happen if I use mpich from the official centos-8 distrib.
Do you have any explanation about this behavior?
Thank you,
Damiano