Skip to content

Commit

Permalink
Update macos version, relax bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
cgcgcg committed Oct 24, 2024
1 parent a733d16 commit 5bbb8be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
fail-fast: false
name: Mac clang Python ${{ matrix.py-version }}

runs-on: macos-12
runs-on: macos-13
timeout-minutes: 180
env:
MPIEXEC_FLAGS: "--allow-run-as-root --oversubscribe"
Expand Down
8 changes: 8 additions & 0 deletions base/PyNucleus_base/utilsFem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,14 @@ def process(self, override={}):
if self.comm:
params = self.comm.bcast(params, root=0)
self.params = params

if params['test']:
import psutil
p = psutil.Process()
try:
p.cpu_affinity(list(range(psutil.cpu_count())))
except AttributeError:
pass
self._timer = TimerManager(self.logger, comm=self.comm, memoryProfiling=params['showMemory'])

for fun in self.processHook:
Expand Down

0 comments on commit 5bbb8be

Please sign in to comment.