Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
mini-examples
starpu_example_dgemm
Commits
d5d23171
Commit
d5d23171
authored
Nov 26, 2021
by
Antoine Jego
Browse files
copied from qrm
parent
44372885
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d5d23171
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment