[mpich-discuss] Issue with libcuda.a

Zhou, Hui zhouh at anl.gov
Mon Jan 18 16:33:00 CST 2021

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 at mpich.org>
Date: Monday, January 18, 2021 at 11:29 AM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Damiano Casalino - LR <D.Casalino at 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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20210118/49ebd591/attachment.html>

More information about the discuss mailing list