PFLOTRAN installation help

12 views
Skip to first unread message

Collin Wang

unread,
Feb 22, 2024, 4:48:28 PMFeb 22
to pflotr...@googlegroups.com
Hello PFLOTRAN development team,

My name is Collin Wang, and I am a beginner who is trying to build model on PLOTRAN. However, I am stuck on the installation step, specifically, I am having trouble to configure the libraries to PETSC, I tried the command

./configure --with-mpi-dir=<dir> but the following error occurred:

collin@LAPTOP-U72L92KG:~/petsc$ ./configure --with-mpi-dir=/usr
=============================================================================================
                         Configuring PETSc to compile on your system
=============================================================================================
TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:205)
*********************************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
          Your libraries are from MPICH but it appears your mpiexec is from Open MPI
*********************************************************************************************

I also tried the following command:
./configure --download-mpich=yes --download-hdf5=yes --download-hdf5-fortran-bindings=yes --download-fblaslapack=yes
but it failed to went through the part of hdf5, and if I tried to configure hdf5 by./configure --with-hdf5-dir=<dir> after installation, the same error as above would happen.

It will be much appreciated if you can help me with this issue, and thanks for your time. The version of PETSC that I am using is v3.20.4, hope this information can help you identify the problem.

Regards,
Collin Wang

Hammond, Glenn E

unread,
Feb 23, 2024, 10:31:38 AMFeb 23
to pflotr...@googlegroups.com

Collin,

 

Let’s try a coupling things:

 

  1. Please configure with “./configure --CFLAGS='-O3' --CXXFLAGS='-O3' --FFLAGS='-O3' --with-debugging=no --download-mpich=yes --download-hdf5=yes --download-hdf5-fortran-bindings=yes --download-fblaslapack=yes --download-metis=yes --download-parmetis=yes” and send the resulting configure.log.
  2. Please send the screen output for the following commands executed from the command line:
    • which gfortran
    • which mpif90
    • which mpirun
    • gfortran -- version
    • mpif90 --version

 

Thanks,

 

Glenn

 

From: pflotr...@googlegroups.com <pflotr...@googlegroups.com> On Behalf Of Collin Wang
Sent: Thursday, February 22, 2024 1:48 PM
To: pflotr...@googlegroups.com
Subject: [pflotran-dev: 6233] PFLOTRAN installation help

 

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

 

--
You received this message because you are subscribed to the Google Groups "pflotran-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pflotran-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-dev/YT1PR01MB2380D2B132760CE1078F76B28B562%40YT1PR01MB2380.CANPRD01.PROD.OUTLOOK.COM.

Reply all
Reply to author
Forward
0 new messages