Error in Plfotran code

12 views
Skip to first unread message

sahil wani

unread,
Mar 16, 2026, 11:04:58 AM (3 days ago) Mar 16
to pflotran-users

Hi everyone,

I am trying to run the GitHub code on our HPC:
https://github.com/Zitong-Huang/PFLOTRAN_H2_Dec_24/

I encountered the following issue while running it.

Could anyone help me resolve this?


Error.png

sahil wani

unread,
Mar 16, 2026, 11:08:21 PM (3 days ago) Mar 16
to pflotran-users

The code runs fine on a single core. When I run it on multiple cores, an error occurs due to the output block. If I remove the output block, the code runs without issues.

I need to run the simulation with output files using multiple cores. How can this be resolved?

For reference, the output block used in the input file is shown below.

OUTPUT
  TIMES y 8.333d-2 1.667d-1 2.500d-1 3.333d-1 4.167d-1 5.000d-1 5.833d-1 6.667d-1 7.500d-1 8.333d-1 9.167d-1 1.000d0 3.d0 5.d0 1.d1
  FORMAT VTK
  MASS_BALANCE_FILE
    PERIODIC TIME 8.33d-2 y
    TOTAL_MASS_REGIONS
      well
      gas_res
    /
    !DETAILED
  /
  VARIABLES
    LIQUID_PRESSURE
    LIQUID_DENSITY
    LIQUID_MOLE_FRACTIONS
    LIQUID_SATURATION
    GAS_PRESSURE
    GAS_DENSITY
    GAS_SATURATION
    GAS_MOLE_FRACTIONS
    MAXIMUM_PRESSURE
    CAPILLARY_PRESSURE
    POROSITY
    PERMEABILITY_X
    PERMEABILITY_Y
    PERMEABILITY_Z
  /
PERIODIC_OBSERVATION TIMESTEP 1000
END

Hammond, Glenn E

unread,
Mar 17, 2026, 11:13:01 PM (2 days ago) Mar 17
to pflotra...@googlegroups.com
Sahil,

Thank you for reporting this bug. I’ve just pushed a fix for this bug. Please update to the latest source and give it another try.

Glenn

From: pflotra...@googlegroups.com <pflotra...@googlegroups.com> on behalf of sahil wani <shl...@gmail.com>
Date: Monday, March 16, 2026 at 8:08 PM
To: pflotran-users <pflotra...@googlegroups.com>
Subject: [pflotran-users: 8717] Re: Error in Plfotran code

You don't often get email from shl...@gmail.com. Learn why this is important
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/314f9bea-a5c3-4679-9561-ccd5a326d25cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages