Skip to content

Commit

Permalink
Remove return code checking, following the Slurm API
Browse files Browse the repository at this point in the history
  • Loading branch information
The9Cat committed Sep 26, 2023
1 parent 24c14dc commit 83a4ed2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/expand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,7 @@ main(int argc, char** argv)
//=====================
#ifdef HAVE_LIBSLURM
#if SLURM_VERSION_NUMBER > SLURM_VERSION_NUM(21,10,0)
{
int rc = slurm_init(0);
if (rc != SLURM_SUCCESS)
std::cerr << "EXP [" << myid << "]: error initializing Slurm API: "
<< slurm_strerror(rc) << std::endl;
}
slurm_init(0);
#endif
#endif

Expand Down

0 comments on commit 83a4ed2

Please sign in to comment.