I have been modify the file constr_cell_relax.F of VASP and re-compile the VASP source file, and I want to know how can I do in the input files that I can call it ?
Thanks a lot!
How can I use the file of constr_cell_relax.F of VASP?
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 2
- Joined: Thu Aug 26, 2010 10:56 am
- License Nr.: 5-652
How can I use the file of constr_cell_relax.F of VASP?
Last edited by zdhlover on Tue Sep 21, 2010 3:41 am, edited 1 time in total.
-
- Sr. Member
- Posts: 339
- Joined: Mon Apr 24, 2006 9:07 am
- License Nr.: 173
- Location: Gothenburg, Sweden
How can I use the file of constr_cell_relax.F of VASP?
I strongly advise you to not do any modifications to the source code if you are not fully aware how your modifications affect the usage of the program. All modifcations are your own responsibility.
If you have followed the example in constr_cell_relax.F, then the effect on the usage should be self-explanatory. (Please note that the file is called by default.) If the effect is not clear to you, I advise you to instead keep to a script-based approach and perform your specific cell-shape relaxations based on constant-volume calculations.
Cheers,
/Dan
<span class='smallblacktext'>[ Edited Tue Sep 21 2010, 10:42AM ]</span>
If you have followed the example in constr_cell_relax.F, then the effect on the usage should be self-explanatory. (Please note that the file is called by default.) If the effect is not clear to you, I advise you to instead keep to a script-based approach and perform your specific cell-shape relaxations based on constant-volume calculations.
Cheers,
/Dan
<span class='smallblacktext'>[ Edited Tue Sep 21 2010, 10:42AM ]</span>
Last edited by forsdan on Tue Sep 21, 2010 8:34 am, edited 1 time in total.
-
- Newbie
- Posts: 28
- Joined: Tue Jun 14, 2005 2:48 pm
How can I use the file of constr_cell_relax.F of VASP?
Basically, if you modified constr_cell_relax.F, you have created a new and very particular version of your VASP code – one that you should NOT use anymore for general calculations.
I have "special" versions created this way for "optimization in a,b direction only, fix c" or "constraints to "orthorhombic" simulation boxes".
To make this available through a parameter in the INCAR file is just too much a hazzle to program.
I have "special" versions created this way for "optimization in a,b direction only, fix c" or "constraints to "orthorhombic" simulation boxes".
To make this available through a parameter in the INCAR file is just too much a hazzle to program.
Last edited by pkroll on Fri Oct 01, 2010 11:19 pm, edited 1 time in total.