Skip to content

Commit

Permalink
Loki: Remove de-vectorised SCA variant
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 committed Jan 18, 2025
1 parent 7e238eb commit 5c058c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 62 deletions.
1 change: 0 additions & 1 deletion .github/scripts/verify-targets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ fi

if [[ "$build_flags" == *"--with-loki"* ]]
then
targets+=(dwarf-cloudsc-loki-idem dwarf-cloudsc-loki-sca)
targets+=(dwarf-cloudsc-loki-scc dwarf-cloudsc-loki-scc-hoist)
targets+=(dwarf-cloudsc-loki-idem-stack dwarf-cloudsc-loki-scc-stack)
if [[ "$build_flags" != *"--single-precision"* ]]
Expand Down
61 changes: 0 additions & 61 deletions src/cloudsc_loki/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,67 +186,6 @@ if( HAVE_CLOUDSC_LOKI )
)


####################################################
## SCA mode (Single Column Abstraction): ##
## * Extract de-vectorized SCA format code ##
####################################################

loki_transform(
COMMAND convert
OUTPUT
loki-sca/cloudsc.sca.F90
loki-sca/cloudsc_driver_loki_mod.sca.F90
BUILDDIR ${CMAKE_CURRENT_BINARY_DIR}/loki-sca
DEPENDS
cloudsc.F90
cloudsc_driver_loki_mod.F90
${_OMNI_DEPENDENCIES}
MODE sca
CONFIG ${CMAKE_CURRENT_SOURCE_DIR}/cloudsc_loki.config
CPP
FRONTEND ${LOKI_FRONTEND}
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}
${COMMON_MODULE}
INCLUDES
${COMMON_INCLUDE}
XMOD
${_TARGET_XMOD_DIR}
${XMOD_DIR}
)

ecbuild_add_executable( TARGET dwarf-cloudsc-loki-sca
SOURCES
dwarf_cloudsc.F90
loki-sca/cloudsc_driver_loki_mod.sca.F90
loki-sca/cloudsc.sca.F90
LIBS
cloudsc-common-lib
DEFINITIONS ${CLOUDSC_DEFINITIONS}
)
# Set specific module directory to avoid aliasing of .mod files
set_target_properties( dwarf-cloudsc-loki-sca
PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/loki-sca
)

ecbuild_add_test(
TARGET dwarf-cloudsc-loki-sca-serial
COMMAND bin/dwarf-cloudsc-loki-sca
ARGS 1 100 16
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../..
OMP 1
)
ecbuild_add_test(
TARGET dwarf-cloudsc-loki-sca-mpi
COMMAND bin/dwarf-cloudsc-loki-sca
ARGS 1 100 16
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../..
MPI 2
OMP 1
CONDITION HAVE_MPI
)


####################################################
## "Single Column Coalesced" (SCC) mode ##
## * Removes horizontal vector loops ##
Expand Down

0 comments on commit 5c058c8

Please sign in to comment.