| 316 |
|
if (vdef(TIME)) /* reset end time */ |
| 317 |
|
endtime = starttime + vflt(TIME)*3600. + .5; |
| 318 |
|
if (vdef(RIF)) { /* rerun rad to update octree */ |
| 319 |
< |
sprintf(combuf, "rad -v 0 -s -w %s", vval(RIF)); |
| 319 |
> |
sprintf(combuf, "rad -v 0 -s -w -N %d %s", |
| 320 |
> |
ncprocs, vval(RIF)); |
| 321 |
|
if (system(combuf)) |
| 322 |
|
error(WARNING, "error running rad"); |
| 323 |
|
} |
| 347 |
|
mktemp(tf1); |
| 348 |
|
sprintf(tf2, "%s.rif", tf1); |
| 349 |
|
sprintf(combuf, |
| 350 |
< |
"rad -v 0 -s -e -w %s OPTFILE=%s | egrep '^[ \t]*(NOMATCH", |
| 351 |
< |
vval(RIF), tf1); |
| 350 |
> |
"rad -v 0 -s -e -w -N %d %s OPTFILE=%s | egrep '^[ \t]*(NOMATCH", |
| 351 |
> |
ncprocs, vval(RIF), tf1); |
| 352 |
|
cp = combuf; |
| 353 |
|
while (*cp){ |
| 354 |
|
if (*cp == '|') pippt = cp; |