PyFemtet 0.3.9__tar.gz → 0.3.10__tar.gz
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.
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/PKG-INFO +1 -1
- pyfemtet-0.3.10/pyfemtet/__init__.py +1 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/opt/base.py +2 -1
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyproject.toml +1 -1
- pyfemtet-0.3.9/pyfemtet/__init__.py +0 -1
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/LICENSE +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/README.md +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.femprj +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.prt +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/NX_ex01/NX_ex01.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.SLDPRT +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.femprj +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/gau_ex08_parametric.femprj +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/gau_ex08_parametric.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/her_ex40_parametric.femprj +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/her_ex40_parametric.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/wat_ex14_parallel_parametric.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/wat_ex14_parametric.femprj +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/wat_ex14_parametric.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/core.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/dispatch_extensions.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/logger.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/opt/_FemtetWithNX/update_model.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/opt/__init__.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/opt/interface.py +0 -0
- {pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/opt/monitor.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.10"
|
|
@@ -2,6 +2,7 @@ from abc import ABC, abstractmethod
|
|
|
2
2
|
from typing import List, Iterable
|
|
3
3
|
|
|
4
4
|
import os
|
|
5
|
+
import sys
|
|
5
6
|
import datetime
|
|
6
7
|
import inspect
|
|
7
8
|
import ast
|
|
@@ -1330,7 +1331,7 @@ class FEMOpt:
|
|
|
1330
1331
|
# monitor 用 worker を起動
|
|
1331
1332
|
logger.info('Launching monitor server. This may take a few seconds.')
|
|
1332
1333
|
self.monitor_process_worker_name = datetime.datetime.now().strftime("Monitor-%Y%m%d-%H%M%S")
|
|
1333
|
-
cmd = f'dask worker {self.client.scheduler.address} --name {self.monitor_process_worker_name} --no-nanny'
|
|
1334
|
+
cmd = f'{sys.executable} -m dask worker {self.client.scheduler.address} --name {self.monitor_process_worker_name} --no-nanny'
|
|
1334
1335
|
current_n_workers = len(self.client.nthreads().keys())
|
|
1335
1336
|
Popen(cmd, shell=True) # , stdout=PIPE) --> cause stream error
|
|
1336
1337
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pyfemtet"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.10" # ignored by versioning plugin
|
|
4
4
|
description = "Design parameter optimization using Femtet."
|
|
5
5
|
authors = ["kazuma.naito <kazuma.naito@murata.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.SLDPRT
RENAMED
|
File without changes
|
{pyfemtet-0.3.9 → pyfemtet-0.3.10}/pyfemtet/FemtetPJTSample/Sldworks_ex01/Sldworks_ex01.femprj
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|