From owner-nwchem-users@emsl.pnl.gov Thu Mar 13 11:25:32 2008 Received: from odyssey.emsl.pnl.gov (localhost [127.0.0.1]) by odyssey.emsl.pnl.gov (8.14.1/8.14.1) with ESMTP id m2DIPVq2011712 for ; Thu, 13 Mar 2008 11:25:32 -0700 (PDT) Received: (from majordom@localhost) by odyssey.emsl.pnl.gov (8.14.1/8.14.1/Submit) id m2DIPVoL011711 for nwchem-users-outgoing-0915; Thu, 13 Mar 2008 11:25:31 -0700 (PDT) X-Authentication-Warning: odyssey.emsl.pnl.gov: majordom set sender to owner-nwchem-users@emsl.pnl.gov using -f X-IronPort-AV: E=Sophos;i="4.25,495,1199692800"; d="scan'208,217";a="45927355" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C88537.9D189BC6" Subject: RE: [NWCHEM] CPI pseudopotentials Date: Thu, 13 Mar 2008 11:25:28 -0700 Message-ID: <3C9D549F0263E24D92C4F9FA2933260F01E163FF@EMAIL01.pnl.gov> In-Reply-To: <809a4c910803130838t29b4cf1dy76cd5495da927b45@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [NWCHEM] CPI pseudopotentials Thread-Index: AciFIEOy2pKoYkyjTLefMa4WMfwfHQACmCnw References: <809a4c910803120858s26f5b5b8pd36a5b7405728f46@mail.gmail.com> <3C9D549F0263E24D92C4F9FA2933260F01E163FB@EMAIL01.pnl.gov> <809a4c910803121557n38a80a63hbffbd63d9dfb11e7@mail.gmail.com> <3C9D549F0263E24D92C4F9FA2933260F01E163FE@EMAIL01.pnl.gov> <809a4c910803130838t29b4cf1dy76cd5495da927b45@mail.gmail.com> From: "Nichols, Patrick J" To: "Chona S. Guiang" Cc: "nwchem-users" X-OriginalArrivalTime: 13 Mar 2008 18:25:29.0082 (UTC) FILETIME=[9D6B75A0:01C88537] Sender: owner-nwchem-users@emsl.pnl.gov Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C88537.9D189BC6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Chona, About the cutoff, you probably have the old code so that's the correct way to do it with that version (we have been adding a great deal of new stuff). Use for example, nwpw energy_cutoff 80.0 wavefunction_cutoff 40.0 end =20 instead =20 nwpw cutoff 40.0 end =20 The rcuts are not important since the pseudopotential generation functions do not need them (hence we do not read them). =20 =20 Patrick =20 ________________________________ From: asheroth@gmail.com [mailto:asheroth@gmail.com] On Behalf Of Chona S. Guiang Sent: Thursday, March 13, 2008 8:38 AM To: Nichols, Patrick J Cc: nwchem-users Subject: Re: [NWCHEM] CPI pseudopotentials Hi Patrick, Thanks for the suggestions. I already have lcao_skip set so I just added the cutoff keyword, but this leads to the following error: nwpw_input: unknown directive 0 =20 ------------------------------------------------------------------------ =20 ------------------------------------------------------------------------ current input line :=20 34: cutoff 40.0 =20 ------------------------------------------------------------------------ I've been using wavefunction_cutoff and energy_cutoff, so is it all right if I just specify these instead of cutoff? =20 My second question has to do with reading in the pseudopotential from a file. The output from my job looks like it's not getting the correct value for the max l. The cutoff radii are incorrect as well: 1: Ti core charge:12.0 lmax=3D 3 comment : CPI formatted pseudopotential pseudpotential type : 0 highest angular component : 3 local potential used : 3 number of non-local projections: 9 cutoff =3D -1.000 -1.000 -1.000 -1.000 I've added : 2 s 1.480 p 1.620 d 1.700 in the CPI file but it didn't change anything. Is there something wrong with the way the CPI file is formatted? I've checked the log file from Opium but I didn't see anything obviously wrong. Thanks, Chona On Wed, Mar 12, 2008 at 8:46 PM, Nichols, Patrick J wrote: Chona, Two things I would suggest adding. nwpw ... cutoff 40.0 =20 end =20 set nwpw:lcao_skip .true. =20 Sorry, I always set my own cutoffs so I did not put this into the file. 40-50 is a good starting point. The lcao skip will prevent another errquit from occurring ( it will try to generate the LCAO guess and find no information). Take Care, Patrick =20 =20 ________________________________ From: asheroth@gmail.com [mailto:asheroth@gmail.com] On Behalf Of Chona S. Guiang Sent: Wednesday, March 12, 2008 3:57 PM To: Nichols, Patrick J Cc: nwchem-users Subject: Re: [NWCHEM] CPI pseudopotentials =09 =09 Hi Patrick, =09 Thanks for the help on this. I downloaded the CPI file you enclosed and saved it to my permanent directory. My job made more progress this time, although now I get the following error/warning: =09 failed keyword recognition forcutoff =09 I terminated the job for the time being. =09 Please do send me the format for a library file. That will be very useful for later. =20 =09 Thanks, Chona =09 =09 On Wed, Mar 12, 2008 at 6:02 PM, Nichols, Patrick J wrote: =09 Chona, The user manual is a little "confusing" on this topic. There are two ways to read a cpi file into NWChem. From the library (a file in NWCHEM_NWPW_LIBRARY/CPI/ called just Ti e.g.) in which the input should look like=20 nwpw ..=20 pseudopotentials Ti library CPI ... end ... end =20 The other way is to read it from a file in your permanent directory ( a file called ti.cpi) or if no permanent directory is assigned the same directory as your *.nw file. The input is as so. =20 nwpw ... pseudopotentials Ti CPI ti.cpi=20 end end =09 I have attached a cpi file I got from the Opium homepage ( GGA ) for Ti and modified to work with NWChem. You can check if the format fits your own file.=20 If you wish to place to read this from a library the format changes. If you place this cpi in your "permanent directory" and use the same *.nw this should work.=20 If you want an example of the format for a library file I can send that too.=20 =20 The format is a clunky too. In the cpi file, there should not be a blank line at the end of the file or bad things will happen ( infinite semicore corrections usually). Hope this helps...=20 Patrick Nichols =20 =20 =20 =09 =09 ________________________________ From: owner-nwchem-users@emsl.pnl.gov [mailto:owner-nwchem-users@emsl.pnl.gov] On Behalf Of Chona S. Guiang Sent: Wednesday, March 12, 2008 8:58 AM To: nwchem-users Subject: [NWCHEM] CPI pseudopotentials =09 =09 Hi, =09 I'm trying to read in CPI pseudopotentials that I generated from Opium, but I'm getting the following error: =09 =09 >>> JOB STARTED AT Wed Mar 12 11:45:44 2008 <<< =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D input data =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Error: section not found =09 This is how I specified the use of the CPI pseudopotentials in my input:: =09 nwpw ... pseudopotentials Ti CPI Ti.cpi O CPI O.cpi end ... end =09 as per the instructions in the manual and a previous thread on CPI in the support archives. I placed the files in the $NWCHEM_NWPW_LIBRARY/pspw_default directory I'm pretty sure this variable is defined because the output file does indicate the correct path. =09 In case I misread the instructions the first time, I also tried writing "CPI" on the first line of the CPI files but this produced the same error message. =20 =09 Is there something else I'm missing? =09 Thanks, Chona =09 ------_=_NextPart_001_01C88537.9D189BC6 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Chona,
   About the=20 cutoff, you probably have the old code so=20 that's the correct way to do it with that version (we have been adding a = great=20 deal of new stuff).
