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

Kun Jiao KJiao at slb.com
Mon Aug 19 15:49:28 CDT 2019


Hi,

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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190819/f1f0b38b/attachment.html>


More information about the petsc-users mailing list