Barry Smith <[email protected]> writes: > I never said “ignore” the files. I said error out if the files > exist or somewhat passes a file name down.
Okay, now they wait in the queue for a week and then the job crashes
first thing. We should be consistent independent of the number of
processes. Error consistently if we must.
> Yes erroring out is a bit annoying but much better than hangs.
Anything is better than hanging.
> I also question why some system calls are made on all processes but only
> used on one, for example
> if (!flag) {
> ierr = PetscGetHomeDirectory(pfile,PETSC_MAX_PATH_LEN-16);CHKERRQ(ierr);
> /* PetscOptionsInsertFile() does a fopen() on rank0 only - so only rank0
> HomeDir value is relavent */
> I think a good policy is to minimize system calls to exactly where and when
> they are needed.
Agreed.
pgp7InWuBhNT2.pgp
Description: PGP signature
