INSTALL OF TOUGH2
I purchased Tough2 software and i want to run it using PC 64, 8 proccesor, but i couldnot, please can any one you help me in running the software and to run an example, I read the instruction given with the software but it is complicated. Please give me the procedure to run it because i am biginner. I have the source code and ECO2N executabile. I need the first step to compile COMPILATION/LINKING/EXECUTION OF TOUGH2. I attache the read me file.
Best Regards
36 replies
-
Good to hear, and good luck!
-
Manuel,
To make it2make work, simply edit file it2make, search for "COM=linux" and add the segment in bold:
elif `uname|grep -i linux >/dev/null` || `uname|grep -i cygwin >/dev/null` ; # # LINUX then COM=linux ; #
Hope this helps.
Stefan
-
Dear Andri and Stefan,
I am having problems using the executable compiled using the above instructions under cygwin.
I run tough2 and get the message shown in figure 1.
Temp folder is created. Contains files invdir, invdir.msg, invdir.out, itough2.fil, itough2.ver, sam1.
The file invdir.msg says this:
=========================================================================
i T O U G H 2 _ 1 R U N date: Thu, Mar 16, 2017 9:32:47 AM
=========================================================================Command submitted: /home/marivera/bin/itough2 -tough2 sam1 1
STOP Error in OPENFILE
***** ERROR *****
* File >>>invdir<<< not found in directory >>>/home/marivera/it2_10172<<<!
***** ERROR *****
cat: invdir.err: No such file or directory
/bin/rm: cannot remove 'invdir.err': No such file or directory
cat: '*99*': No such file or directoryA little bit about my setup:
itough2 home is in /home/marivera/itough2. The sub-folder /Executable contains itough2_1.MARIVERAWS2.
folder /home/marivera/bin contains the scripts itough2 and tough2.
Thanks in advance.
-
Manuel,
I'm puzzled by you actually seeing invdir in the temporary directory. Can you open it?
This may be unrelated, but in case "sam1" is the iTOUGH2 Sample Problem 1, please note that you need to run it with EOS3 (not EOS1), i.e., type:
tough2 sam1 3
Should the not resolve the issue, please send me all files you find in your temporary directory.
Best,
Stefan
-
Stefan,
I do not have EOS3 compiled. But I ran a different example, the 5-spot production-injection problem, which I believe uses EOS1, and the result was the same.
marivera@MARIVERAWS2 ~/Documents $ tough2 sam3 1 ++++++++++++++++++ + iTOUGH2 started: -tough2 sam3 1 ++++++++++++++++++ sed: can't read sam3.out: No such file or directory /bin/mv: cannot stat 'sam3.sav': No such file or directory /bin/rm: cannot remove '*.plo': No such file or directory Temporary directory /home/marivera/it2_8460 not removed! ++++++++++++++++++++ + iTOUGH2 completed: -tough2 sam3 1
I attached the contents of the temporary directory.
-
Hi Manuel,
I cannot reproduce the issue, and I probably do not have access to the (somewhat strange and 8-year old) version you seem to have. Please try one of the following "workarounds" for running iTOUGH2 in forward mode:
(1) Create a dummy iTOUGH2 input file (it could actually be an empty file); call it "forwardi"
(2) Instead of using the tough2 script, use the itough2 script, i.e., type:
itough2 forwardi sam3 1
(3) If this does not work, try using the executable directly (rather than the script), i.e., type:
/home/marivera/itough2/Executable/itough2_1.MARIVERAWS2
Then enter "forwardi" and "sam3" when prompted.
(4) Have you tried an inverse run, i.e.:
itough2 sam3p1i sam3 1
(5) Check read/write/exe permissions and full path to /home/marivera/it2_* and Documents, etc.
That's all I can offer right now.
Stefan
-
Dear Stefan,
Unfortunately none of them worked, but thank you anyway for the help. I am using the license of LaGeo in El Salvador. It is kind of old but is the one we have been using here for a while. I guess I'll stick to linux for running TOUGH2.
Have a nice day!
-
Hi Stefan,
We have purchased the source code, and I see the executable files of different EOS in PC-executable folder.
I used the samples from folder "eos7ca" and run it using "tough3-eos7ca.exe" but it gave me error in processing. It seems that the model runs and finishes at time zero. I copied the screenshot of the results here.
I wonder if the problem is with the input file or it is generated because of the executable file. I need your help with that issue and I am thankful if you could help me. -
Hi Shirin,
I do not see any error here. It seems the input file asks to run 1 time step, which is set to 1.e-9. And that is exactly what the code did.
Please make sure you post your message with correct information to get proper help (e.g., you are running TOUGH3 not TOUGH2).
Thanks
Yingqi