Skip to content

Commit

Permalink
Fixed compilation error when batsched is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Mar 15, 2018
1 parent e9f54e9 commit 6211aa3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wrench/services/compute/batch/BatchService.cpp
Expand Up @@ -1556,6 +1556,8 @@ namespace wrench {
*/
void BatchService::run_batsched() {

#ifdef ENABLE_BATSCHED

this->pid = getpid();

int top_pid = fork();
Expand Down Expand Up @@ -1635,6 +1637,7 @@ namespace wrench {
"Error while fork-exec of batsched"
);
}
#endif
}


Expand Down

0 comments on commit 6211aa3

Please sign in to comment.