error in reading a _DEN file with cut3d

MULTIBINIT, aTDEP, ANADDB, optics, cut3d, mrg* postprocessors

Moderators: MMNSchmitt, gonze

Locked
mohua
Posts: 16
Joined: Mon Feb 22, 2010 3:40 pm

error in reading a _DEN file with cut3d

Post by mohua » Thu Jun 03, 2010 5:48 pm

Hi all,

I am trying to prepare a density file with cut3d for a system with 10 atoms. The abinit version that I am using is 6.0.2. It gives me the following error. Could someone please help me with this.
Thanks
Mohua



What is the name of the 3D function (density, potential or wavef) file ?
t41o_optcell0_DS1_DEN
=> Your 3D function file is : t41o_optcell0_DS1_DEN

Does this file contain formatted 3D ASCII data (=0)
or unformatted binary header + 3D data (=1) ?
1
1 => Your file contains unformatted binary header + 3D data
The information it contains should be sufficient.
cut3d : read file t41o_optcell0_DS1_DEN from unit number 19.


hdr_io : ERROR -
The first line of the (WF, DEN or POT) file read in unit 19 is erroneous.
headform is 57, while it should be 23, 34, 40, 41, 42, 44 or 53.
Action : check the correctness of your file.

leave_new : decision taken to exit ...

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: error in reading a _DEN file with cut3d

Post by mverstra » Fri Jun 04, 2010 8:40 am

The density has been generated with a new version of abinit (> 5.7, hence the code) but you are using an old version of cut3d (5.3), which does not accept the new format.

Use a more recent version of cut3d, which should be present alongside your abinit executable, and remove the old cut3d.

Try "which cut3d" to see which version of cut3d is actually being used on the command line.

Matthieu
Matthieu Verstraete
University of Liege, Belgium

Renxiong Lee
Posts: 6
Joined: Thu Nov 11, 2010 5:48 pm

Re: error in reading a _DEN file with cut3d

Post by Renxiong Lee » Thu Nov 11, 2010 6:08 pm

I need your help, too. I have met the same problem. The abinit version that I am using is 5.8.3.but the question is where can I get a new version of cut3d!

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: error in reading a _DEN file with cut3d

Post by david.waroquiers » Fri Nov 12, 2010 11:50 am

Hello,

You should find cut3d in the same directory as where the abinit executable is.

David

Renxiong Lee
Posts: 6
Joined: Thu Nov 11, 2010 5:48 pm

Re: error in reading a _DEN file with cut3d

Post by Renxiong Lee » Sat Nov 13, 2010 5:56 am

Yes, I find it.But I still have no idea of solving my problem.Should I update my cut3d? How can I do it? Expecting your help,thanks.

What is the name of the 3D function (density, potential or wavef) file ?
t1xo_DEN
=> Your 3D function file is : t1xo_DEN

Does this file contain formatted 3D ASCII data (=0)
or unformatted binary header + 3D data (=1) ?
1
1 => Your file contains unformatted binary header + 3D data
The information it contains should be sufficient.
cut3d : read file t1xo_DEN from unit number 19.


hdr_io : ERROR -
The first line of the (WF, DEN or POT) file read in unit 19 is erroneous.
headform is 57, while it should be 23, 34, 40, 41, 42, 44 or 53.
Action : check the correctness of your file.

gayathri
Posts: 1
Joined: Tue Jan 25, 2011 12:47 pm

Re: error in reading a _DEN file with cut3d

Post by gayathri » Tue Jan 25, 2011 12:52 pm

Hi! I am new to abinit and have version 6.4.3. As posted by others earlier, I am not able to read the _DEN file with the cut3d provided with the above version of abinit. If you have circumveted the problem, kindly advise. P.S. I am getting the same error as reported earlier by others.

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: error in reading a _DEN file with cut3d

Post by mverstra » Sun Mar 13, 2011 9:35 pm

Use the same distro for the abinit and cut3d executables. They should be in src/98_main/, or in the bin directory you chose if you ran "make install". Obviously cut3d can not be "forward compatible" with abinit versions in the future...

M.
Matthieu Verstraete
University of Liege, Belgium

xellossssss
Posts: 1
Joined: Thu Mar 31, 2011 3:44 am

Re: error in reading a _DEN file with cut3d

Post by xellossssss » Thu Mar 31, 2011 3:53 am

Hello,
I also have the same problem to use cut3d.
The version is 6.4.3 abinit static binaries and I put 'abinit' and 'cut3d' in the same directory. ("tutorial/Input/Work").
Before I use 6.4.3, I tried to insatll 6.6.1 but I cannot succeed. That's why I go back to 6.4.3.
I run apt-get install abinit first before running cut3d.
I am not sure if it is the version problem.
Could anyone help me solve this problem ?

Thanks

Renxiong Lee
Posts: 6
Joined: Thu Nov 11, 2010 5:48 pm

Re: error in reading a _DEN file with cut3d

Post by Renxiong Lee » Thu May 19, 2011 5:55 pm

If you install the correct version, and the problem is still there. Try to add the cut3d 's detail path before executing it. Maybe it works.

Locked