welcome: please sign in
location: Diff for "User's guide"
Differences between revisions 29 and 38 (spanning 9 versions)
Revision 29 as of 2013-11-03 03:16:59
Size: 2237
Editor: 10
Comment:
Revision 38 as of 2013-12-05 06:38:56
Size: 2165
Editor: 10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Line 11: Line 10:

Line 18: Line 15:
== How to run BDF ==
Line 19: Line 17:
== How to run BDF ==
Line 22: Line 19:
{{{
{{{
Line 25: Line 22:
 # specify BDF home directory  # Set BDF home directory
Line 27: Line 24:
 # specify BDF scratch directory
 export BDF_TMPDIR=/scratch/bbs/$RANDOM

 if [ -e $BDF_TMPDIR ]; then
    echo "Temperory directory " $BDF_TMPDIR "exist! STOP!"
 else
    mkdir $BDF_TMPDIR
 fi
Line 39: Line 28:
 ls -l $BDF_TMPDIR
 rm -rf $BDF_TMPDIR
Line 42: Line 29:
Line 46: Line 32:
$./run.sh test001.inp  $./run.sh test001.inp
Line 48: Line 34:
Line 54: Line 39:
Line 67: Line 51:
{{attachment:bdf_module_chart.jpg||width=640,align="middle"}}
Line 68: Line 54:


Line 72: Line 55:

Line 86: Line 67:
[[local]] - Localization of molecule orbital. [[localmo]] - Localization of molecule orbital.
Line 88: Line 69:
[[scf]] - Self-consistent-field program [[scf]] - Self-consistent-field program.
Line 90: Line 71:
[[tddft]] [[tddft]] - Time dependent density functional program.
Line 97: Line 78:

[[expandmo]] - Expand molecular orbital from small basis set to large basis set.

BDF User's guide

Insert introduction of BDF module at here.

How to run BDF

To run BDF, you can write a shell script named "run.sh" with following content,

 #!/bin/bash
 # Set BDF home directory
 export BDFHOME=~/work/0.5.dev

 # run BDF driver with input file $1
 $BDFHOME/sbin/bdfdrv.py -r $1

For example, you can copy the file named "$BDFHOME/Tests/input/test002.inp" to a work directory. Then, you write done the shell script and store it in you work directory. To evoke BDF calculation, you just use command

$./run.sh test001.inp

The output will be printed on standard output. Thus, it is better to redirect output to a file.

$./run.sh test001.inp > test001.out

Some tips to run BDF

 1. There are a lot of testing inputs saved in directory of $BDFHOME/Tests/input.
 2. BDF driver assume input file has the name *.inp. Thus, you can run BDF with command
    $./run.sh test001
 3. If BDF is compiled with OpenMP supporting, you can can set OpenMP environmental variables in running script. For example,
    export OMP_NUM_THREADS=4
    export OMP_STACKSIZE=1024M

BDF Flowchat

bdf_module_chart.jpg

Input style

BDF modules

compass

drt - Generate DRTs in GUGA.

grad - Gradient.

mcscf - Multi-configrational self-consistent-field program

mp2 - MP2 program

mrci - Multi-reference configuration interaction program.

localmo - Localization of molecule orbital.

scf - Self-consistent-field program.

tddft - Time dependent density functional program.

vgmfci

xuanyuan - 1e and 2e integrals program.

genfrag - Generate or optimize fragments and fragments pairs in Local orbital based Frag-MP2/CCSD.

expandmo - Expand molecular orbital from small basis set to large basis set.

User's guide (last edited 2022-10-12 07:51:38 by bsuo)