1

TOUGH3 installation issue

I realized many people have difficulty in compilation of TOUGH3. After polishing the installation cmake scripts and reorganizing the installation package, compilation of TOUGH3 should be more easy, stable and fast. Attached are the introduction, updated cmake scripts, additional required files.

33 replies

null
    • Yogendra_Narayanan_Sures
    • 1 mth ago
    • Reported - view

    Hi, I was trying to install tough3 ECO2N during which I encountered the error as shown in the image. What is the way to rectify it? I have also replaced and copied the additional files. Kindly help me in this regard.

      • Yogendra_Narayanan_Sures
      • 3 wk ago
      • Reported - view

       Thank you for the files. I tried with the attached files and encountered an error as attached. When I went through the above CMakeLists file in esd-tough3, the nesting seemed to be fine. Can you check it once? Thanks in advance.

      • kenny
      • 3 wk ago
      • Reported - view

       I made the changes based on Cmaketough3.txt you provided.  It seems Cmaketough3.txt is not from  v1.1. ( difference in this section). make it same as the one in v1.1 for this section or copy my changes in  Cmaketough3.txt to replace the corresponding section in v1.1

      Cmake tough3.txt

      • Yogendra_Narayanan_Sures
      • 2 wk ago
      • Reported - view

       Thanks for pointing out. I copied the changes made by you in the cmake file of V1.1 but still the error (screenshot is persisting). I have attached the cmake file also for your reference. Your help will be much appreciated. Thank you in advance.

      • Yogendra_Narayanan_Sures
      • 2 wk ago
      • Reported - view

       Neglect the earlier message. I was able to successfully solve the error. However, moving forward, I got stuck in another error which I have attached. How to overcome this error? Thanks in advance.

      • kenny
      • 2 wk ago
      • Reported - view

       The missing functions are all from BLAS and APACK. You do not have BLAS and LAPACK installed on your computer. You may install them by adding --download-fblaslapack during configure of PETSC (you need reinstall PETSC. PETSC also needs these functions

      • Yogendra_Narayanan_Sures
      • 2 wk ago
      • Reported - view

       I tried to reinstall the petsc with blas and lapack. But, now I am facing the error as attached. How it can be rectified? Thanks in advance.

      • kenny
      • 2 wk ago
      • Reported - view

       You did not follow the introduction by installing petsc separately.

      • TOUGHREACT Developer
      • Eric_Sonnenthal
      • 2 wk ago
      • Reported - view

      If that doesn't work, then try just using Intel OneAPI Fortran to compile everything (petsc, TOUGH3, etc.) Recent updates to gfortran make it very difficult to use with Petsc and the TOUGH-based codes. 

Content aside

  • 1 Likes
  • 2 wk agoLast active
  • 33Replies
  • 501Views
  • 6 Following