Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-25 Thread Denis Davydov
Hi Chih-Che, FYI, deal.ii in Spack was extended to optionally build with CUDA and tests pass, see https://github.com/LLNL/spack/pull/5402#issuecomment-331821313 Regards, Denis. On Friday, September 22, 2017 at 1:02:39 AM UTC+2, Chih-Che Chueh wrote: > > > > > >> I'm going to add that inst

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-21 Thread Chih-Che Chueh
> I'm going to add that installing a compiler will really only be the >> first >> step. After that, of course, comes the task of understanding how to >> program these graphics cards, and all of the other things that require >> interacting with the appropriate software levels. You wi

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-21 Thread Wolfgang Bangerth
I'm going to add that installing a compiler will really only be the first step. After that, of course, comes the task of understanding how to program these graphics cards, and all of the other things that require interacting with the appropriate software levels. You will need to

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-20 Thread Denis Davydov
Hi Chih-Che > 21 сент. 2017 г., в 6:33, Chih-Che Chueh написал(а): > > Hi Wolfgang, > > >> I think you are expecting too much of Bruno. He has a day job as well, for >> which he is paid. I think you will need to figure out the installation on >> your system yourself -- otherwise, Bruno (or a

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-20 Thread Chih-Che Chueh
Hi Wolfgang, I think you are expecting too much of Bruno. He has a day job as well, for > which he is paid. I think you will need to figure out the installation on > your system yourself -- otherwise, Bruno (or any other among us) will be > asked to do so for everyone else on the mailing list who

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-20 Thread Wolfgang Bangerth
On 09/20/2017 08:22 PM, Chih-Che Chueh wrote: Our system administrator is busy working on something else so that he is unable to update GNU C in our system through what you advised. But he is able to give you an account so that you can have access to our system. As a result, I am wondering if

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-20 Thread Chih-Che Chueh
Hi Bruno, Our system administrator is busy working on something else so that he is unable to update GNU C in our system through what you advised. But he is able to give you an account so that you can have access to our system. As a result, I am wondering if you are willing to install the newer ver

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-20 Thread Denis Davydov
deal.II in Spack is being extended for CUDA https://github.com/LLNL/spack/pull/5402 Builds ok on Ubuntu PC with gcc 5.4.0. Chih-Che, if you still have issues, you might want to try this out. Regards, Denis. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum opti

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-18 Thread Denis Davydov
Sent from iPhone, please excuse my brevity. > 18 сент. 2017 г., в 15:31, Bruno Turcksin > написал(а): > > > 2017-09-17 1:22 GMT-04:00 Denis Davydov : >> >> I though you could also get binaries (nvcc) and the rest by compiling CUDA, >> i.e. >> https://developer.nvidia.com/compute/cuda/8.0

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-18 Thread Bruno Turcksin
2017-09-17 1:22 GMT-04:00 Denis Davydov : > > I though you could also get binaries (nvcc) and the rest by compiling > CUDA, i.e. https://developer.nvidia.com/compute/cuda/8.0/Prod2/ > local_installers/cuda_8.0.61_375.26_linux-run > but of course one can also set it as an externally provided packag

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-18 Thread Chih-Che Chueh
Hi Bruno, > You definitely don't want to update your OS. I am also using ubuntu and I > have several versions of gcc and clang installed. Lately, I have been using > spack to install everything for me (https://github.com/LLNL/spack). This > is becoming the standard way to install new programs o

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-16 Thread Denis Davydov
> On 17 Sep 2017, at 01:00, Bruno Turcksin wrote: > > Denis, > > 2017-09-16 18:30 GMT-04:00 Denis Davydov >: > @Bruno I don't any experience with cuda, but do we need anything special but > $spack install cuda > to use it? > > I wouldn't use spack to install cuda

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-16 Thread Bruno Turcksin
Denis, 2017-09-16 18:30 GMT-04:00 Denis Davydov : > @Bruno I don't any experience with cuda, but do we need anything special > but > $spack install cuda > to use it? > > I wouldn't use spack to install cuda because there is nothing to compile. You need binaries and you need drivers that depends

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-16 Thread Denis Davydov
On Saturday, September 16, 2017 at 9:24:02 PM UTC+2, Bruno Turcksin wrote: > > Chih-Che, > > 2017-09-15 19:42 GMT-04:00 Chih-Che Chueh > > : >> >> >> You definitely don't want to update your OS. I am also using ubuntu and I > have several versions of gcc and clang installed. Lately, I have been us

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-16 Thread Bruno Turcksin
Chih-Che, 2017-09-15 19:42 GMT-04:00 Chih-Che Chueh : > > Thanks for the reminder and helps. Indeed, our system administrator has > trouble with installing the newer version of GNU C compiler. Would you > provide detailed instructions on how to installing the GNU C compiler? > Thanks! > > The sys

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-16 Thread lukshuntim
On Saturday, September 16, 2017 07:42 AM, Chih-Che Chueh wrote: HI Bruno, Thanks for the reminder and helps. Indeed, our system administrator has trouble with installing the newer version of GNU C compiler. Would you provide detailed instructions on how to installing the GNU C compiler? Thank

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-15 Thread Chih-Che Chueh
HI Bruno, Thanks for the reminder and helps. Indeed, our system administrator has trouble with installing the newer version of GNU C compiler. Would you provide detailed instructions on how to installing the GNU C compiler? Thanks! The system administrator told me that he was trying to install th

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-09-15 Thread Bruno Turcksin
Chih-Che, Did you get everything to work or you gave up? You are the first non-developer trying to install deal.II with CUDA, so I am really interested to know which problems you are encountering. Best, Bruno 2017-08-23 20:49 GMT-04:00 Bruno Turcksin : > Chih-Che, > > 2017-08-23 20:09 GMT-04:0

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-23 Thread Bruno Turcksin
Chih-Che, 2017-08-23 20:09 GMT-04:00 Chih-Che Chueh : > That's still not working with getting the same error. Is this just because > it can't find the BLAS and LAPACK libraies? Did you reconfigure Trilinos in an empty directory? If not do it, you never know what has been cached by CMake... The pr

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-23 Thread Chih-Che Chueh
Hi Bruno > I have already moved to the trilinos installation. But after installing > for > > a while, I get the error that you can see below. Is this because I am > using > > an old version of Intel MKL Math Kernel library? If not, does any one > know > > how to fix it? > First you used pgi now y

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-23 Thread Bruno Turcksin
Chih-Che, 2017-08-23 5:45 GMT-04:00 Chih-Che Chueh : > I have already moved to the trilinos installation. But after installing for > a while, I get the error that you can see below. Is this because I am using > an old version of Intel MKL Math Kernel library? If not, does any one know > how to fix

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-23 Thread Chih-Che Chueh
Hi Daniel, Thanks for the answer for the successful p4est installation. I have not seen you since 2013 deal.II workshop. It was nice to meet you and eat dinner with you with the same table. Hi Daniel, Bruno or any others, I have already moved to the trilinos installation. But after installing fo

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-23 Thread Daniel Arndt
Chih-Che, [...] > Build FAST version in /work2/chueh/deal.II_project/p4est/p4est-build/FAST > configure: WARNING: Static source code checker splint not found > configure: WARNING: Static source code checker splint not found > FAST version installed in /work2/chueh/deal.II_project/p4est/FAST > > Bu

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-23 Thread Chih-Che Chueh
Bruno, > pgc++-Error-Unknown switch: -print-prog-name=ld > Don't use pgi :-) We aren't done with the pgi port. > I just turn off pgi on my linux background while turning on the necessary intel C compiler etc, and try again to use the online script. It seems to work well but with some warnings.

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-21 Thread Bruno Turcksin
Chih-Che, 2017-08-21 21:08 GMT-04:00 Chih-Che Chueh : > I just start to install p4est first in our server consisting of many > machines. Then, after following the basic in instruction shown here, I get > the following error. Can you help me out? Sure. > pgc++-Error-Unknown switch: -print-prog-nam

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-21 Thread Chih-Che Chueh
Bruno, I just start to install p4est first in our server consisting of many machines. Then, after following the basic in instruction shown here, I get the following error. Can you help me out? ===Instruction= If you want to use the script, copy the

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-21 Thread Chih-Che Chueh
Hi Bruno, Thanks for the notification. I am going to install p4est, trilino and the deal.II with CUDA, as I also want to run some tutorial programs made before. I will let you know if I have any problem or trouble installing them. By the way, the CUDA compiler version in our server has been updat

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-21 Thread Bruno Turcksin
Chih-Che 2017-08-17 20:39 GMT-04:00 Chih-Che Chueh : > I can wait for the tests that are done. No worry. Everything is working now. Best, Bruno -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- Y

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-17 Thread Chih-Che Chueh
Bruno, > Let me know once your merger is done so that I can start to install the > > deal.II with CUDA in the server I use now. > The merge was done but in the mean time we broke three tests for CUDA > :-(. I think that it is still worth to try to install deal with CUDA > and just update later.

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-17 Thread Bruno Turcksin
Chih-che 2017-08-17 3:27 GMT-04:00 Chih-Che Chueh : > Let me know once your merger is done so that I can start to install the > deal.II with CUDA in the server I use now. The merge was done but in the mean time we broke three tests for CUDA :-(. I think that it is still worth to try to install dea

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-17 Thread Chih-Che Chueh
Bruno, > Is there any reason why you still used the previous way? Is this because > > your GPU accelerator was launched some years ago so that you are unable > to > > use the new simple way? > The problem with UVM is that it makes it easy to write bad code. I am > working on a code where we use UV

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-16 Thread Bruno Turcksin
Chih-Che 2017-08-16 4:53 GMT-04:00 Chih-Che Chueh : > It is nice to meet you again. I still remember we met and chatted a little > bit in 2013 deal.II workshop, which was held in Texas A&M University. It has been a while! Nice to meet you again. > Is there any reason why you still used the previo

Re: [deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-16 Thread Chih-Che Chueh
Bruno, It is nice to meet you again. I still remember we met and chatted a little bit in 2013 deal.II workshop, which was held in Texas A&M University. Thank you for letting me be involved in this development. Actually, once I really get started after the installation of the development version o

[deal.II] Re: about deal.II with CUDA C programming acceleration

2017-08-15 Thread Bruno Turcksin
Chih-Che, The CUDA support in deal.II is very new. It is only in the development version of deal (https://github.com/dealii/dealii). You can see our current development plan here https://github.com/dealii/dealii/projects/2 Right now, we have support for vector and partial support for matrix-fre