Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No full results found in listing file #29

Closed
quenchlemon opened this issue Oct 5, 2021 · 5 comments
Closed

No full results found in listing file #29

quenchlemon opened this issue Oct 5, 2021 · 5 comments

Comments

@quenchlemon
Copy link

Hi everyone and Acroucher,

I have just started using PyTOUGH to create some input files for AUTOUGH. In doing so, I began with the example files such as the Horizontal_1D_Model.py listed in the Wiki. However, the simulation did not run with the following errors. I am not sure how to proceed from here.

  1. Severe fortran error with the descriptions

forrtl: severe (24): end-of-file during read, unit 5, file CONIN$
AUT2.exe 000000014019685F Unknown Unknown Unknown
AUT2.exe 0000000140191F63 Unknown Unknown Unknown
AUT2.exe 000000014015034F Unknown Unknown Unknown
AUT2.exe 0000000140132938 Unknown Unknown Unknown
AUT2.exe 0000000140131572 Unknown Unknown Unknown
AUT2.exe 000000014010454D Unknown Unknown Unknown
AUT2.exe 00000001400D69F6 MAIN__ 249 t2m.f
AUT2.exe 0000000140199B8C Unknown Unknown Unknown
AUT2.exe 000000014017F8EF Unknown Unknown Unknown
KERNEL32.DLL 00007FFFA29E7034 Unknown Unknown Unknown
ntdll.dll 00007FFFA3662651 Unknown Unknown Unknown

  1. The listing file is unable to read the Input file name despite using the run method for the t2data object (see below)
    notepad++_HT7fBaGIiU

Code_l6yydsiLrC

If it helps, here is the environment I am currently using.
Python 3.7.11 or 3.8.8
Numpy 1.20.1
Scipy 1.6.2
PyTOUGH 1.5.5

Thank you!

@acroucher
Copy link
Owner

acroucher commented Oct 5, 2021

It looks to me like PyTOUGH is not able to detect the simulator type of the date file, and is probably assuming it is TOUGH2 rather than AUTOUGH2. The command to run TOUGH2 is quite different from the one used to run AUTOUGH2, and it is probably using the wrong one.

When you set up your input file, do you have something in there to set the simulator type?

You may need something like dat.simulator = 'AUTOUGH2.2EW' (if for example you were wanting to use the pure water (EW) EOS). This will set the 'SIMUL' block in the AUTOUGH2 input data file. I suspect your input data file at the moment does not have a SIMUL block.

(Note that when you use the 'simulator' parameter in the t2data run() method, that is just telling it the name of the executable, not the simulator type.)

BTW, it looks like you are running AUTOUGH2 version 1.0, which is extremely old (1997). It might work ok for a simple model, but for anything serious you would be better off using a more recent version.

@quenchlemon
Copy link
Author

Dear Aroucher,

Thank you for responding. Prior to your suggested solution, I only referred the simulator option to the executable since all of the EOS is combined into a single programme for AUTOUGH2. Using the examples as a template, I did not notice any lines of the code to include the simulator type.

When I added the dat.simulator = 'AUTOUGH2.2EW', the code begins to generate a file named model_AUTOUGH2_2.in. The contents of the file is seen below. Additionally, a blank listing file was generated.

notepad++_UUL6x71xTz

When I used dat.simulator='AUT2.2EW', an exception error is generated saying that The system cannot find the file; this, I assume that the line is finding the location of the executable AUTOUGH2 file.

On a side note, it appears that AUTOUGH2 is not compatible with AMD Ryzen processors. Is this resolved in the updated versions?

Thank you.

@cyeh015
Copy link
Collaborator

cyeh015 commented Oct 6, 2021 via email

@quenchlemon
Copy link
Author

quenchlemon commented Oct 6, 2021

Thank you Angus for responding. I have sent you and Adrian an email to your current email address listed on GitHub.

@quenchlemon
Copy link
Author

Hi all,

After receiving the newer version of AUTOUGH2, I reran my codes and it managed to run. Listing file is populated and now I just need to work out a script to generate the required plots.

Thank you for your assistance. I would consider this issue closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants