Compiling TOUGH3 on Linux platform (Ubuntu)
Hi everyone,
First of all, I wish a happy new year!
Secondly, I have trouble compiling TOUGH3 on an Ubuntu platform and I am wondering where I could find instructions for compiling TOUGH3 on Ubuntu.
Thank you very much in advance for your help,
Quentin
8 replies
-
Quentin, I just successfully installed UbuntuTerminal on a Windows 10 machine and compiled TOUGH3. I have some readme files that I would like to send you. Can you send me your email address so I can send them to you to test? We can post the readme files on the website if you find them useful. Thanks. -Curt cmoldenburg@lbl.gov
-
Dear Yu,
Please give a try to what I describe in the attached. Your Linux may be different from the Ubuntu Terminal I installed, but it may also be that the same steps will work for both. Note that some errors and warnings do arise during the long installation processes described in the README attached, and that my machine took probably two hours to install all of this stuff while I sat by and monitored its responses. So be patient. Let me know how it goes.
-
Hi Quentin,
I am struggling the same issue. Did you get Tough3 installed on your Ubuntu?
thanks,
Alborz
-
Alborz,
This is in the readme_ubuntu_terminal3 document, and this particular text block came from Quentin:
If compilation fails with script error, “Failed to build TOUGH TPLS”,
Go to the directory esd-toughlib/tpls
Type vi TPLversions.cmake to edit the file
Look for a line that says set(PETSC_VERSION_PATCH 6)
Change 6 for a 4
Save
-
dear Curt,
thanks, it is solved but I ran in to another errors which are:
Function ‘parallel_irecv_cv’ at (1) has no IMPLICIT type
Function ‘parallel_isend_cv’ at (1) has no IMPLICIT type
what should I do now?
thanks,
Alborz