Revert 63713f01e0 (#2585)
## Motivation
<!-- Explain the purpose of this PR and the goals it aims to achieve. -->
Remove Fortran example due to Palamida scan violation.
## Technical Details
<!-- Explain the changes along with any relevant GitHub links. -->
Revert 63713f01e0.
New test to be added later.
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
@@ -180,50 +180,3 @@ foreach(
|
||||
ENVIRONMENT "${_mpip_${_EXAMPLE}_environment}"
|
||||
)
|
||||
endforeach()
|
||||
|
||||
if(ENABLE_FORTRAN_MPI_CTESTS)
|
||||
set(_fortran_mpip_flat_environment
|
||||
"ROCPROFSYS_FLAT_PROFILE=ON"
|
||||
"ROCPROFSYS_COUT_OUTPUT=ON"
|
||||
"ROCPROFSYS_TIMELINE_PROFILE=OFF"
|
||||
"ROCPROFSYS_COLLAPSE_PROCESSES=ON"
|
||||
"ROCPROFSYS_COLLAPSE_THREADS=ON"
|
||||
"ROCPROFSYS_SAMPLING_FREQ=50"
|
||||
"ROCPROFSYS_TIMEMORY_COMPONENTS=wall_clock,trip_count"
|
||||
"${_mpip_environment}"
|
||||
)
|
||||
|
||||
if(ROCPROFSYS_USE_MPI)
|
||||
set(MPI_FORTRAN_REWRITE_RUN_REGEX
|
||||
">>> MPI_Init(.*\n.*)>>> MPI_Send(.*\n.*)>>> MPI_Recv(.*\n.*)>>> MPI_Comm_size(.*\n.*)>>> MPI_Comm_rank(.*\n.*)"
|
||||
)
|
||||
else()
|
||||
set(MPI_FORTRAN_REWRITE_RUN_REGEX
|
||||
">>> PMPI_Init(.*\n.*)>>> PMPI_Send(.*\n.*)>>> PMPI_Recv(.*\n.*)>>> PMPI_Comm_size(.*\n.*)>>> PMPI_Comm_rank(.*\n.*)"
|
||||
)
|
||||
endif()
|
||||
|
||||
foreach(_FORTRAN_EXAMPLE intervals)
|
||||
rocprofiler_systems_add_test(
|
||||
SKIP_RUNTIME
|
||||
NAME "mpi-fortran-${_FORTRAN_EXAMPLE}"
|
||||
TARGET mpi-fortran-${_FORTRAN_EXAMPLE}
|
||||
MPI ON
|
||||
NUM_PROCS 2
|
||||
LABELS "mpip;fortran"
|
||||
REWRITE_ARGS
|
||||
-e
|
||||
-v
|
||||
2
|
||||
--label
|
||||
file
|
||||
line
|
||||
args
|
||||
--min-instructions
|
||||
0
|
||||
ENVIRONMENT "${_fortran_mpip_flat_environment}"
|
||||
REWRITE_RUN_PASS_REGEX
|
||||
">>> mpi-fortran-${_FORTRAN_EXAMPLE}.inst(.*\n.*)${MPI_FORTRAN_REWRITE_RUN_REGEX}"
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user