\doublespace
\maketitle
Install Anaconda 3.7 version in your system.
$ wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
$ sh <filename.sh>The new version of Python 3.8 might not be compatible to John Kitchin’s VASP. Install Python 3.7.3
$ conda install python=3.7.3 anaconda=customInstall ASE using PIP
$ pip install --upgrade --user aseAlso, this new verson of ASE might not be compatible to John’s VASP. Install ASE 3.16.0. Get the ase.tar.gr file from the group memeber and upload it to the CRC.
Unpake tar-file.
tar -xf ase-3.16.0.tar.grAdd ~/ase to PYTHONPATH environment variable and add ~/ase/bin to PATH (assuming ~/ase is where ASE folder is).
Add PATH and PYTHONPATH for ASE in your bashrc.
Modify your bashrc via text editor such as vi or emacs.\
In your home directory, type this command. Here I use emacs.
emacs ~/.bashrcThis is an example of bashrc from Prateek. If you want to use this bashrc file, you have to replace user information with yours. Also it has some aliases for your convenience.
#Check http://crc.nd.edu/wiki for login problems
#Contact crcsupport@nd.edu if further problems
if [ -r /opt/crc/Modules/current/init/bash ]; then
source /opt/crc/Modules/current/init/bash
fi
PS1="[\u@\h:\W]$ "
#Additional aliases
#Additional modules
module load texlive
module load vasp/5.3.5
module load emacs
#ASE
export PYTHONPATH=/afs/crc.nd.edu/user/j/jcrum/.local/lib/python3.7/site-packages/:$PYTHONPATH
export PATH=/afs/crc.nd.edu/user/j/jcrum/.local/lib/python3.7/site-packages/ase/tools:$PATH
# VASP
export VASP_PP_PATH=/afs/crc.nd.edu/user/w/wschnei1/Group/new_POTCARs/
export PYTHONPATH=/afs/crc.nd.edu/user/j/jcrum/vasp:$PYTHONPATH
export PATH=/afs/crc.nd.edu/user/j/jcrum/vasp/bin:$PATH
#Anaconda
export PATH=/afs/crc.nd.edu/user/j/jko1/anaconda3/bin:$PATHYou can download vasp thrugh Prateek’s github page. It is similar to John’s original vasp wrapper, but patched to work with the Notre Dame job submission engine. You should compare John’s version and this version to see how they are different.
$ git clone https://github.com/jtcrum/vasp.gitgo to the vasp folder, then switch to SLURM-py3 branch.
$ git checkout SLURM-py3You can see this message.
Branch SGE-py3 set up to track remote branch SGE-py3 from origin.
Switched to a new branch 'SGE-py3'Like bashrc, we need a configuration file for submitting a job to server.
In your home directory, type this to make the vasprc
emacs -nw ~/.vasprcThen copy and paste this content.
Note that you need to change user name and email!
# adjust these for the your system
vasp.executable.serial = vasp
vasp.executable.parallel = vasp
user.name = jcrum
user.email = jcrum@nd.edu
mode = queue # run|queue|None
multiprocessing.cores_per_process = None
# these are only needed if you run in a queue. Setting a few defaults here. SGE needs nprocs, q, pe.
scheduler = SGE
queue.shell= bash
queue.command = qsub
queue.options = -j y
queue.time = 168:00:00
queue.nodes = 1
queue.ppn = 1
queue.nprocs = 4
queue.mem = 2G
queue.jobname = None
queue.q = *long
queue.pe = smp
vdw_kernel.bindat = /afs/crc.nd.edu/x86_64_linux/vasp/5.3.5/ompi1.6.3/vdw_kernel.bindat
module=vasp/5.4.1[jcrum@crcfe01:vasp]$Scimax is really helpful for us to use ASE as well as write some documents.
I put Dr. Kitchin’s (CMU) description of scimax.
\begin{mdframed}
Scimax is an Emacs starterkit designed for people interested in reproducible research and publishing. Scimax is just Emacs that has been configured extensively to make it act like we need it to for research documentation and publication.
\end{mdframed}
You can download scimax from Dr. Kitchin’s github
git clone https://github.com/jkitchin/scimax.git- A good guidebook for DFT calculations with ASE
https://github.com/jkitchin/dft-book - A basic information about ASE
https://wiki.fysik.dtu.dk/ase/index.html