forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Luigi Genovese <luigi.genovese@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA
- Date: Mon, 21 Sep 2009 14:09:01 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=nxNoEuniJpyI8qv52PBKVtfLHO6Nnl3C5+RYSR53WTZ4otbwyJDYNCV6iuL48z0Daa o1aD0XE7YLzHlJlQHPkSOHnOLsg0V2ppHUv2d36Q5uIgBZtCtPourPFWs9PhUQcdrmcC xmO9o2utQUJkVfZoqN1mSTkiK+6ezAVetJDG4=
On Mon, Sep 21, 2009 at 1:29 PM, Jyh-Shyong <c00jsh00@nchc.org.tw> wrote:
> Luigi Genovese 提到:
>>
>> Have you did "make clean" before?
>>
>> It seems that the previously compiled routines were still without the
>> second underscore.
>>
>> Let me know
>>
>> Luigi
>>
>>
>
> Hi Luigi,
>
> Thanks, I tried again from the source, and it works, the compilation of
> bigdft 1.3 with cuda and mpi
> completed without error.
>
> However, the configure script of abinit-5.8 does not have the
> -enable-cuda-gpu option for bigdft, how
> do I specify this option when I configure abinit so that the plugin bigdft
> can be built with cuda support?
> By the way, each node of my GPU cluster has 2 or 4 C1060 GPU cards, I wonder
> if bigdft can use
> more than one GPU? if yes, where is the device assigned?
yes, there is an example in the tests/GPU subdirectory.
GPU can be specified in the GPU.config file which must be present in
the same directory as input.dft file (BigDFT standalone version does
not have the same input files as abinit)
If you want to run a calculation for a system which has 8 MPI
processes and 2 GPU per node you have to put these line in the
GPU.config:
USE_SHARED=1
MPI_TASKS_PER_NODE=8
NUM_GPU=2
GPU_CPUS_AFF_0=0,1,2,3
GPU_CPUS_AFF_1=4,5,6,7
USE_GPU_BLAS=1
USE_GPU_CONV=1
In that way the cores with the different IDs in the node (hard coded
on the node) are associated (affinity) to different card.
In this example CPUs 0,1,2,3 will share the same GPU (0) as co-processor.
Calculation and data transfers are then executed in an asynchronous
way to avoid overlapping.
Another approach is a static assignation (USE_SHARED=0), but in that
case the number of tasks must be lower than the number of GPU, and in
that case the affinity is ignored.
I hope it will help
Luigi
>
> Best regards
>
> Jyh-Shyong Ho
>
>
- [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong Ho, 09/20/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/20/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Yann Pouillon, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Alin M Elena, 09/22/2009
- Message not available
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Alin M Elena, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Damien Caliste, 09/22/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/23/2009
- [abinit-forum] abinit 5.8.4 installation problem, Jyh-Shyong, 09/23/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Jyh-Shyong, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/21/2009
- Re: [abinit-forum] abinit 5.8.4 /bigdft and CUDA, Luigi Genovese, 09/20/2009
Archive powered by MHonArc 2.6.16.