PETSC v3.24.0

23 views
Skip to first unread message

pedram mahzari

unread,
Oct 16, 2025, 11:39:58 AMOct 16
to pflotran-users
I attempted to install pflotran, and I get this error:  
#error "Please use PETSc version 3.24.0 or later: 'git checkout v3.24.0' in $PETSC_DIR"

when I checked pflotran_constants.o, it is requested that:
#define VMAJOR 3
#define VMINOR 24
#define VSUBMINOR 0
#if (PETSC_VERSION_MAJOR < VMAJOR ||                    \
     (PETSC_VERSION_MAJOR == VMAJOR &&                  \
      (PETSC_VERSION_MINOR < VMINOR ||                  \
       (PETSC_VERSION_MINOR == VMINOR &&                \
        (PETSC_VERSION_SUBMINOR < VSUBMINOR)))))
#error "Please use PETSc version 3.24.0 or later: 'git checkout v3.24.0' in $PETSC_DIR"

However, it is stated on the website that v3.21.5 should be selected for PETSC. 

When I installed pflotran using v3.24.0, I keep receiving pflotran run crashes if number of cores is above 4 (probably MPI mismatch). 

pedram mahzari

unread,
Oct 17, 2025, 4:27:17 AMOct 17
to pflotran-users
I used git checkout v7.0, and it worked with PETSC v3.21.5

Hammond, Glenn E

unread,
Oct 17, 2025, 10:53:46 AMOct 17
to pflotra...@googlegroups.com
Yes. I need to update the development version of the documentation to reference PETSc 3.24. 

PFLOTRAN v7.x is compatible with PETSc 3.21.x
PFLOTRAN master branch is compatible PETSc 3.24.x

Glenn

From: pflotra...@googlegroups.com <pflotra...@googlegroups.com> on behalf of pedram mahzari <pedram.p...@gmail.com>
Date: Thursday, October 16, 2025 at 8:40 AM
To: pflotran-users <pflotra...@googlegroups.com>
Subject: [pflotran-users: 8591] PETSC v3.24.0

Check twice before you click! This email originated from outside PNNL.
--
You received this message because you are subscribed to the Google Groups "pflotran-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pflotran-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pflotran-users/9c0e6019-7ef9-4cd7-becf-2e3dbb9f800fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages