Skip to content

Commit

Permalink
Update gpawsolve.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sblisesivdin authored Dec 2, 2021
1 parent 6f849fa commit ca394f3
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions gpawsolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
'''

Description = f'''
Usage: Change number with core numbers/threads to use. I am suggesting to use total number of cores(or threads) - 1
Usage: For AMD CPUs or using Intel CPUs without hyperthreading: (Example CPU is intel here, 4 cores or 8 threads)
$ mpirun -np 4 gpawsolve.py <args>
For using all threads provided by Intel Hyperthreading technology:
$ mpirun --use-hwthread-cpus -np 8 gpawsolve.py <args>
Usage:
$ mpirun -np <corenumbers> gpawsolve.py <args>
-------------------------------------------------------------
Calculation selector
-------------------------------------------------------------
Expand Down Expand Up @@ -46,8 +43,9 @@
import numpy as np
from numpy import genfromtxt


# IF YOU WANT TO USE CONFIG FILE, YOU CAN CREATE FROM THIS FILE. PLEASE COPY/PASTE FROM HERE:>>>>>>>
# DEFAULT VALUES
# These values (with bulk configuration) can be used to run this script without using inputfile (py file)
# and configuration file (cif file).
# -------------------------------------------------------------
Mode = 'PW' # Use PW, PW-GW, PW-EXX, LCAO, FD (PW is more accurate, LCAO is quicker mostly.)
# -------------------------------------------------------------
Expand Down Expand Up @@ -95,6 +93,7 @@
GWppa = True # Plasmon Pole Approximation
GWq0correction = True # Analytic correction to the q=0 contribution applicable to 2D systems.
GWnblock = True # Cuts chi0 into as many blocks to reduce mem. req. as much as possible.
GWbandinterpolation = True # Interpolate band

# OPTICAL
num_of_bands = 16 #
Expand All @@ -112,7 +111,6 @@
# Example: For a x-y 2D nanosheet only first 2 component will be true
whichstrain=[False, False, False, False, False, False]
MPIcores = 4 # This is for gg.py. Not used in this script.
# <<<<<<< TO HERE TO FILE config.py IN SAME DIRECTORY AND USE -c FLAG WITH COMMAND

# -------------------------------------------------------------
# Bulk Configuration
Expand Down

0 comments on commit ca394f3

Please sign in to comment.