mirror of https://github.com/abinit/abipy.git
disable abinp tests, update manager examples
This commit is contained in:
parent
0596200f18
commit
355f8d98f8
|
@ -8,7 +8,7 @@ hardware: &hardware
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env:
|
||||
PATH: "/home/users/g/m/gmatteo/git/abinit/_build_dragon1-intel-mpich-mkl.ac/src/98_main:$PATH"
|
||||
PATH: "$HOME/git_repos/abinit/_build_dragon1-intel-mpich-mkl.ac/src/98_main:$PATH"
|
||||
modules:
|
||||
- mpich/3.0.4/intel-13.0.0
|
||||
pre_run: "ulimit -s unlimited"
|
||||
|
|
|
@ -8,7 +8,7 @@ hardware: &hardware
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env:
|
||||
PATH: "/home/gmatteo/git_repos/abinit/_build_hercules.ac/src/98_main/:$PATH"
|
||||
PATH: "$HOME/git_repos/abinit/_build_hercules.ac/src/98_main/:$PATH"
|
||||
modules:
|
||||
- impi/5.1.3.181-iccifort-2016.3.210-GCC-5.4.0-2.26
|
||||
- imkl/11.3.3.210-iimpi-2016b
|
||||
|
|
|
@ -21,7 +21,7 @@ low: &low
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env:
|
||||
PATH: "/home/users/g/m/gmatteo/git_repos/abinit/_build_hmem_intel_openmpi-mkl.ac/src/98_main/:$PATH"
|
||||
PATH: "$HOME/git_repos/abinit/_build_hmem_intel_openmpi-mkl.ac/src/98_main/:$PATH"
|
||||
modules:
|
||||
- openmpi/1.5.3/intel-12.0.0.084
|
||||
pre_run: "ulimit -s unlimited"
|
||||
|
|
|
@ -8,7 +8,7 @@ hardware: &hardware
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env: # Use your abinit exec
|
||||
PATH: "/home/users/g/m/gmatteo/git_repos/abinit/_build_lemaitre2-intel-openmpi-mkl.ac/src/98_main/:$PATH"
|
||||
PATH: "$HOME/git_repos/abinit/_build_lemaitre2-intel-openmpi-mkl.ac/src/98_main/:$PATH"
|
||||
modules: # Abinit compiled with abiconfig settings
|
||||
- openmpi/1.6.5/intel-13.0.1.117
|
||||
pre_run: "ulimit -s unlimited"
|
||||
|
|
|
@ -21,7 +21,7 @@ ObanIntel: &ObanIntel
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env:
|
||||
PATH: /home/users/g/m/gmatteo/git_repos/abinit/_build_manneback-gcc-openmpi.ac/src/98_main/:$PATH
|
||||
PATH: "$HOME/git_repos/abinit/_build_manneback-gcc-openmpi.ac/src/98_main/:$PATH"
|
||||
pre_run:
|
||||
- "ulimit -s unlimited"
|
||||
- "export OMP_NUM_THREADS=1"
|
||||
|
|
|
@ -9,7 +9,7 @@ job: &job
|
|||
mpi_runner: "mpirun"
|
||||
mpi_runner_options: "--bind-to none"
|
||||
shell_env:
|
||||
PATH: "/home/users/g/m/gmatteo/git_repos/abinit/_build_nic4-intel-openmpi-mkl-hdf5.ac/src/98_main:$PATH"
|
||||
PATH: "$HOME/git_repos/abinit/_build_nic4-intel-openmpi-mkl-hdf5.ac/src/98_main:$PATH"
|
||||
pre_run: "ulimit -s unlimited"
|
||||
modules:
|
||||
- shared
|
||||
|
|
|
@ -8,7 +8,7 @@ hardware: &hardware
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env:
|
||||
PATH: "/gpfsuser/home/users/g/m/gmatteo/git_repos/abinit/_build_vega-intel-impi-mkl.ac/src/98_main/:$PATH"
|
||||
PATH: "$HOME/git_repos/abinit/_build_vega-intel-impi-mkl.ac/src/98_main/:$PATH"
|
||||
modules:
|
||||
- intel/2015a
|
||||
#pre_run: "ulimit -s unlimited"
|
||||
|
|
|
@ -15,7 +15,7 @@ ivybridge: &ivybridge
|
|||
job: &job
|
||||
mpi_runner: mpirun
|
||||
shell_env:
|
||||
PATH: /home/acad/ucl/naps/mgiantom/bzr_repos/793/gmatteo-private/build_impi/src/98_main:$PATH
|
||||
PATH: $HOME/git_repos/abinit_build_impi/src/98_main:$PATH
|
||||
modules:
|
||||
- compiler/intel/composerxe/2013_sp1.1.106
|
||||
- intelmpi
|
||||
|
|
|
@ -2092,7 +2092,7 @@ class SigresRobot(Robot, RobotWithEbands):
|
|||
get_dataframe = get_qpgaps_dataframe
|
||||
|
||||
@add_fig_kwargs
|
||||
def plot_qpgaps_convergence(self, plot_qpmks=False, sortby=None, hue=None, fontsize=8, **kwargs):
|
||||
def plot_qpgaps_convergence(self, plot_qpmks=False, sortby=None, hue=None, sharey=False, fontsize=8, **kwargs):
|
||||
"""
|
||||
Plot the convergence of the direct QP gaps for all the k-points available in the robot.
|
||||
|
||||
|
@ -2107,6 +2107,7 @@ class SigresRobot(Robot, RobotWithEbands):
|
|||
Accepts callable or string
|
||||
If string, it's assumed that the abifile has an attribute with the same name and getattr is invoked.
|
||||
If callable, the output of hue(abifile) is used.
|
||||
sharey: True if y-axis should be shared.
|
||||
fontsize: legend and label fontsize.
|
||||
|
||||
Returns: |matplotlib-Figure|
|
||||
|
@ -2119,7 +2120,7 @@ class SigresRobot(Robot, RobotWithEbands):
|
|||
# Build grid with (nkpt, 1) plots.
|
||||
ncols, nrows = 1, len(sigma_kpoints)
|
||||
ax_list, fig, plt = get_axarray_fig_plt(None, nrows=nrows, ncols=ncols,
|
||||
sharex=True, sharey=True, squeeze=False)
|
||||
sharex=True, sharey=sharey, squeeze=False)
|
||||
ax_list = ax_list.ravel()
|
||||
|
||||
if hue is None:
|
||||
|
|
|
@ -158,6 +158,7 @@ def abinp_phperts(options):
|
|||
qpt = None if "qpt" in inp else [0, 0, 0]
|
||||
perts = inp.abiget_irred_phperts(qpt=qpt)
|
||||
print(perts)
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
|
@ -169,7 +170,7 @@ def abinp_gs(options):
|
|||
kppa=None, ecut=None, pawecutdg=None, scf_nband=None,
|
||||
accuracy="normal", spin_mode="unpolarized",
|
||||
smearing="fermi_dirac:0.1 eV", charge=0.0, scf_algorithm=None)
|
||||
#print(gsinp._repr_html_())
|
||||
|
||||
return finalize(gsinp, options)
|
||||
|
||||
|
||||
|
@ -240,6 +241,7 @@ def abinp_anaph(options):
|
|||
|
||||
return finalize(inp, options)
|
||||
|
||||
|
||||
def get_epilog():
|
||||
return r"""
|
||||
Usage example:
|
||||
|
|
|
@ -100,11 +100,13 @@ class TestAbinp(ScriptTest):
|
|||
r = env.run(self.script, "phperts", runabi, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
|
||||
# Commands generating input files.
|
||||
gan2_cif = abidata.cif_file("gan2.cif")
|
||||
r = env.run(self.script, "gs", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
r = env.run(self.script, "ebands", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
r = env.run(self.script, "phonons", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
r = env.run(self.script, "g0w0", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
# FIXME: Disabled: slow and problematic on travis with py2.7
|
||||
#gan2_cif = abidata.cif_file("gan2.cif")
|
||||
#r = env.run(self.script, "gs", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
#r = env.run(self.script, "ebands", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
#r = env.run(self.script, "phonons", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
#r = env.run(self.script, "g0w0", gan2_cif, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
|
||||
ddb_path = abidata.ref_file("refs/znse_phonons/ZnSe_hex_qpt_DDB")
|
||||
r = env.run(self.script, "anaph", ddb_path, self.loglevel, self.verbose, expect_stderr=self.expect_stderr)
|
||||
|
||||
|
|
Loading…
Reference in New Issue