ABINIT: Difference between revisions
No edit summary |
m (add to Category:ComputationalChemistry) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages /> | |||
[[Category:Software]] | <translate> | ||
[ | <!--T:1--> | ||
[[Category:Software]][[Category:ComputationalChemistry]] | |||
[ | <!--T:2--> | ||
The [https://www.abinit.org ABINIT] program is "a software suite to calculate the optical, mechanical, vibrational, and other observable properties of materials. Starting from the quantum equations of density functional theory, you can build up to advanced applications with perturbation theories based on DFT, and many-body Green's functions (GW and DMFT). ABINIT can calculate molecules, nanostructures and solids with any chemical composition, and comes with several complete and robust tables of atomic potential", according to its authors. | |||
<!--T:3--> | |||
Run <code>module spider abinit</code> to see what versions of ABINIT are currently available. Run it again with a specific version number, e.g. <code>module spider abinit/8.4.4</code>, to see if there are other modules that must be loaded first. See [[Utiliser des modules/en|Using modules]] for more on the <code>module</code> command. | |||
== Atomic data files == <!--T:4--> | |||
<!--T:5--> | |||
We do not maintain a collection of atomic data files for ABINIT. You should obtain the atomic data files you need for your calculation by following the links from the [https://www.abinit.org/downloads/atomic-data-files Atomic data files] page. | |||
<!--T:6--> | |||
These files rarely exceed 1 megabyte in size, so they may be downloaded directly to any login node using <code>wget</code> and the URL of the data file. For example, | |||
{{Command|wget http://www.pseudo-dojo.org/pseudos/nc-sr-04_pbe_standard/H.psp8.gz}} | |||
to download the pseudopotential file for hydrogen. | |||
== Example input == <!--T:8--> | |||
<!--T:12--> | |||
Data files for the tutorials and tests can be found at <code>$EBROOTABINIT/share/abinit-test/Psps_for_tests/</code>.<br/> | |||
Input files mentioned in the [https://docs.abinit.org/tutorial/ ABINIT tutorial] can be found at <code>$EBROOTABINIT/share/abinit-test/tutorial</code>. | |||
== Example job script == <!--T:10--> | |||
<!--T:11--> | |||
ABINIT calculations other than the most trivial tests or tutorial examples should be run via the job scheduler, [[Running jobs|Slurm]]. Below is an example job script for running ABINIT, which uses 64 CPU cores on two nodes for 48 hours, requiring 1024 MB of memory per core. You should be able to adapt this to your own needs and the particular cluster you are using. | |||
</translate> | |||
{{File | |||
|name=abinit_job.sh | |||
|lang="sh" | |||
|contents= | |||
#!/bin/bash | |||
#SBATCH --account=def-someuser | |||
#SBATCH --nodes=2 # number of nodes | |||
#SBATCH --ntasks=64 # number of MPI processes | |||
#SBATCH --mem-per-cpu=1024M # memory use per MPI process; default unit is megabytes | |||
#SBATCH --time=2-00:00 # time (DD-HH:MM) | |||
module purge | |||
module load abinit/8.2.2 | |||
srun abinit < parameters.txt >& output.log | |||
}} |
Latest revision as of 13:23, 19 July 2022
The ABINIT program is "a software suite to calculate the optical, mechanical, vibrational, and other observable properties of materials. Starting from the quantum equations of density functional theory, you can build up to advanced applications with perturbation theories based on DFT, and many-body Green's functions (GW and DMFT). ABINIT can calculate molecules, nanostructures and solids with any chemical composition, and comes with several complete and robust tables of atomic potential", according to its authors.
Run module spider abinit
to see what versions of ABINIT are currently available. Run it again with a specific version number, e.g. module spider abinit/8.4.4
, to see if there are other modules that must be loaded first. See Using modules for more on the module
command.
Atomic data files[edit]
We do not maintain a collection of atomic data files for ABINIT. You should obtain the atomic data files you need for your calculation by following the links from the Atomic data files page.
These files rarely exceed 1 megabyte in size, so they may be downloaded directly to any login node using wget
and the URL of the data file. For example,
[name@server ~]$ wget http://www.pseudo-dojo.org/pseudos/nc-sr-04_pbe_standard/H.psp8.gz
to download the pseudopotential file for hydrogen.
Example input[edit]
Data files for the tutorials and tests can be found at $EBROOTABINIT/share/abinit-test/Psps_for_tests/
.
Input files mentioned in the ABINIT tutorial can be found at $EBROOTABINIT/share/abinit-test/tutorial
.
Example job script[edit]
ABINIT calculations other than the most trivial tests or tutorial examples should be run via the job scheduler, Slurm. Below is an example job script for running ABINIT, which uses 64 CPU cores on two nodes for 48 hours, requiring 1024 MB of memory per core. You should be able to adapt this to your own needs and the particular cluster you are using.
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --nodes=2 # number of nodes
#SBATCH --ntasks=64 # number of MPI processes
#SBATCH --mem-per-cpu=1024M # memory use per MPI process; default unit is megabytes
#SBATCH --time=2-00:00 # time (DD-HH:MM)
module purge
module load abinit/8.2.2
srun abinit < parameters.txt >& output.log