0

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

null
    • Senior Geothermal Scientist - Vatnaskil Consulting Engineers
    • Andri_Arnaldsson
    • 8 yrs ago
    • Reported - view

    Good to hear, and good luck!

    • Finsterle GeoConsulting
    • Stefan_Finsterle
    • 8 yrs ago
    • Reported - view

    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

    • Geothermal reservoir engineer at Mercury NZ Ltd.
    • Manuel_Rivera
    • 7 yrs ago
    • Reported - view

    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 directory

     

    A 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.

    • Finsterle GeoConsulting
    • Stefan_Finsterle
    • 7 yrs ago
    • Reported - view

    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

    • Geothermal reservoir engineer at Mercury NZ Ltd.
    • Manuel_Rivera
    • 7 yrs ago
    • Reported - view

    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.

    • Finsterle GeoConsulting
    • Stefan_Finsterle
    • 7 yrs ago
    • Reported - view

    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

    • Geothermal reservoir engineer at Mercury NZ Ltd.
    • Manuel_Rivera
    • 7 yrs ago
    • Reported - view

    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!

    • Shirin_Samani
    • 5 yrs ago
    • Reported - view

    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. 

    • yqzhang
    • 5 yrs ago
    • Reported - view

    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

      • Shirin_Samani
      • 5 yrs ago
      • Reported - view

      Yingqi Zhang  thanks for your answer. I see the model runs for 1e-9 sec, but I got confused why all the other numbers are zero. For example, model computation, calculation time, and input time are zero.  

      • yqzhang
      • 5 yrs ago
      • Reported - view

      Shirin This is a very small problem, and with today's fast computer it hardly takes time for reading input and model computation etc.

      Yingqi

Content aside

  • 5 yrs agoLast active
  • 36Replies
  • 3737Views
  • 10 Following