ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rtmain.c
(Generate patch)

Comparing ray/src/rt/rtmain.c (file contents):
Revision 2.33 by greg, Mon Apr 6 21:09:07 2020 UTC vs.
Revision 2.34 by greg, Wed Apr 8 00:57:39 2020 UTC

# Line 251 | Line 251 | main(int  argc, char  *argv[])
251                          goto badopt;
252                  }
253          }
254 <        if (nproc > 1) {
255 <                if (persist)
256 <                        error(USER, "multiprocessing incompatible with persist file");
257 <                if (!vresolu && hresolu > 0 && hresolu < nproc)
258 <                        error(WARNING, "number of cores should not exceed horizontal resolution");
259 <                if (trace != NULL)
260 <                        error(WARNING, "multiprocessing does not work properly with trace mode");
261 <        }
254 >        if (nproc > 1 && persist)
255 >                error(USER, "multiprocessing incompatible with persist file");
256                                          /* initialize object types */
257          initotypes();
258                                          /* initialize urand */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines