소스 검색

Revert part of 4374: a test explicitly needs EINVAL being returned.

Samuel Thibault 13 년 전
부모
커밋
839862377b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      mpi/starpu_mpi_insert_task.c

+ 2 - 1
mpi/starpu_mpi_insert_task.c

@@ -234,7 +234,8 @@ int starpu_mpi_insert_task(MPI_Comm comm, starpu_codelet *codelet, ...)
 
         if (inconsistent_execute == 1) {
                 if (execute == -1) {
-                        _STARPU_ERROR("Different tasks are owning W data. Needs to specify which one is to execute the codelet, using STARPU_EXECUTE_ON_NODE or STARPU_EXECUTE_ON_DATA\n");
+                        _STARPU_MPI_DEBUG("Different tasks are owning W data. Needs to specify which one is to execute the codelet, using STARPU_EXECUTE_ON_NODE or STARPU_EXECUTE_ON_DATA\n");
+			return -EINVAL;
                 }
                 else {
                         do_execute = (me == execute);