Use for=20 example,
nwpw
   energy_cutoff = 80.0
   wavefunction_cutoff = 40.0
end
 
instead
 
nwpw
   = cutoff=20 40.0
end
 
The rcuts are = not important=20 since the pseudopotential generation functions do not need them (hence = we do not=20 read them).
 
 
Patrick
 


From: asheroth@gmail.com=20 [mailto:asheroth@gmail.com] On Behalf Of Chona S. = Guiang
Sent:=20 Thursday, March 13, 2008 8:38 AM
To: Nichols, Patrick = J
Cc:=20 nwchem-users
Subject: Re: [NWCHEM] CPI=20 pseudopotentials


Hi Patrick,

   Thanks for the = suggestions. =20 I already have lcao_skip set so I just added the cutoff keyword, but = this leads=20 to the following error:

  nwpw_input: unknown=20 directive       =20 0
 --------------------------------------------------------------= ----------
 -----------------------------------------------------= -------------------
 =20 current input line :
    34:    cutoff = 40.0
 -----------------------------------------------------------= -------------

I've=20 been using wavefunction_cutoff and energy_cutoff, so is it all right if = I just=20 specify these instead of cutoff? 

My second question has to = do with=20 reading in the pseudopotential from a file.  The output from my job = looks=20 like it's not getting the correct value for the max l.  The cutoff = radii=20 are incorrect as well:

      1: Ti  = core=20 charge:12.0  lmax=3D =20 3
           &n= bsp;=20 comment    : CPI formatted =20 pseudopotential
         =    =20 pseudpotential=20 type           =20 :  =20 0
           &n= bsp;=20 highest angular component      :  =20 3
           &n= bsp;=20 local potential = used          =20 :  =20 3
           &n= bsp;=20 number of non-local projections:  =20 9
           &n= bsp;=20 cutoff =3D  -1.000  -1.000  -1.000  = -1.000

