[petsc-dev] BG hang still broken in petsc-maint!

Jed Brown jedbrown at mcs.anl.gov
Wed Dec 18 17:38:56 CST 2013


Barry Smith <bsmith at mcs.anl.gov> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131218/ea6567db/attachment.sig>


More information about the petsc-dev mailing list