Commit d5d23171 authored by Antoine Jego's avatar Antoine Jego
Browse files

copied from qrm

parent 44372885
......@@ -127,6 +127,27 @@ if(ENABLE_STARPU)
endif()
endif()
find_path(STARPU_F_MOD_FOUND fstarpu_mod.f90
HINTS ${STARPU_INCLUDE_DIRS} )
set(STARPU_F_MOD "${STARPU_F_MOD_FOUND}/fstarpu_mod.f90")
set(STARPU_F_MOD "${STARPU_FORTRAN_MOD}")
set(STARPU_F_MOD_FOUND TRUE)
find_path(STARPU_F_MPI_MOD_FOUND fstarpu_mpi_mod.f90
HINTS ${STARPU_INCLUDE_DIRS} )
set(STARPU_F_MPI_MOD "${STARPU_F_MPI_MOD_FOUND}/fstarpu_mpi_mod.f90")
include_directories(${STARPU_INCLUDE_DIRS})
add_custom_command(
OUTPUT modules/fstarpu_mod.f90
COMMAND cp ${STARPU_F_MOD} fstarpu_mod.f90
DEPENDS ${STARPU_F_MOD}
)
add_custom_command(
OUTPUT modules/fstarpu_mpi_mod.f90
COMMAND cp ${STARPU_F_MPI_MOD} fstarpu_mpi_mod.f90
DEPENDS ${STARPU_F_MPI_MOD}
)
target_link_libraries( starpu_example_dgemm PUBLIC MORSE::LAPACKE )
target_link_libraries( starpu_example_dgemm PUBLIC MORSE::CBLAS )
target_link_libraries( starpu_example_dgemm PUBLIC MORSE::M )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment