[Pw_forum] [QE-GPU]Compiling QE-GPU with Cuda-6.0 or higher

2014-09-29 Thread Rafael Ribadeneira
Thank you very much Filippo!!

On Sat, Sep 27, 2014 at 11:05 PM, Filippo Spiga 
wrote:

> Dear Esteban,
>
> On Sep 28, 2014, at 2:58 AM, Esteban Ribadeneira Paz 
> wrote:
> > - Cuda-Tools: Cuda-5.5   Is it possible to employ Cuda-6.0 or Cuda-6.5?
>
> I recommend CUDA 6.0 at the moment, no CUDA 6.5. CUDA 5.5 is good as well.
>
>
> > - Is it necessary to install previously common QEspresso or could I
> compile directly QEspresso-GPU?
>
> It is all explained in the README https://github.com/fspiga/QE-GPU. You
> need QE first and then you need to apply QE-GPU that works as "plug-in"
>
>
> > - The GPUs- card is a Tesla K20c
>
> YES! This is a suitable card.
>
>
> > Finally, Is there some tutorial to install QEspresso-GPU, in addition to
> the standard README?
>
> Unfortunately not. As soon I have to present a sort of tutorial "how to
> use QE-GPU" then I will be able to prepare a tutorial-like style material.
> So far, nothing official has been produced. Anyway, if you compile QE-GPU,
> the way to use it is _exactly_ like QE. If you know QE, you can use QE-GPU.
>
> HTH,
>
> Cheers,
> F
>
> --
> Mr. Filippo SPIGA, M.Sc.
> http://filippospiga.info ~ skype: filippo.spiga
>
> ?Nobody will drive us out of Cantor's paradise.? ~ David Hilbert
>
> *
> Disclaimer: "Please note this message and any attachments are CONFIDENTIAL
> and may be privileged or otherwise protected from disclosure. The contents
> are not to be disclosed to anyone other than the addressee. Unauthorized
> recipients are requested to preserve this confidentiality and to advise the
> sender immediately of any error in transmission."
>
>
>
> ___
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum




-- 

___
Rafael Esteban Ribadeneira Paz, Doctor en Ingenier?a (Ph.D.)



*Profesor - Investigador Grupo KimeraDepartamento de Procesos y
Energ?aFacultad de MinasUniversidad Nacional de Colombia - Sede Medell?n*
Tel: (57) 4 4255380
Cra. 80 # 65-223, Bloque M3-109 Int. 11
reribade at unal.edu.co 
-- next part --
An HTML attachment was scrubbed...
URL: 
http://pwscf.org/pipermail/pw_forum/attachments/20140929/3def0c7a/attachment.html
 


[Pw_forum] GPU Amount Memory

2013-05-01 Thread Rafael Ribadeneira
Good morning Dear Filippo,
Thank you. I will write the post there. Thanks a lot.
Kind regards,
Rafael R.


On Wed, May 1, 2013 at 6:11 PM, Filippo Spiga wrote:

> Dear Rafael,
>
> the appropriate mailing-list for QE-GPU is
> http://qe-forge.org/mailman/listinfo/q-e-gpgpu I strongly suggest to
> address any query on that mailing-list directly
>
> On Apr 29, 2013, at 7:29 PM, Rafael Ribadeneira 
> wrote:
>
> Dear Forum - Members,
>
> I request your help with the following error, whereas running pw.x in the
> gpu-version of QE:
>
> -
> [NEWD] Problem don't fit in GPU memory, memory requested ( 10322157 ) >
> memory allocated  (0 )!!!
> [VLOC_PSI_K] Problem don't fit in GPU memory --- memory requested (
> 75950756 ) > memory allocated  (0 )!!!
> --
>
> We  understand that this is a problem with the amount of memory, we know
> that we have to modify the file: "cuda_env.h", changing the flag in this
> file:
>
> #if defined __CUDA_GET_MEM_HACK
> #define __GPU_MEM_AMOUNT_HACK__
> #endif
>
>
> How can we assign the amount of memory by hand in this flag?
>
>
> Easy answer: you need to specify the amount of memory in byte.
>
> Complicated answer: your machine or your software environment has
> something wrong and putting a number in cuda_env.h will probably produce a
> crash.
>
> I already exchanged one or two emails with Jarol, he should be aware that
> I have already suggested that the problem might be your system and not the
> code. Anyway this "hack" has been deprecated in the 5.0.x. First I strongly
> suggest you to move to 5.0.x if possible. Based on the information you
> provide in the email I cannot guess why this happen. That "0" is the amount
> of free memory on the GPU card detected at runtime by a specific CUDA call.
> If it return zero there might be several reasons.
>
> - check that where you compile the CUDA driver in installed (not only the
> toolkit, also the CUDA driver)
> - check that the GPU is visible and works correctly (by running one or two
> examples provided by the CUDA toolkit)
> - check that the GPU is in shared mode (using nvidia-smi)
> - check that CUDA is linked properly to the executable and the environment
> is correct (I can do that if you provide the config.log)
> - be sure to use the latest CUDA driver and toolkit PLUS the latest
> version of QE-GPU
>
> Hope this help
>
> Filippo
>
> --
> Mr. Filippo SPIGA, M.Sc.
> http://filippospiga.me ~ skype: filippo.spiga
>
> ?Nobody will drive us out of Cantor's paradise.? ~ David Hilbert
>
>
> ___
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>



-- 

___
Rafael Esteban Ribadeneira Paz
Doctor en Ingenier?a (Ph.D.)*
Departamento de Procesos y Energ?a
Facultad de Minas
Universidad Nacional de Colombia - Sede Medell?n*
Tel: (57) 4 4255380
Cra. 80 # 65-223, Bloque M3, Of. 100A int. 4
reribade at unal.edu.co 
-- next part --
An HTML attachment was scrubbed...
URL: 
http://pwscf.org/pipermail/pw_forum/attachments/20130501/9ab7f53d/attachment.html
 


[Pw_forum] GPU Amount Memory

2013-04-29 Thread Rafael Ribadeneira
Dear Forum - Members,

I request your help with the following error, whereas running pw.x in the
gpu-version of QE:

-
[NEWD] Problem don't fit in GPU memory, memory requested ( 10322157 ) >
memory allocated  (0 )!!!
[VLOC_PSI_K] Problem don't fit in GPU memory --- memory requested (
75950756 ) > memory allocated  (0 )!!!
--

We  understand that this is a problem with the amount of memory, we know
that we have to modify the file: "cuda_env.h", changing the flag in this
file:

#if defined __CUDA_GET_MEM_HACK
#define __GPU_MEM_AMOUNT_HACK__
#endif


How can we assign the amount of memory by hand in this flag?

Thanks a lot.

Best regards,
Rafael R.


-- 

___
Rafael Esteban Ribadeneira Paz
*Universidad Nacional de Colombia - Sede Medell?n*
Tel: (57) 4 4255380
Cra. 80 # 65-223, Bloque M3, Of. 100A int. 4
reribade at unal.edu.co 
-- next part --
An HTML attachment was scrubbed...
URL: 
http://pwscf.org/pipermail/pw_forum/attachments/20130429/4569533e/attachment.html