bmtool 0.6.5__py3-none-any.whl → 0.6.5.1__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.
- bmtool/SLURM.py +2 -2
- {bmtool-0.6.5.dist-info → bmtool-0.6.5.1.dist-info}/METADATA +1 -1
- {bmtool-0.6.5.dist-info → bmtool-0.6.5.1.dist-info}/RECORD +7 -7
- {bmtool-0.6.5.dist-info → bmtool-0.6.5.1.dist-info}/LICENSE +0 -0
- {bmtool-0.6.5.dist-info → bmtool-0.6.5.1.dist-info}/WHEEL +0 -0
- {bmtool-0.6.5.dist-info → bmtool-0.6.5.1.dist-info}/entry_points.txt +0 -0
- {bmtool-0.6.5.dist-info → bmtool-0.6.5.1.dist-info}/top_level.txt +0 -0
bmtool/SLURM.py
CHANGED
@@ -208,7 +208,7 @@ class SimulationBlock:
|
|
208
208
|
# Conditional account linegit
|
209
209
|
account_line = f"#SBATCH --account={self.account}\n" if self.account else ""
|
210
210
|
env_var_component_path = f"export COMPONENT_PATH={self.component_path}" if self.component_path else ""
|
211
|
-
|
211
|
+
mem_per_cpu = int(int(self.mem)/int(self.ntasks))
|
212
212
|
|
213
213
|
# Write the batch script to the file
|
214
214
|
with open(batch_script_path, 'w') as script_file:
|
@@ -220,7 +220,7 @@ class SimulationBlock:
|
|
220
220
|
#SBATCH --partition={self.partition}
|
221
221
|
#SBATCH --nodes={self.nodes}
|
222
222
|
#SBATCH --ntasks={self.ntasks}
|
223
|
-
#SBATCH --mem={
|
223
|
+
#SBATCH --mem-per-cpu={mem_per_cpu}G
|
224
224
|
{account_line}
|
225
225
|
|
226
226
|
# Additional user-defined commands
|
@@ -1,4 +1,4 @@
|
|
1
|
-
bmtool/SLURM.py,sha256=
|
1
|
+
bmtool/SLURM.py,sha256=KNt6X0vMuUvVr94OKleq3MAhOuuiCkHWEzzCwZbH-38,16679
|
2
2
|
bmtool/__init__.py,sha256=ZStTNkAJHJxG7Pwiy5UgCzC4KlhMS5pUNPtUJZVwL_Y,136
|
3
3
|
bmtool/__main__.py,sha256=TmFkmDxjZ6250nYD4cgGhn-tbJeEm0u-EMz2ajAN9vE,650
|
4
4
|
bmtool/bmplot.py,sha256=Im-Jrv8TK3CmTtksFzHrVogAve0l9ZwRrCW4q2MFRiA,53966
|
@@ -16,9 +16,9 @@ bmtool/util/commands.py,sha256=zJF-fiLk0b8LyzHDfvewUyS7iumOxVnj33IkJDzux4M,64396
|
|
16
16
|
bmtool/util/util.py,sha256=00vOAwTVIifCqouBoFoT0lBashl4fCalrk8fhg_Uq4c,56654
|
17
17
|
bmtool/util/neuron/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
18
|
bmtool/util/neuron/celltuner.py,sha256=xSRpRN6DhPFz4q5buq_W8UmsD7BbUrkzYBEbKVloYss,87194
|
19
|
-
bmtool-0.6.5.dist-info/LICENSE,sha256=qrXg2jj6kz5d0EnN11hllcQt2fcWVNumx0xNbV05nyM,1068
|
20
|
-
bmtool-0.6.5.dist-info/METADATA,sha256
|
21
|
-
bmtool-0.6.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
22
|
-
bmtool-0.6.5.dist-info/entry_points.txt,sha256=0-BHZ6nUnh0twWw9SXNTiRmKjDnb1VO2DfG_-oprhAc,45
|
23
|
-
bmtool-0.6.5.dist-info/top_level.txt,sha256=gpd2Sj-L9tWbuJEd5E8C8S8XkNm5yUE76klUYcM-eWM,7
|
24
|
-
bmtool-0.6.5.dist-info/RECORD,,
|
19
|
+
bmtool-0.6.5.1.dist-info/LICENSE,sha256=qrXg2jj6kz5d0EnN11hllcQt2fcWVNumx0xNbV05nyM,1068
|
20
|
+
bmtool-0.6.5.1.dist-info/METADATA,sha256=mCHLJ27JL7d17fe5atQTwQGkVfzVQ6MhqHlhgbm8yh4,20226
|
21
|
+
bmtool-0.6.5.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
22
|
+
bmtool-0.6.5.1.dist-info/entry_points.txt,sha256=0-BHZ6nUnh0twWw9SXNTiRmKjDnb1VO2DfG_-oprhAc,45
|
23
|
+
bmtool-0.6.5.1.dist-info/top_level.txt,sha256=gpd2Sj-L9tWbuJEd5E8C8S8XkNm5yUE76klUYcM-eWM,7
|
24
|
+
bmtool-0.6.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|