I've=20 added

<cutoff>: 2
  s  1.480
  p  = 1.620
  d  1.700

in the CPI file but it didn't = change=20 anything.  Is there something wrong with the way the CPI file is=20 formatted?  I've checked the log file from Opium but I didn't see = anything=20 obviously wrong.

Thanks,
Chona



On Wed, Mar 12, 2008 at 8:46 PM, Nichols, = Patrick J=20 <patrick.nichols@pnl.gov>=20 wrote:
Chona,
    Two things I would suggest=20 adding.
nwpw
   ...
   cutoff 40.0 
end
 
set=20 nwpw:lcao_skip .true.
 
Sorry, I always set my own cutoffs so I did not put = this into=20 the file. 40-50 is a good starting=20 point.
The lcao=20 skip will prevent another errquit from occurring = ( it=20 will try to generate the LCAO guess and find no=20 information).
Take=20 Care,
   Patrick  
 


From: asheroth@gmail.com [mailto:asheroth@gmail.com] On=20 Behalf Of Chona S. Guiang
Sent: Wednesday, March 12, = 2008 3:57=20 PM
To: Nichols, Patrick J
Cc:=20 nwchem-users
Subject: Re: [NWCHEM] CPI=20 pseudopotentials

Hi Patrick,

   Thanks for the help on = this. =20 I downloaded the CPI file you enclosed and saved it to my permanent=20 directory.   My job made more progress this time, although = now I get=20 the following error/warning:

 failed keyword recognition=20 forcutoff

I terminated the job for the time = being.

Please do=20 send me the format for a library file.  That will be very useful = for=20 later. 

Thanks,
Chona

On Wed, Mar 12, 2008 at 6:02 PM, Nichols, = Patrick J=20 <patrick.nichols@pnl.gov> wrote:
Chona,
   The user manual is a little "confusing" on = this topic.=20 There are two ways to read a cpi file into NWChem. From the library = (a file=20 in NWCHEM_NWPW_LIBRARY/CPI/ called just Ti e.g.)  in which = the=20 input should look like
nwpw
 =20 .. 
 =20 pseudopotentials
      Ti library = CPI
      ...
  =20 end
 =20 ...
end
 
The other way is to read it from a file in your = permanent=20 directory ( a file called ti.cpi) or if no permanent directory is = assigned=20 the same directory as your *.nw file. The input is as=20 so.
 
nwpw
  =20 ...
 =20 pseudopotentials
       Ti CPI=20 ti.cpi 
 =20 end
end

I have attached a cpi file I = got from=20 the Opium homepage ( GGA ) for Ti and modified to = work=20 with NWChem. You can check if the format fits your own=20 file. 
If=20 you wish to place to read this from a library the format = changes.=20 If=20 you place this cpi in your "permanent directory" and use the same = *.nw this=20 should work.
If you=20 want an example of the format for a library file I can send that = too.=20
 
The=20 format is a clunky too. In the cpi file, there should not be a blank line at the = end of the=20 file or bad things will happen ( infinite semicore corrections=20 usually).
Hope=20 this helps...
     Patrick = Nichols
 
 
 


From: owner-nwchem-users@emsl.pnl.gov [mailto:owner-nwchem-users@emsl.pnl.gov] On Behalf Of = Chona=20 S. Guiang
Sent: Wednesday, March 12, 2008 8:58 = AM
To:=20 nwchem-users
Subject: [NWCHEM] CPI=20 pseudopotentials


Hi,

   I'm trying to read in CPI=20 pseudopotentials that I generated from Opium, but I'm getting the = following=20 error:


     >>>  JOB=20 STARTED       AT Wed Mar 12 11:45:44=20 2008 =20 = <<<
         =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D input data = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= BR>Error: <CPI>=20 section not found

This is how I specified the use of the CPI=20 pseudopotentials in my input::

nwpw
  =20 ...
   = pseudopotentials
     =20 Ti  CPI  Ti.cpi
      O =20 CPI   O.cpi
   end
  =20 ...
end

as per the instructions in the manual and a = previous=20 thread on CPI in the support archives.  I placed the files in = the=20 $NWCHEM_NWPW_LIBRARY/pspw_default directory I'm pretty sure this = variable is=20 defined because the output file does indicate the correct = path.

In=20 case I misread the instructions the first time, I also tried writing = "CPI"=20 on the first line of the CPI files but this produced the same error=20 message. 

Is there something else I'm=20 = missing?

Thanks,
Chona
=

------_=_NextPart_001_01C88537.9D189BC6--