Skip to content

Commit

Permalink
version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hema-ted committed Mar 13, 2020
1 parent 5b56c89 commit 3cd20f8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion examples/diamond_nv_qe_hdf5/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
# Note that the compilation of QE can be technical and users unfamiliar with the process may find it helpful to consult experts first.
# QE must be compiled with HDF5 flag enabled, i.e. when configuring QE one needs to specify HDF5 library (--with-hdf5=/path/to/hdf5/lib/).

# Run QE to generate wavefunction
mpirun pw.x -i pw.in > pw.out

# Run PyZFS to compute the ZFS tensor
mpirun pyzfs --wfcfmt qeh5 > zfs.out
# equivalently: mpirun python -m pyzfs.exec.runzfs --wfcfmt qeh5 > zfs.out
# An equivalent command is:
# mpirun python -m pyzfs.exec.runzfs --wfcfmt qeh5 > zfs.out

D=`grep --color=never "D unit" zfs.xml | grep --color=never -Eoh '[+-]?[0-9]+([.][0-9]+)?'`
Dref=`grep --color=never "D unit" zfs_ref.xml | grep --color=never -Eoh '[+-]?[0-9]+([.][0-9]+)?'`
Expand Down
6 changes: 4 additions & 2 deletions examples/o2_qbox_xml/run.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash

# The wavefunction used was generated with Qbox 1.67.4
# The wavefunction used was generated with Qbox 1.67.4 using the following command
# qb < qb.in > qb.out

# Run PyZFS to compute the ZFS tensor
pyzfs --wfcfmt qbox > zfs.out
# equivalently: python -m pyzfs.exec.runzfs --wfcfmt qbox > zfs.out
# An equivalent command is:
# python -m pyzfs.exec.runzfs --wfcfmt qbox > zfs.out

D=`grep --color=never "D unit" zfs.xml | grep --color=never -Eoh '[+-]?[0-9]+([.][0-9]+)?'`
Dref=`grep --color=never "D unit" zfs_ref.xml | grep --color=never -Eoh '[+-]?[0-9]+([.][0-9]+)?'`
Expand Down
6 changes: 4 additions & 2 deletions examples/o2_qe_hdf5/run.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash

# The wavefunction used was generated with QE 6.4.1.
# The wavefunction used was generated with QE 6.4.1 using the following command
# pw.x -i pw.in > pw.out

# Run PyZFS to compute the ZFS tensor
pyzfs --wfcfmt qeh5 > zfs.out
# equivalently: python -m pyzfs.exec.runzfs --wfcfmt qeh5 > zfs.out
# An equivalent command is:
# python -m pyzfs.exec.runzfs --wfcfmt qeh5 > zfs.out

D=`grep --color=never "D unit" zfs.xml | grep --color=never -Eoh '[+-]?[0-9]+([.][0-9]+)?'`
Dref=`grep --color=never "D unit" zfs_ref.xml | grep --color=never -Eoh '[+-]?[0-9]+([.][0-9]+)?'`
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="pyzfs",
version="1.0", # set as dev for development commits
version="1.1",
author="He Ma, Marco Govoni, Giulia Galli",
author_email="[email protected], [email protected], [email protected]",
description="A python code to compute zero-field splitting tensors",
Expand Down

0 comments on commit 3cd20f8

Please sign in to comment.