-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from mathiasbockwoldt/master
Updated application documentation
- Loading branch information
Showing
13 changed files
with
174 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.. _Dalton: | ||
|
||
====== | ||
Dalton | ||
====== | ||
|
||
Related information | ||
=================== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
firsttime_dalton.rst | ||
|
||
|
||
General information | ||
=================== | ||
|
||
Description | ||
----------- | ||
|
||
Dalton is an ab initio quantum chemistry computer program. It is capable of calculating various molecular properties using the Hartree-Fock, MP2, MCSCF and coupled cluster theories. Dalton also supports density functional theory calculations. | ||
|
||
|
||
Online information from vendor | ||
------------------------------ | ||
|
||
* Homepage: http://daltonprogram.org/ | ||
* Documentation: http://daltonprogram.org/documentation/ | ||
* For download: http://daltonprogram.org/download/ | ||
|
||
|
||
License and access policy | ||
------------------------- | ||
|
||
Dalton is licensed under the GPL 2. That basically means that everyone may freely use the program. | ||
|
||
Citation | ||
-------- | ||
|
||
When publishing results obtained with the referred software referred, check the following page to find the correct citation(s): http://daltonprogram.org/citation/ | ||
|
||
|
||
Usage | ||
===== | ||
|
||
You load the application by typing: | ||
|
||
.. code-block:: bash | ||
module load Dalton/2016-130ffaa0-intel-2017a | ||
For more information on available versions of Dalton, type: | ||
|
||
.. code-block:: bash | ||
module avail Dalton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.. _first_time_dalton: | ||
|
||
================================ | ||
First time you run a Dalton job? | ||
================================ | ||
|
||
This page contains info aimed at first time | ||
users of Dalton on Stallo. Please look carefully through the | ||
provided examples. Also note that the job-script example is rather richly | ||
commented to provide additional and relevant info. | ||
|
||
If you want to run this testjob, copy the input example and the job script example shown below | ||
into your test job folder (which I assume you have created in advance). | ||
|
||
Dalton needs one molecule file and one input file. For simplicity, we have tarred them together and you | ||
may download them here: :download:`Dalton files<../files/dalton_example_files.tar.gz>` | ||
|
||
Molcas runscrip example | ||
----------------------- | ||
|
||
.. include:: ../files/job_dalton.sh | ||
:literal: | ||
|
||
|
||
You can also download the runscript file here: :download:`Dalton run script<../files/job_dalton.sh>` | ||
|
||
|
||
The runscript example and the input are also on Stallo | ||
------------------------------------------------------ | ||
|
||
Type: | ||
|
||
.. code-block:: bash | ||
cd <whatever_test_folder_you_have> # For instance testdalton | ||
cp -R /global/hds/software/notur/apprunex/dalton/* . | ||
When you have all the necessary files in the correct folders, submit the job by typing: | ||
|
||
.. code-block:: bash | ||
sbatch job_dalton.sh | ||
Good luck. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/bash -l | ||
|
||
# Write the account to be charged here | ||
# (find your account number with `cost`) | ||
#SBATCH --account=nnXXXXk | ||
|
||
#SBATCH --job-name=daltonexample | ||
|
||
# we ask for 20 cores | ||
#SBATCH --ntasks=20 | ||
|
||
# run for five minutes | ||
# d-hh:mm:ss | ||
#SBATCH --time=0-00:05:00 | ||
|
||
# 500MB memory per core | ||
# this is a hard limit | ||
#SBATCH --mem-per-cpu=500MB | ||
|
||
# Remove percentage signs to turn on all mail notification | ||
#%%%SBATCH --mail-type=ALL | ||
|
||
# You may not place bash commands before the last SBATCH directive! | ||
|
||
# Load Dalton | ||
# You can find all installed Dalton installations with: | ||
# module avail dalton | ||
module load Dalton/2013.2 | ||
|
||
# Define the input files | ||
molecule_file=caffeine.mol | ||
input_file=b3lyp_energy.dal | ||
|
||
# Define and create a unique scratch directory | ||
SCRATCH_DIRECTORY=/global/work/${USER}/daltonexample/${SLURM_JOBID} | ||
mkdir -p ${SCRATCH_DIRECTORY} | ||
cd ${SCRATCH_DIRECTORY} | ||
|
||
# Define and create a temp directory | ||
TEMP_DIR=${SCRATCH_DIRECTORY}/temp | ||
mkdir -p ${TEMP_DIR} | ||
|
||
# copy input files to scratch directory | ||
cp ${SLURM_SUBMIT_DIR}/${input_file} ${SLURM_SUBMIT_DIR}/${molecule_file} ${SCRATCH_DIRECTORY} | ||
|
||
# run the code | ||
dalton -N ${SLURM_NTASKS} -t ${TEMP_DIR} ${input_file} ${molecule_file} | ||
|
||
# copy output and tar file to submit dir | ||
cp *.out *.tar.gz ${SLURM_SUBMIT_DIR} | ||
|
||
# we step out of the scratch directory and remove it | ||
cd ${SLURM_SUBMIT_DIR} | ||
rm -rf ${SCRATCH_DIRECTORY} | ||
|
||
# happy end | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters