forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: asubedi <asubedi@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] getting abinip to read DEN files only on master node
- Date: Tue, 7 Aug 2007 11:19:29 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jPLLDSC77VJnCj5wa+wzom5dAGb+4mQl4pDgtA7ci3fe13t1nveRlyguoxGh2kfUJgcAOpz2wXQBOw/eaZfyq+cEJMYz7XvpSMJpv5jBrTXy7Eij8G/bJyeaViwNJwNjxmvF/5nvtzjpLko1gbg3TkoK3J407vkjkRVQEhQ5Ruc=
Dear Gilles,
Thank you very much for the modification.
Alaska
On 8/7/07, Gilles Zerah <gilles.zerah@cea.fr> wrote:
> Dear Alaska,
>
> Right now, the density is written by the process 0, and read by all.
> This assumes that
> files are shared.
> Writing is done in the routine: 21drive/outscfcv.F90.
> I would try the modification, which will allow all processes to write:
>
> === modified file 'src/21drive/outscfcv.F90'
> --- src/21drive/outscfcv.F90 2007-06-18 23:47:22 +0000
> +++ src/21drive/outscfcv.F90 2007-08-07 09:25:15 +0000
> @@ -230,7 +230,7 @@
> ! - core charge is excluded from the charge density;
> ! - the potential is the INPUT vtrial.
> if( mpi_enreg%paral_compil_kpt==0 .or. &
> -& (mpi_enreg%me==0 .and. mpi_enreg%parareel == 0) .or. &
> +& ( mpi_enreg%parareel == 0) .or. &
> & (mpi_enreg%me_group_para==0 .and. mpi_enreg%parareel == 1)) then
>
> if (prtden/=0 .or. prtpot>0 .or. prtgeo>0 .or. prt1dm>0 .or. prtstm>0
> .or. &
>
> But, in the future, this should be governed by a variable.
>
> Gilles
>
>
> > Dear all,
> >
> > I generate density file in the first dataset and use the density file
> > in subsequent datasets. However, the working directory is not shared
> > among all the nodes in the cluster (each nodes has its own scratch
> > space). Is it possible in getting abinip to read the DEN file only on
> > the master node and broadcast it to slave nodes? Or is it possible to
> > create all the output files in each nodes?
> >
> > Thank you,
> > alaska
> >
> >
>
>
- Re: [abinit-forum] getting abinip to read DEN files only on master node, Gilles Zerah, 08/07/2007
- Re: [abinit-forum] getting abinip to read DEN files only on master node, asubedi, 08/07/2007
Archive powered by MHonArc 2.6.16.