FW: [petsc-maint] Python xdrlib and PETSc 3.21

25 views
Skip to first unread message

Hammond, Glenn E

unread,
Apr 8, 2025, 12:36:57 PMApr 8
to pflotran-users

FYI. In case anyone is configuring with Python 3.13 and PETSc 3.21.x or lower.

 

Glenn

 

From: Satish Balay <bala...@fastmail.org>
Date: Tuesday, April 8, 2025 at 9:25
AM
To: Hammond, Glenn E <glenn....@pnnl.gov>
Cc: petsc...@mcs.anl.gov <petsc...@mcs.anl.gov>
Subject: Re: [petsc-maint] Python xdrlib and PETSc 3.21

Check twice before you click! This email originated from outside PNNL.


Its a python-3.13 issue.

However MacOS python is 3.9.6 - so maybe you have brew python in PATH?

If so - try:

/usr/bin/python3 ./configure ...

Also the fix  for python-3.13 is at -  https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fpetsc%2Fpetsc%2F-%2Fcommit%2F9bb2fd428d7e9961226e662080eef94e9e67e4a6.diff&data=05%7C02%7Cglenn.hammond%40pnnl.gov%7C421c1d50255047057a3308dd76b9f64d%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638797263261841489%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=3a5StyT2pvg7SdPiy0%2BrGvWuXRs%2BFCuK8%2BJvNcbHLTA%3D&reserved=0 - patching 3.21 with it might work.

Satish

On Tue, 8 Apr 2025, Hammond, Glenn E via petsc-maint wrote:

> PETSc,
>
> I upgraded to Sequoia, and I can no longer import xdrlib into the configure. There is no configure.log generated. I see that there were updates ~7 months ago to address this issue. Were these by chance added to 3.21? I am on 3.21.6. Other options?
>
> Thanks,
>
> Glenn
>

Reply all
Reply to author
Forward
0 new messages