Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Trouble configuring 1.7.2 for Cuda 5.0.35
From: Ray Sheppard (rsheppar_at_[hidden])
Date: 2013-08-14 14:59:01


Thank you for the quick reply Rolf,
   I personally don't know the Cuda libraries. I was hoping there had
been a name change. I am on a Cray XT-7.
Here is my configure command:

./configure CC=gcc FC=gfortran CFLAGS="-O2" F77=gfortran FCFLAGS="-O2"
--enable-static --disable-shared --disable-vt --with-threads=posix
--with-gnu-ld --with-alps --with-cuda=/opt/nvidia/cudatoolkit/5.0.35
--with-cuda-libdir=/opt/nvidia/cudatoolkit/5.0.35/lib64
--prefix=/N/soft/cle4/openmpi/gnu/1.7.2/cuda

Ray

On 8/14/2013 2:50 PM, Rolf vandeVaart wrote:
> It is looking for the libcuda.so file, not the libcudart.so file. So, maybe --with-libdir=/usr/lib64
> You need to be on a machine with the CUDA driver installed. What was your configure command?
>
> http://www.open-mpi.org/faq/?category=building#build-cuda
>
> Rolf
>
>> -----Original Message-----
>> From: users [mailto:users-bounces_at_[hidden]] On Behalf Of Ray
>> Sheppard
>> Sent: Wednesday, August 14, 2013 2:49 PM
>> To: Open MPI Users
>> Subject: [OMPI users] Trouble configuring 1.7.2 for Cuda 5.0.35
>>
>> Hello,
>> When I try to run my configure script, it dies with the following.
>> Below it are the actual libraries in the directory. Could the solution be as
>> simple as adding "rt" somewhere in the configure script? Thanks.
>> Ray
>>
>> checking if --with-cuda-libdir is set... not found
>> configure: WARNING: Expected file
>> /opt/nvidia/cudatoolkit/5.0.35/lib64/libcuda.* not found
>> configure: error: Cannot continue
>> rsheppar_at_login1:/N/dc/projects/ray/br2/openmpi-1.7.2> ls -l
>> /opt/nvidia/cudatoolkit/5.0.35/lib64/
>> total 356284
>> lrwxrwxrwx 1 root root 16 Mar 18 14:35 libcublas.so ->
>> libcublas.so.5.0
>> lrwxrwxrwx 1 root root 19 Mar 18 14:35 libcublas.so.5.0 ->
>> libcublas.so.5.0.35
>> -rwxr-xr-x 1 root root 58852880 Sep 26 2012 libcublas.so.5.0.35
>> -rw-r--r-- 1 root root 21255400 Sep 26 2012 libcublas_device.a
>> -rw-r--r-- 1 root root 456070 Sep 26 2012 libcudadevrt.a
>> lrwxrwxrwx 1 root root 16 Mar 18 14:35 libcudart.so ->
>> libcudart.so.5.0
>> lrwxrwxrwx 1 root root 19 Mar 18 14:35 libcudart.so.5.0 ->
>> libcudart.so.5.0.35
>> -rwxr-xr-x 1 root root 375752 Sep 26 2012 libcudart.so.5.0.35
>> lrwxrwxrwx 1 root root 15 Mar 18 14:35 libcufft.so -> libcufft.so.5.0
>> lrwxrwxrwx 1 root root 18 Mar 18 14:35 libcufft.so.5.0 ->
>> libcufft.so.5.0.35
>> -rwxr-xr-x 1 root root 30787712 Sep 26 2012 libcufft.so.5.0.35
>> lrwxrwxrwx 1 root root 17 Mar 18 14:35 libcuinj64.so ->
>> libcuinj64.so.5.0
>> lrwxrwxrwx 1 root root 20 Mar 18 14:35 libcuinj64.so.5.0 ->
>> libcuinj64.so.5.0.35
>> -rwxr-xr-x 1 root root 1306496 Sep 26 2012 libcuinj64.so.5.0.35
>> lrwxrwxrwx 1 root root 16 Mar 18 14:35 libcurand.so ->
>> libcurand.so.5.0
>> lrwxrwxrwx 1 root root 19 Mar 18 14:35 libcurand.so.5.0 ->
>> libcurand.so.5.0.35
>> -rwxr-xr-x 1 root root 25281224 Sep 26 2012 libcurand.so.5.0.35
>> lrwxrwxrwx 1 root root 18 Mar 18 14:35 libcusparse.so ->
>> libcusparse.so.5.0
>> lrwxrwxrwx 1 root root 21 Mar 18 14:35 libcusparse.so.5.0 ->
>> libcusparse.so.5.0.35
>> -rwxr-xr-x 1 root root 132455240 Sep 26 2012 libcusparse.so.5.0.35
>> lrwxrwxrwx 1 root root 13 Mar 18 14:35 libnpp.so -> libnpp.so.5.0
>> lrwxrwxrwx 1 root root 16 Mar 18 14:35 libnpp.so.5.0 ->
>> libnpp.so.5.0.35
>> -rwxr-xr-x 1 root root 93602912 Sep 26 2012 libnpp.so.5.0.35
>> lrwxrwxrwx 1 root root 20 Mar 18 14:35 libnvToolsExt.so ->
>> libnvToolsExt.so.5.0
>> lrwxrwxrwx 1 root root 23 Mar 18 14:35 libnvToolsExt.so.5.0 ->
>> libnvToolsExt.so.5.0.35
>> -rwxr-xr-x 1 root root 31280 Sep 26 2012 libnvToolsExt.so.5.0.35
>>
>>
>>
>> --
>> Respectfully,
>> Ray Sheppard
>> RSheppar_at_[hidden]
>> http://pti.iu.edu/sciapt
>> 317-274-0016
>>
>> Principal Analyst
>> Senior Technical Lead
>> Scientific Applications and Performance Tuning
>> Research Technologies
>> University Information Technological Services
>> IUPUI campus
>> Indiana University
>>
>> My "pithy" saying: Science is the art of translating the world
>> into language. Unfortunately, that language is mathematics.
>> Bumper sticker wisdom: Make it idiot-proof and they will make a
>> better idiot.
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information. Any unauthorized review, use, disclosure or distribution
> is prohibited. If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
                          Respectfully,
                            Ray Sheppard
                            RSheppar_at_[hidden]
                            http://pti.iu.edu/sciapt
                            317-274-0016
                    Principal Analyst
                    Senior Technical Lead
                    Scientific Applications and Performance Tuning
                    Research Technologies
                    University Information Technological Services
                    IUPUI campus
                    Indiana University
    My "pithy" saying:  Science is the art of translating the world
        into language. Unfortunately, that language is mathematics.
    Bumper sticker wisdom: Make it idiot-proof and they will make a
        better idiot.