From Documentation
Jump to: navigation, search
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Template:CCMissing}}
 +
==Introduction==
 
{{Software
 
{{Software
 
|package_name=SIESTA
 
|package_name=SIESTA
Line 5: Line 7:
 
}}
 
}}
  
The latest stable version of Siesta is 3.1 and users are strongly encouraged to use it.
+
SIESTA performs self-consistent DFT employing order-N techniques developed for tight-binding, founded on using Numerical Atomic Orbitals (NAOs) as a basis set.
  
To load the siesta module, execute:
+
==Version Selection==
  
<pre>
+
The currently installed version (as of December, 2017) is version 4.0.  To see all available versions, run:
module load siesta/3.1
+
</pre>
+
  
You can add this line to your startup script (.bashrc) to avoid executing it every time you log in.
+
module avail siesta
  
Both serial and mpi compiled executables are available, named siesta-serial and siesta-mpi respectively.
+
To load version 4.0, run:
  
Example of starting an mpi job (after module is loaded):
+
module load siesta/4.0
  
<pre>
+
This will put ''siesta'' and ''transiesta'' executable in your path so you can use them from the command line.
sqsub -q mpi -r 40m -n 4 -o example.out -i example.fdf siesta-mpi
+
</pre>
+
  
Example of starting a serial job (after module is loaded):
+
==Examples==
  
<pre>
+
You can see the examples included with version 4.0 by running:
sqsub -q serial -r 40m -o example.out -i example.fdf siesta-serial
+
 
</pre>
+
ls $EBROOTSIESTA/Examples
 +
 
 +
To try the examples, copy them to your own space (in this example scratch directory):
 +
 
 +
cp -r $EBROOTSIESTA/Examples ~/scratch/
 +
cd ~/scratch/
 +
 
 +
Then to try the SiH example:
 +
 
 +
cd Examples/SiH
 +
 
 +
Copy the pseudopotential files:
 +
 
 +
cp ../Vps/* .
 +
 
 +
Create a file siesta_job.sh with the following content (replace ''def-someuser'' with your own account):
 +
 
 +
#!/bin/bash
 +
#SBATCH --account=def-someuser
 +
#SBATCH --ntasks=4              # number of MPI processes
 +
#SBATCH --mem-per-cpu=1024M      # memory; default unit is megabytes
 +
#SBATCH --time=0-00:05          # time (DD-HH:MM)
 +
module load siesta/4.0
 +
srun siesta < sih.fdf             
 +
 
 +
Finally, submit the job (using 4 MPI processes in this example) with:
 +
 
 +
sbatch siesta_job.sh
 +
 
 +
=General Notes=
  
 
<b>Note</b>: sometimes Siesta crashes when trying to generate xml output.  You can disable this output by adding
 
<b>Note</b>: sometimes Siesta crashes when trying to generate xml output.  You can disable this output by adding
Line 36: Line 63:
  
 
to your .fdf input file.
 
to your .fdf input file.
 +
 +
=References=
 +
 +
o Siesta homepage<br>
 +
https://departments.icmab.es/leem/siesta/

Latest revision as of 09:40, 6 June 2019

This page is will be deleted pending it's creation on the CC wiki.

Introduction

SIESTA
Description: Linear-scaling DFT based on Numerical Atomic Orbitals
SHARCNET Package information: see SIESTA software page in web portal
Full list of SHARCNET supported software


SIESTA performs self-consistent DFT employing order-N techniques developed for tight-binding, founded on using Numerical Atomic Orbitals (NAOs) as a basis set.

Version Selection

The currently installed version (as of December, 2017) is version 4.0. To see all available versions, run:

module avail siesta

To load version 4.0, run:

module load siesta/4.0

This will put siesta and transiesta executable in your path so you can use them from the command line.

Examples

You can see the examples included with version 4.0 by running:

ls $EBROOTSIESTA/Examples

To try the examples, copy them to your own space (in this example scratch directory):

cp -r $EBROOTSIESTA/Examples ~/scratch/
cd ~/scratch/

Then to try the SiH example:

cd Examples/SiH

Copy the pseudopotential files:

cp ../Vps/* .

Create a file siesta_job.sh with the following content (replace def-someuser with your own account):

#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --ntasks=4               # number of MPI processes
#SBATCH --mem-per-cpu=1024M      # memory; default unit is megabytes
#SBATCH --time=0-00:05           # time (DD-HH:MM)
module load siesta/4.0
srun siesta < sih.fdf               

Finally, submit the job (using 4 MPI processes in this example) with:

sbatch siesta_job.sh

General Notes

Note: sometimes Siesta crashes when trying to generate xml output. You can disable this output by adding

WriteXML F

to your .fdf input file.

References

o Siesta homepage
https://departments.icmab.es/leem/siesta/