NREL / GEOPHIRES-X

MIT License
28 stars 23 forks source link

MC + TOUGH permission bug #86

Open softwareengineerprogrammer opened 8 months ago

softwareengineerprogrammer commented 8 months ago

Per user:

I am now trying to run the MC with the Reservoir Model =6 (TOUGH2).

I get a permission error trying to write the TOUGH input file Doublet.dat. I am pretty sure this is b/c of the parallel processing of MC_GeoPHIRES3.py. As TOUGH takes a few minutes to compute, the parallel processing tries to access Doublet.dat a number of times while it is still being used by TOUGH for the first session. I know it’s not a TOUGH issue b/c it works just fine when I run a single session (ITERATIONS =1 in MC_Settings_file.txt).

How about we create a unique directory for every TOUGH session? For each TOUGH session, TOUGH will generate ~10 working files with the same exact filenames regardless of the input file name.

softwareengineerprogrammer commented 3 months ago

Feature request mentioned in https://geoconvention.com/wp-content/uploads/abstracts/2024/104298-techno-economic-evaluation-of-hot-sedimentary-geot-01.pdf