about the neb2dim.pl script

Vasp transition state theory tools

Moderator: moderators

Post Reply
hlzya
Posts: 44
Joined: Wed Mar 01, 2006 7:48 am

about the neb2dim.pl script

Post by hlzya »

Hi,

After a neb calculation, I run the vfin.pl to clean up the directory. Then, the neb2dim.pl script is used to setup a dimer run. However, the output is

" FORMING DIMER BETWEEN IMAGES 2 and 3

ZERO DISTANCE BETWEEN IMAGES AND"

and no directory named saddle_dimer is established.

I have downloaded the latest version of scripts and vasp4.6.34 is used.

Can someone tell me what is wrong?

Thanks.

Yi-An
graeme
Site Admin
Posts: 2256
Joined: Tue Apr 26, 2005 4:25 am
Contact:

Re: about the neb2dim.pl script

Post by graeme »

If you send us a .tar.gz file of the NEB directory, we'll see what's going wrong.
hlzya
Posts: 44
Joined: Wed Mar 01, 2006 7:48 am

Re: about the neb2dim.pl script

Post by hlzya »

Hi,

This is the directory in which the script "vfin.pl" has been run.

Thanks.

Yi-An ZHU
Attachments
test.tar.gz
(219.64 KiB) Downloaded 974 times
hlzya
Posts: 44
Joined: Wed Mar 01, 2006 7:48 am

Re: about the neb2dim.pl script

Post by hlzya »

Hi,

This is the directory in which the script "vfin.pl" has been run.

Thanks.

Yi-An ZHU
Attachments
test.tar.gz
(219.64 KiB) Downloaded 822 times
andri
Site Admin
Posts: 117
Joined: Tue Apr 26, 2005 6:20 am

Re: about the neb2dim.pl script

Post by andri »

I had to add

use FindBin qw($Bin);
use lib "$Bin";

to the top of the script.

I also made the (unnecessary) following change.

$d12 = `$Bin/dist.pl $d1/POSCAR $d2/POSCAR` ;
# open (DIST, "$Bin/dist.pl $d1/POSCAR $d2/POSCAR |") ;
# $d12 = <DIST> ; close DIST ;

If it works, report back and it will be added to the repository.
hlzya
Posts: 44
Joined: Wed Mar 01, 2006 7:48 am

Re: about the neb2dim.pl script

Post by hlzya »

Hi,

Yes. Now it works. Thank you.

Yi-An
Post Reply