Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 817735ef authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Error/warn when enabling simulation in chameleon doesn't match simgrid support in starpu

parent f70a60af
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
#include <stdlib.h> #include <stdlib.h>
#include "runtime/starpu/include/morse_starpu.h" #include "runtime/starpu/include/morse_starpu.h"
#if defined(CHAMELEON_SIMULATION)
# ifndef STARPU_SIMGRID
# error "Starpu was not built with simgrid support (--enable-simgrid). Can not run Chameleon with simulation support."
# endif
#else
# ifdef STARPU_SIMGRID
# warning "Starpu was built with simgrid support. Better build Chameleon with simulation support (-DCHAMELEON_SIMULATION=YES)."
# endif
#endif
/******************************************************************************* /*******************************************************************************
* Thread rank. * Thread rank.
**/ **/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment