Re: [petsc-users] win32fe?

2023-01-31 Thread Satish Balay via petsc-users
Some additional notes on win32fe: - PETSc uses cygwin python/make/shell etc for build tools - i.e they all work with cygwin (aka unix) paths. However cl,icl etc work with MS native paths. So win32fe parses the compiler options and converts the cygwin paths to native paths before invoking

Re: [petsc-users] win32fe?

2023-01-31 Thread Satish Balay via petsc-users
Assuming 'icx/ifx' compiler options are same as 'icl/ifort' - you can try: --with-cc='win32fe icl --use icx' --with-cxx='win32fe icl --use icx' --with-fc='win32e ifort --use ifx' Also check 'win32fe --help' However I think the above assumption [i.e icx is a drop in replacement for icl] is

[petsc-users] win32fe?

2023-01-31 Thread Daniel Stone
Hello all, I am currently having to figure out a way to get petsc working on windows, using compilers from the intel oneAPI package. This means new compiler names, such as "icx" for the c compiler and "ifx" for the fortran one. I see from the installation instructions, and from old notes from a

Re: [petsc-users] Composite preconditioners in petsc4py

2023-01-31 Thread Matthew Knepley
On Tue, Jan 31, 2023 at 8:44 AM Adolfo Rodriguez wrote: > Matthew, > > Yes, exactly: PCCOMPOSITR. > The list of options for it is here: https://petsc.org/main/docs/manualpages/PC/PCCOMPOSITE/ Is there a particular thing you want to do? Thanks, Matt > Get Outlook for iOS

Re: [petsc-users] Composite preconditioners in petsc4py

2023-01-31 Thread Adolfo Rodriguez
Matthew, Yes, exactly: PCCOMPOSITR. Get Outlook for iOS From: Matthew Knepley Sent: Tuesday, January 31, 2023 6:55:29 AM To: Adolfo Rodriguez Cc: petsc-users Subject: Re: [petsc-users] Composite preconditioners in petsc4py On Mon, Jan

Re: [petsc-users] Composite preconditioners in petsc4py

2023-01-31 Thread Matthew Knepley
On Mon, Jan 30, 2023 at 6:56 PM Adolfo Rodriguez wrote: > Hi, > > how do you use composite preconditioners in petsc4py. I used to have a > script that worked but it does not work anymore. Something has changed. Any > simple examples? > Do you mean using PCCOMPOSITE? Thanks, Matt >