Merging ML_AB (ML_ABN) files

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Dankomaister
Newbie
Newbie
Posts: 36
Joined: Sat Feb 13, 2016 4:39 pm
License Nr.: 20-0400 5-1605

Merging ML_AB (ML_ABN) files

#1 Post by Dankomaister » Tue Oct 04, 2022 6:46 am

Hi,

I was wondering how to merge multiple ML_AB files generated from MLFF runs using the same INCAR settings but different structures?
For example bulk structures, surface structures, structures with different defects etc.? (same elements)

As far as I can see the ML_AB contains a header section followed by the images one after an other.
Is it okay to concatenate multiple ML_AB files by removing the header section for each except the first?
Must the header section be modified somehow if more data is added to the ML_AB file? for example the basis set information?

/Daniel

ferenc_karsai
Global Moderator
Global Moderator
Posts: 422
Joined: Mon Nov 04, 2019 12:44 pm

Re: Merging ML_AB (ML_ABN) files

#2 Post by ferenc_karsai » Tue Oct 04, 2022 7:32 am

I will write a section in the wiki about how to merge different ML_AB files.
I will post again when it is finished.

Dankomaister
Newbie
Newbie
Posts: 36
Joined: Sat Feb 13, 2016 4:39 pm
License Nr.: 20-0400 5-1605

Re: Merging ML_AB (ML_ABN) files

#3 Post by Dankomaister » Wed Oct 05, 2022 2:11 am

Great!

Dankomaister
Newbie
Newbie
Posts: 36
Joined: Sat Feb 13, 2016 4:39 pm
License Nr.: 20-0400 5-1605

Re: Merging ML_AB (ML_ABN) files

#4 Post by Dankomaister » Wed Oct 12, 2022 2:14 am

ferenc_karsai wrote: Tue Oct 04, 2022 7:32 am I will write a section in the wiki about how to merge different ML_AB files.
I will post again when it is finished.
Any update on this?

/Daniel

ferenc_karsai
Global Moderator
Global Moderator
Posts: 422
Joined: Mon Nov 04, 2019 12:44 pm

Re: Merging ML_AB (ML_ABN) files

#5 Post by ferenc_karsai » Fri Oct 14, 2022 9:17 am

So we have completely rewritten the ML_AB wiki page:
wiki/index.php/ML_AB#Merging_different_ML_AB_files

I hope it has all the information you need.

Please also reply if it worked for you.

Dankomaister
Newbie
Newbie
Posts: 36
Joined: Sat Feb 13, 2016 4:39 pm
License Nr.: 20-0400 5-1605

Re: Merging ML_AB (ML_ABN) files

#6 Post by Dankomaister » Sun Oct 16, 2022 3:50 am

Great! now it is clear how to merge files.
I will give this a try, thanks!

Post Reply