The repository can be cloned as follows:
Alternatively, the source files can be downloaded through github menu 'Download ZIP'.
Prerequisites to compile PaScaL_TDMA are as follows:
nvfortran for GPU runs, NVIDIA HPC SDK 21.1 or higher)Change 24.3 to Your SDK version
Add shortcuts (Optional)
Build PaScaL_TDMA
FC = $(MPI)/bin/mpifort in Makefile.incIntel oneAPI Base Toolkit and Intel HPC ToolkitInstall Open MPI
Build PaScaL_TDMA
FC = $(MPI)/bin/mpifort in Makefile.incInstall Intel oneAPI Base Toolkit and Intel HPC Toolkit
Build PaScaL_TDMA
FC = mpiifort in Makefile.incBuild an example problem after build PaScaL_TDMA
Build all
The Makefile in root directory is to compile the source code, and is expected to work for most systems. The 'Makefile.inc' file in the root directory can be used to change the compiler (and MPI wrapper) and a few pre-defined compile options depending on compiler, execution environment and et al.
After building the example file, an executable binary, *.out, is built in the run folder. The PARA_INPUT.inp file in the run folder is a pre-defined input file, and the *.out can be executed as follows:
In the tool folder, there is a Python script gpu_power_monitor.py that can be used to monitor and print real-time GPU power usage with timestamps. To use this script, you will need to install the pynvml library.
src : source files of PaScaL_TDMA 2.0.example : source files of an example problem for 3D heat-transfer equation.include : header files are created after buildinglib : a static library of PaScaL_TDMA 2.0 is are created after buildingdoc : documentationrun : an executable binary file for the example problem is created after building.tool : contains useful scripts and tools.