[petsc-users] PetscInitialize take various time to run on different node

Matthew Knepley knepley at gmail.com
Mon Aug 19 17:41:59 CDT 2019


On Mon, Aug 19, 2019 at 4:49 PM Kun Jiao via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Hi,
>
>
>
> I am running into a problem, different node/process take different time to
> run petscinitialize. The difference could be 5~10mins.
>

This sounds like an MPI installation error. I would consult your sysadmin.

  Thanks,

     Matt


> I put some check before petscinitialize, and after petscinitialize.
>
>
>
>     MPI_Init(argc, args);
>
>
>
>     int rank;
>
>     MPI_Comm_rank(MPI_COMM_WORLD, &rank );
>
>
>
>     std::cout << "I am here :"<< rank << "!!!!" << std::endl;
>
>
>
>     PetscErrorCode ierr = PetscInitialize(&argc, &args, (char*)0, *help*);
>
>
>
>     std::cout << "You am here 2:"<< rank << "!!!!" << std::endl;
>
>
>
>
>
> “I am here” message was printout for every process, but not “You are here
> 2” message.
>
>
>
> Very strange.
>
>
>
> Any suggestion is appreciated.
>
>
> Regards,
>
> Kun
>
>
>
> Schlumberger-Private
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190819/4fbc6637/attachment.html>


More information about the petsc-users mailing list