welcome: please sign in
location: Diff for "Bingbing Suo"
Differences between revisions 24 and 25
Revision 24 as of 2014-05-03 02:33:25
Size: 2592
Editor: bsuomac
Comment:
Revision 25 as of 2014-05-03 02:46:01
Size: 4021
Editor: bsuomac
Comment:
Deletions are marked like this. Additions are marked like this.
Line 78: Line 78:
# Set job parameters
#BSUB -a openmpi
#BSUB -J jobname
#BSUB -oo jobname.out
#BSUB -eo jobname.err
For bash users
Line 84: Line 80:
# Set number of CPUs
#BSUB -n 6
#!/bin/bash
#
#BSUB -a poe # set parallel operating environment
#BSUB -P project_code # project code
#BSUB -J hybrid_job_name # job name
#BSUB -W 00:10 # wall-clock time (hrs:mins)
#BSUB -n 32 # number of tasks in job
#BSUB -R "span[ptile=4]" # run four MPI tasks per node
#BSUB -q regular # queue
#BSUB -e errors.%J.hybrid # error file name in which %J is replaced by the job ID
#BSUB -o output.%J.hybrid # output file name in which %J is replaced by the job ID
 
#export OMP_NUM_THREADS=4
#export MP_TASK_AFFINITY=core:$OMP_NUM_THREADS
Line 87: Line 95:
# get host list # get host list and create machine file for MPI.
Line 94: Line 102:
#BDF parallel information
nnodes=2 # set computing nodes
processes=4 # number of processes in a nodes
nthreads=2 # number of OpenMP threads in a process.
Line 96: Line 108:
$BDFHOME/sbin/bdfdrv.py -np nnodes:nprocess:nthreads -machinefile nodelist jobname.inp $BDFHOME/sbin/bdfdrv.py -np nnodes:nprocesses:nthreads -machinefile nodelist jobname.inp

#mpirun.lsf ./program_name.exe

#!/bin/tcsh
#
#BSUB -a poe # set parallel operating environment
#BSUB -P project_code # project code
#BSUB -J hybrid_job_name # job name
#BSUB -W 00:10 # wall-clock time (hrs:mins)
#BSUB -n 32 # number of tasks in job
#BSUB -R "span[ptile=4]" # run four MPI tasks per node
#BSUB -q regular # queue
#BSUB -e errors.%J.hybrid # error file name in which %J is replaced by the job ID
#BSUB -o output.%J.hybrid # output file name in which %J is replaced by the job ID
 
setenv OMP_NUM_THREADS 4
setenv MP_TASK_AFFINITY core:$OMP_NUM_THREADS
 
#mpirun.lsf ./program_name.exe

Bingbing Suo is own page.

Wiki logs

1 Add Wiki theme moin-mandarin. Look at the link https://bitbucket.org/thesheep/moin-mandarin

2 Try to edit a bdftheme from modernized theme.

  1. Make a copy of the 'modern' theme in the static files directory and call it 'bdftheme'
  2. Copy the script of this theme MoinMoin/theme/modern.py' to data/plugins/theme/bdftheme.py
  3. Edit the file 'bdftheme.py' and change at least the variable name = "modernized" to {name ="bdftheme"

Filename for all kind of local orbitals in BDF:

 1. localorb   - local orbital generated by BDF module localmo. Boys and trust region methods are used in orbital localization. 
 2. blmo  - Boys.
 3. tlmo  - Trust region.
 4. flmoorb - fragment local orbital generated by bottom-up method.
 5. pflmo  - norm-orthogonal pFLMO.

BDF git version control user's guide

Start from a clean BDF copy bdfpkg

Create directory
  cd bdfpkg
Initial a git bare repository. Notice we also use flag --shared. 
  git init --bare --shared
  git add
  git config --global user.name "your name"
  git config --global user.email "youremail@domain"
  git commit -m "Creat BDF package store"

get a bdf work copy

Obtain a bdf work copy
  git clone youname@10.105.153.100:/export/gitroot/bdf-pkg
You need set some general information such as user name and user email.
  git config --global user.name "Your name"
  git config --global user.email "youremail@domain"
Create your own branch
  git branch myown
Switch to your new branch
  git checkout myown

Some open source Quantum Chemistry program package

Octopus

    Keywords: Real time TDDFT, Real-space, finite element basis sets, Pseudopotentials
    Homepage: http://www.tddft.org/programs/octopus/wiki/index.php/Manual:About_Octopus
    License: GPL

BigDFT

   Keywords:    Pseudopotentials, Wavelet basis set,
   Homepage:  http://bigdft.org/Wiki/index.php?title=BigDFT_website
   License: GPL

Use BDF with job management system

qsub

You should prepare a qsub script.

bsub

You should prepare a bsub script "my job".

For bash users

#!/bin/bash
#
#BSUB -a poe                  # set parallel operating environment
#BSUB -P project_code         # project code
#BSUB -J hybrid_job_name      # job name
#BSUB -W 00:10                # wall-clock time (hrs:mins)
#BSUB -n 32                   # number of tasks in job
#BSUB -R "span[ptile=4]"      # run four MPI tasks per node
#BSUB -q regular              # queue
#BSUB -e errors.%J.hybrid     # error file name in which %J is replaced by the job ID
#BSUB -o output.%J.hybrid     # output file name in which %J is replaced by the job ID
 
#export OMP_NUM_THREADS=4
#export MP_TASK_AFFINITY=core:$OMP_NUM_THREADS

# get host list and create machine file for MPI.
echo /dev/null > nodelist

for host in $LSB_HOSTS ; do
  echo $host >> nodelist
done

#BDF parallel information
nnodes=2   # set computing nodes
processes=4   # number of processes in a nodes
nthreads=2   # number of OpenMP threads in a process.

# Start BDF MPI job
$BDFHOME/sbin/bdfdrv.py -np nnodes:nprocesses:nthreads -machinefile nodelist jobname.inp

#mpirun.lsf ./program_name.exe

#!/bin/tcsh
#
#BSUB -a poe                  # set parallel operating environment
#BSUB -P project_code         # project code
#BSUB -J hybrid_job_name      # job name
#BSUB -W 00:10                # wall-clock time (hrs:mins)
#BSUB -n 32                   # number of tasks in job
#BSUB -R "span[ptile=4]"      # run four MPI tasks per node
#BSUB -q regular              # queue
#BSUB -e errors.%J.hybrid     # error file name in which %J is replaced by the job ID
#BSUB -o output.%J.hybrid     # output file name in which %J is replaced by the job ID
 
setenv OMP_NUM_THREADS 4
setenv MP_TASK_AFFINITY core:$OMP_NUM_THREADS
 
#mpirun.lsf ./program_name.exe

Bingbing Suo (last edited 2023-05-30 14:27:17 by bsuo)