Re: [petsc-users] Unable to configure PETSc with CUDA: Problem with thrust directory

2014-09-01 Thread Christophe Ortiz
Hi all, Thanks a lot for your answers. I followed Satish's advice and downloaded pets-dev. Then I tried to configure it with CUDA 6.0. It complained because I did not have flex installed, no big deal. Then it complained because it prefers GNU compilers than Intel ones, no big deal. This being

[petsc-users] Set matrix column to vector

2014-09-01 Thread Florian Lindner
Hello, I want to set the entire column of a N x M matrix to a N vector. What is the best way to do that? My first guess would be to VecGetArray and use that array for MatSetValuesLocal with nrow = VecGetLocalSize. What is the best to say MatSetValuesLocal that I want to set all rows

Re: [petsc-users] Set matrix column to vector

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 4:10 AM, Florian Lindner mailingli...@xgm.de wrote: Hello, I want to set the entire column of a N x M matrix to a N vector. What is the best way to do that? My first guess would be to VecGetArray and use that array for MatSetValuesLocal with nrow = VecGetLocalSize.

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 3:22 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: Hi, When I try to configure PETSc with HDF5 by using --download-hdf5, I get a very long error message from PETSc compiling HDF5 (see attached error-down-hdf5.tar.gz) which boils down to h5tools_str.c: In function

Re: [petsc-users] Unable to configure PETSc with CUDA: Problem with thrust directory

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 3:56 AM, Christophe Ortiz christophe.or...@ciemat.es wrote: Hi all, Thanks a lot for your answers. I followed Satish's advice and downloaded pets-dev. Then I tried to configure it with CUDA 6.0. It complained because I did not have flex installed, no big deal. Then

Re: [petsc-users] Unable to configure PETSc with CUDA: Problem with thrust directory

2014-09-01 Thread Christophe Ortiz
On Mon, Sep 1, 2014 at 12:56 PM, Matthew Knepley knep...@gmail.com wrote: On Mon, Sep 1, 2014 at 3:56 AM, Christophe Ortiz christophe.or...@ciemat.es wrote: Hi all, Thanks a lot for your answers. I followed Satish's advice and downloaded pets-dev. Then I tried to configure it with CUDA

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Åsmund Ervik
On 01. sep. 2014 12:51, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 3:22 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: Subsequently I installed HDF5 v. 1.8.12 using my OS package manager and then tried to configure with --with-hdf5 --with-hdf5-dir=/path/to/system/hdf5 using PETSc 3.5.1.

Re: [petsc-users] Reusing the preconditioner when using KSPSetComputeOperators

2014-09-01 Thread Åsmund Ervik
On 29. aug. 2014 19:03, Barry Smith wrote: On Aug 29, 2014, at 9:35 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: On 28. aug. 2014 20:52, Barry Smith wrote: On Aug 28, 2014, at 4:34 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: Hello, I am solving a pressure Poisson equation with

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 6:18 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: On 01. sep. 2014 12:51, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 3:22 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: Subsequently I installed HDF5 v. 1.8.12 using my OS package manager and then tried to

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Åsmund Ervik
On 01. sep. 2014 13:52, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 6:18 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: On 01. sep. 2014 12:51, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 3:22 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: Subsequently I installed HDF5 v. 1.8.12 using

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 6:57 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: On 01. sep. 2014 13:52, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 6:18 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: On 01. sep. 2014 12:51, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 3:22 AM, Åsmund

Re: [petsc-users] Set matrix column to vector

2014-09-01 Thread Florian Lindner
Am 01.09.2014 12:45, schrieb Matthew Knepley: On Mon, Sep 1, 2014 at 4:10 AM, Florian Lindner mailingli...@xgm.de wrote: Hello, I want to set the entire column of a N x M matrix to a N vector. What is the best way to do that? My first guess would be to VecGetArray and use that array for

Re: [petsc-users] Set matrix column to vector

2014-09-01 Thread Florian Lindner
Am 01.09.2014 15:44, schrieb Florian Lindner: Am 01.09.2014 12:45, schrieb Matthew Knepley: On Mon, Sep 1, 2014 at 4:10 AM, Florian Lindner mailingli...@xgm.de wrote: Hello, I want to set the entire column of a N x M matrix to a N vector. What is the best way to do that? My first guess

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Åsmund Ervik
On 01. sep. 2014 14:02, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 6:57 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: No, I am not able to, that is why I switched to --with-hdf5-dir=. Like I said in the first email, the version of HDF5 (1.8.10) that ships with PETSc 3.5.1 does not compile

Re: [petsc-users] Set matrix column to vector

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 8:44 AM, Florian Lindner mailingli...@xgm.de wrote: Am 01.09.2014 12:45, schrieb Matthew Knepley: On Mon, Sep 1, 2014 at 4:10 AM, Florian Lindner mailingli...@xgm.de wrote: Hello, I want to set the entire column of a N x M matrix to a N vector. What is the best

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-01 Thread Matthew Knepley
On Mon, Sep 1, 2014 at 9:02 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: On 01. sep. 2014 14:02, Matthew Knepley wrote: On Mon, Sep 1, 2014 at 6:57 AM, Åsmund Ervik asmund.er...@ntnu.no wrote: No, I am not able to, that is why I switched to --with-hdf5-dir=. Like I said in the first

[petsc-users] Есть проблемы с сайтом? Мы поможем!

2014-09-01 Thread Елена
ТОЛЬКО ДО 15 сентяюря 2014 года! 1. Хостинг и домен в зоне RU на ваше имя на 1 год 2. Наполнение сайта текстом и фото (предоставляется заказчиком) 3. Форма отправки сообщений и карта проезда 4. Красивая фотогалерея 5. Создание 6-8 страниц сайта Заказать сайт (812) 981-72-40