mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 05:35:37 -04:00
fix rank.ne.0 return code
This commit is contained in:
parent
2cf18e4e82
commit
0a4387ec35
1 changed files with 6 additions and 8 deletions
|
|
@ -131,14 +131,12 @@ void FATR util_checkmpirun_(Integer *ok_out){
|
|||
}
|
||||
}
|
||||
|
||||
if (rank == 0) {
|
||||
if (incompatible) {
|
||||
printf("%d MPI-related incompatibilities were detected!\n", incompatible);
|
||||
*ok_out = (Integer) 0;
|
||||
}else{
|
||||
*ok_out = (Integer) 1;
|
||||
|
||||
}
|
||||
if (incompatible) {
|
||||
if (rank == 0) printf("%d MPI-related incompatibilities were detected!\n", incompatible);
|
||||
*ok_out = (Integer) 0;
|
||||
}else{
|
||||
*ok_out = (Integer) 1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue