JUSTUS2/Software/SIESTA: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
(Created page with "{| width=760px class="wikitable" |- ! Description !! Content |- | module load | chem/siesta |- | Availability | BwForCluster_JUSTUS_2 |- | License | Free, open-source soft...")
 
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Softwarepage|chem/siesta}}

{| width=760px class="wikitable"
{| width=760px class="wikitable"
|-
|-
Line 5: Line 7:
| module load
| module load
| chem/siesta
| chem/siesta
|-
| Availability
| [[BwForCluster_JUSTUS_2]]
|-
|-
| License
| License
| Free, open-source software, distributed under the GNU General Public License (GPL). [[#License|More...]]
| GNU General Public License (GPL).
|-
|-
| Citing
| Citing
Line 25: Line 24:


'''SIESTA''' (Spanish Initiative for Electronic Simulations with Thousands of Atoms) is both a method and its computer program implementation, to perform electronic structure calculations and ab initio molecular dynamics simulations of molecules and solids.
'''SIESTA''' (Spanish Initiative for Electronic Simulations with Thousands of Atoms) is both a method and its computer program implementation, to perform electronic structure calculations and ab initio molecular dynamics simulations of molecules and solids.

= Availability =

SIESTA is available on selected bwHPC-Clusters. A complete list of versions currently installed on the bwHPC-Clusters can be obtained from the [https://www.bwhpc.de/software.html Cluster Information System (CIS)].

In order to check which versions of SIESTA are installed on the compute cluster, run the following command:
<pre>
$ module avail chem/siesta
</pre>

= License =

SIESTA is free, open-source software released under the GNU General Public License (GPL). The SIESTA package in its entirety may be copied, modified or distributed according to the conditions described in its [https://departments.icmab.es/leem/SIESTA_MATERIAL/Docs/Manuals/manuals.html documentation].

= Usage =


== Loading the module ==
== Loading the module ==
See [[Software Modules]] documentation

You can load the default version of SIESTA with the following command:
<pre>
$ module load chem/siesta
</pre>

The module will try to load all modules it needs to function (e.g., compiler, mpi, ...). If loading the module fails, check if you have already loaded one of those modules, but not in the version required by SIESTA.

If you wish to load another (older) version of SIESTA, you can do so using
<pre>
$ module load chem/siesta/<version>
</pre>
with <version> specifying the desired version.

Please cite SIESTA in your publications according to the [https://departments.icmab.es/leem/SIESTA_MATERIAL/Docs/Publications/index.html references].


== Program Binaries ==
== Program Binaries ==
Line 95: Line 65:
</pre>
</pre>


Run a first simple example job:
Run a first simple example job on JUSTUS 2:
<pre>
<pre>
$ module load chem/siesta # load module
$ module load chem/siesta # load module
Line 113: Line 83:
* [https://departments.icmab.es/leem/SIESTA_MATERIAL/Docs/list.html Mailing list (english)]
* [https://departments.icmab.es/leem/SIESTA_MATERIAL/Docs/list.html Mailing list (english)]
* [https://en.wikipedia.org/wiki/SIESTA_(computer_program) Wikipedia article (english)]
* [https://en.wikipedia.org/wiki/SIESTA_(computer_program) Wikipedia article (english)]
----
[[Category:Chemistry software]][[Category:BwForCluster_Chemistry]][[Category:BwForCluster_JUSTUS_2]]

Latest revision as of 20:15, 23 November 2022

The main documentation is available via module help chem/siesta on the cluster. Most software modules for applications provide working example batch scripts.


Description Content
module load chem/siesta
License GNU General Public License (GPL).
Citing Publications
Links Homepage | Documentation
Graphical Interface No

Description

SIESTA (Spanish Initiative for Electronic Simulations with Thousands of Atoms) is both a method and its computer program implementation, to perform electronic structure calculations and ab initio molecular dynamics simulations of molecules and solids.

Loading the module

See Software Modules documentation

Program Binaries

The binary siesta is main program of the SIESTA package.

Usage: siesta [options] [< infile] [> outfile]
  
Example: siesta RUN.fdf > RUN.out

For information about how to construct SIESTA input files, please see the documentation.

Hints for using SIESTA

Parallel Execution

It is usually more efficient to run several smaller jobs with reasonable speedup side by side. Check for a reasonable speedup by increasing the number of workers from 1, 2, 4, n cores. Do not forget to adjust the memory specification when changing the number of workers

Memory Management

It requires some experience to choose the perfect memory value. Monitoring a job interactively may help to estimate the memory consumption. Requesting 1GB more than the required amount is typically sufficient.

Runtime Specification

The wall-time limit is independent of the number of parallel workers. Selecting the best value requires some experience. In general, jobs with shorter wall times get higher priorities. It could help to run the job interactively for a small period of time to monitor its convergence. Furthermore, it may be advantageous to extrapolate the run time by looking at smaller test jobs.

Examples

As with all processes that require more than a few minutes to run, non-trivial compute jobs must be submitted to the cluster queuing system.

Example scripts are available in the directory $SIESTA_EXA_DIR:

$ module show chem/siesta                # show environment variables, which will be available after 'module load'
$ module load chem/siesta                # load module
$ ls $SIESTA_EXA_DIR                     # show content of directory $SIESTA_EXA_DIR
$ cat $SIESTA_EXA_DIR/README             # show examples README

Run a first simple example job on JUSTUS 2:

$ module load chem/siesta                          # load module
$ WORKSPACE=`ws_allocate siesta 3`                 # allocate workspace
$ cd $WORKSPACE                                    # change to workspace
$ cp -a $SIESTA_HOME/bwhpc-examples .              # copy example files to workspace
$ cd bwhpc-examples/h2o                            # change to test directory
$ sbatch bwhpc_siesta_h2o.sh                       # submit job
$ squeue                                           # obtain JOBID
$ scontrol show job <JOBID>                        # check state of job
$ ls                                               # when job finishes the results will be visible in this directory

Useful links