calphy 1.3.9__py3-none-any.whl → 1.3.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- calphy/__init__.py +1 -1
- calphy/input.py +1 -1
- calphy/integrators.py +4 -1
- calphy/scheduler.py +3 -1
- {calphy-1.3.9.dist-info → calphy-1.3.10.dist-info}/METADATA +1 -1
- {calphy-1.3.9.dist-info → calphy-1.3.10.dist-info}/RECORD +10 -10
- {calphy-1.3.9.dist-info → calphy-1.3.10.dist-info}/WHEEL +1 -1
- {calphy-1.3.9.dist-info → calphy-1.3.10.dist-info}/LICENSE +0 -0
- {calphy-1.3.9.dist-info → calphy-1.3.10.dist-info}/entry_points.txt +0 -0
- {calphy-1.3.9.dist-info → calphy-1.3.10.dist-info}/top_level.txt +0 -0
calphy/__init__.py
CHANGED
calphy/input.py
CHANGED
calphy/integrators.py
CHANGED
|
@@ -28,7 +28,10 @@ import math
|
|
|
28
28
|
import os
|
|
29
29
|
import warnings
|
|
30
30
|
from calphy.splines import splines, sum_spline1, sum_spline25, sum_spline50, sum_spline75, sum_spline100
|
|
31
|
-
|
|
31
|
+
try:
|
|
32
|
+
from scipy.integrate import cumtrapz
|
|
33
|
+
except ImportError:
|
|
34
|
+
from scipy.integrate import cumulative_trapezoid as cumtrapz
|
|
32
35
|
from tqdm import tqdm
|
|
33
36
|
import pyscal3.core as pc
|
|
34
37
|
from ase.io import read
|
calphy/scheduler.py
CHANGED
|
@@ -90,6 +90,7 @@ class SLURM:
|
|
|
90
90
|
"""
|
|
91
91
|
self.queueoptions = {"scheduler": "slurm",
|
|
92
92
|
"jobname": "tis",
|
|
93
|
+
"queuename": None,
|
|
93
94
|
"walltime": "23:59:00",
|
|
94
95
|
"memory": "3GB",
|
|
95
96
|
"cores": cores,
|
|
@@ -125,7 +126,8 @@ class SLURM:
|
|
|
125
126
|
#write the main header options
|
|
126
127
|
fout.write("#SBATCH --job-name=%s\n" %self.queueoptions["jobname"])
|
|
127
128
|
fout.write("#SBATCH --time=%s\n" %self.queueoptions["walltime"])
|
|
128
|
-
|
|
129
|
+
if self.queueoptions["queuename"] is not None:
|
|
130
|
+
fout.write("#SBATCH --partition=%s\n"%self.queueoptions["queuename"])
|
|
129
131
|
fout.write("#SBATCH --ntasks=%s\n" %str(self.queueoptions["cores"]))
|
|
130
132
|
fout.write("#SBATCH --mem-per-cpu=%s\n"%self.queueoptions["memory"])
|
|
131
133
|
fout.write("#SBATCH --hint=%s\n" %self.queueoptions["hint"])
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
calphy/__init__.py,sha256=
|
|
1
|
+
calphy/__init__.py,sha256=w9XLioZKvY0Z1pvwKo_2S1s8SsILErVXJOpojhsHbA4,234
|
|
2
2
|
calphy/alchemy.py,sha256=epv_vJoAMVbj-S1TuPSbBGr4w_a9qEr4EIxKlgwdlSo,12893
|
|
3
3
|
calphy/clitools.py,sha256=oDqaw0s-LJ7tAdW_Njk2SFljVx6K34Rs8sdMz48SNSI,4125
|
|
4
4
|
calphy/composition_transformation.py,sha256=Hh240-iVGC8ATlJ3nQK757qVZIBrE2aw7dsF46mi3oo,15353
|
|
5
5
|
calphy/errors.py,sha256=KN47RWTLbg1H_NZMrhCiJCbqjqJScJ1pgQAuzj1-l84,1268
|
|
6
6
|
calphy/helpers.py,sha256=nj8g53H6ScohQtyV7Enzms8Rv_89PRrDDY1IHjFSZdQ,8292
|
|
7
|
-
calphy/input.py,sha256=
|
|
8
|
-
calphy/integrators.py,sha256=
|
|
7
|
+
calphy/input.py,sha256=qI8BCx_zZ_909Jaa2sxePHQDcp4oDzychVaZKfUgAVM,29718
|
|
8
|
+
calphy/integrators.py,sha256=pblWLGngLgjBbHwVsjl3K7pr3eh4z3oZ261XdLlQNOA,20774
|
|
9
9
|
calphy/kernel.py,sha256=rd_-EfCiBhQjkxcVaoLtVJB2_qDgS-g-dQ0BZBTJQ_A,6190
|
|
10
10
|
calphy/liquid.py,sha256=a5NTAjc3VsrPBQoEMGe9O1WXfv1vxGoB0xPguf0fOyM,13762
|
|
11
11
|
calphy/phase.py,sha256=ukqad4MJ-MNGiyOsq2_jntG2s10UHbJVi2Ounpg_S2U,44787
|
|
12
12
|
calphy/phase_diagram.py,sha256=2EwmT_qkT5BEP6Sx0_rm09kPP2RWh5JY4sogIBK_AhA,12992
|
|
13
13
|
calphy/queuekernel.py,sha256=4GMIYnjMiAPipoLNKP5noYcfeEOI_vCqm84zgokk7Xw,5321
|
|
14
14
|
calphy/routines.py,sha256=W6OZEPv6HEG11EYsoIbum2WVrO3Ly36i5UWsYQ4oBdQ,17473
|
|
15
|
-
calphy/scheduler.py,sha256=
|
|
15
|
+
calphy/scheduler.py,sha256=IN8ogDedpTbZZsdpOj-hYZI05gWoD4bN7mHOb1z77Vo,8579
|
|
16
16
|
calphy/solid.py,sha256=49gT0wNOP3h8lRDXarULP-bU09lIrnDCTUcyxE7X-UE,19795
|
|
17
17
|
calphy/splines.py,sha256=BGwUVz_qXQxUzpUCuZo6CsELcd5JVNWzI-Ttcz22G_E,61627
|
|
18
18
|
calphy/utils.py,sha256=0UpsYoxjS5N-iGs-cdm0YDMkLF8IHvKO3smXDHrj3eg,3818
|
|
19
|
-
calphy-1.3.
|
|
20
|
-
calphy-1.3.
|
|
21
|
-
calphy-1.3.
|
|
22
|
-
calphy-1.3.
|
|
23
|
-
calphy-1.3.
|
|
24
|
-
calphy-1.3.
|
|
19
|
+
calphy-1.3.10.dist-info/LICENSE,sha256=XIHGB5RZLIhOjjoO1bPf0II-qDbjhP5Cv5HJMRE9v1g,16651
|
|
20
|
+
calphy-1.3.10.dist-info/METADATA,sha256=-Pgiun1WuVVvcxqipSbOcN5TSr9AdYRJ_CQWpAE1KG4,4216
|
|
21
|
+
calphy-1.3.10.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
22
|
+
calphy-1.3.10.dist-info/entry_points.txt,sha256=W9qq254koyWnAgo1jtfQP9bO5Q7sgZrzc8BMnfo3vf4,386
|
|
23
|
+
calphy-1.3.10.dist-info/top_level.txt,sha256=w871dhMqPwgjjbifBWdkT9_aOnK1ek4Odrh8UnSG3PE,7
|
|
24
|
+
calphy-1.3.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|