Hello World: PFLOTRAN on TACC
This is a user guide for installing PFLOTRAN 6.0.1 on TACC systems. While you can do a completely detached install, this is kind of a waste because TACC already has the lmod system to provide all the dependencies. This is written in the context of Frontera, but should apply to all TACC systems.
Clear your modules
module load intel/23.1.0 2) impi/21.9.0 3) petsc/3.21 4) phdf5/1.14.4
3. For whatever reason, TACC chooses to export the libs and includes into $TACC_HDF5..$ instead of $HDF5…$. You have to pass these into make into the command line. In addition, for some reason the TACC’s version of petsc is configured for HDF without fortran bindings, and the version configured for Fortran uses a version of HDF without fortran bindings. PFLOTRAN needs petsc built with HDF-fortran, so you have to add this to the lib flags: HDF5_LIB=$TACC_HDF5_LIB -lhdf5_hl_fortran.