forked from Reference-ScaLAPACK/scalapack
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve merge conflicts related to 4.1 release.
- Loading branch information
Showing
223 changed files
with
14,022 additions
and
4,261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
############################################################################### | ||
Guidelines to enable logging and tracing in ScaLAPACK library | ||
############################################################################### | ||
|
||
Following are the steps to enable Trace and Log. | ||
|
||
1. Open header file "aocl-scalapack/AOCL_DTL/aocldtlcf.h" | ||
i. Enable Trace by making the following macro as 1 : | ||
#define AOCL_DTL_TRACE_ENABLE 1 | ||
ii. Enable Log by making the following macro as 1 : | ||
#define AOCL_DTL_LOG_ENABLE 1 | ||
|
||
2. After Step 1, configure the cmake with -DENABLE_DTL=ON config option to enable AOCL DTL feature. | ||
For Example: cmake .. -DBUILD_SHARED_LIBS=OFF -DBLAS_LIBRARIES="-fopenmp <blis_lib_path>libblis-mt.a" -DLAPACK_LIBRARIES=<libflame_lib_path>/libflame.a -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 -DUSE_OPTIMIZED_LAPACK_BLAS=OFF -DENABLE_DTL=ON | ||
|
||
3. Currently the DTL is supported only for the LU factorization API 'pdgetrf'. | ||
|
||
4. After the ScaLAPACK test suite is built (Refer the latest AOCL-userGuide for the build steps), execute the LU test application (with command: "mpirun ./xdlu" ) to get the DTL trace, log files. | ||
For Example: "P31243_T31243_aocldtl_trace.txt" and "P31243_T31243_aocldtl_log.txt". | ||
############################################################################### | ||
Guidelines to enable logging and tracing in ScaLAPACK library | ||
############################################################################### | ||
|
||
Following are the steps to enable Trace and Log. | ||
|
||
1. Open header file "aocl-scalapack/AOCL_DTL/aocldtlcf.h" | ||
i. Enable Trace by making the following macro as 1 : | ||
#define AOCL_DTL_TRACE_ENABLE 1 | ||
ii. Enable Log by making the following macro as 1 : | ||
#define AOCL_DTL_LOG_ENABLE 1 | ||
|
||
2. After Step 1, configure the cmake with -DENABLE_DTL=ON config option to enable AOCL DTL feature. | ||
For Example: cmake .. -DBUILD_SHARED_LIBS=OFF -DBLAS_LIBRARIES="-fopenmp <blis_lib_path>libblis-mt.a" -DLAPACK_LIBRARIES=<libflame_lib_path>/libflame.a -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 -DUSE_OPTIMIZED_LAPACK_BLAS=OFF -DENABLE_DTL=ON | ||
|
||
3. Currently the DTL is supported only for the LU factorization API 'pdgetrf'. | ||
|
||
4. After the ScaLAPACK test suite is built (Refer the latest AOCL-userGuide for the build steps), execute the LU test application (with command: "mpirun ./xdlu" ) to get the DTL trace, log files. | ||
For Example: "P31243_T31243_aocldtl_trace.txt" and "P31243_T31243_aocldtl_log.txt". |
Oops, something went wrong.