Mentions légales du service

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

fix build without MPI

parent 8598be4a
No related branches found
No related tags found
No related merge requests found
...@@ -52,11 +52,13 @@ static int _tag_mpi_initialized_ = 0; ...@@ -52,11 +52,13 @@ static int _tag_mpi_initialized_ = 0;
#endif #endif
void RUNTIME_user_tag_size(int user_tag_width, int user_tag_sep) { void RUNTIME_user_tag_size(int user_tag_width, int user_tag_sep) {
#if defined(CHAMELEON_USE_MPI)
if (_tag_mpi_initialized_ == 0) { if (_tag_mpi_initialized_ == 0) {
tag_width=user_tag_width; tag_width=user_tag_width;
tag_sep=user_tag_sep; tag_sep=user_tag_sep;
} else } else
morse_error("RUNTIME_user_tag_size", "must be called before creating any Morse descriptor with MORSE_Desc_create(). The tag sizes will not be modified."); morse_error("RUNTIME_user_tag_size", "must be called before creating any Morse descriptor with MORSE_Desc_create(). The tag sizes will not be modified.");
#endif
} }
......
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