mpiexec
    Barry Smith 
    bsmith at mcs.anl.gov
       
    Thu Jun 25 13:41:19 CDT 2009
    
    
  
   Did you recompile the MPI libraries? Did you re configure and  
compile ALL of PETSc after the change? You will need to do all this.
    Barry
On Jun 25, 2009, at 1:30 PM, Yixun Liu wrote:
> Hi,
> My PETSc based application can work correctly, but after system  
> updating
> when I use the same commands:
>> lamboot
>> mpiexec -np 4 application
>
> It seems only one processor works. Then I  test it using the  
> following code,
>
> **********
> PetscErrorCode ierr =  
> MPI_Comm_rank(PETSC_COMM_WORLD,&rank);CHKERRQ(ierr);
>
> COUT << "This is processor : " << rank << ENDL;
>
> Use command: mpiexec -np 4 application,
> The output is:
> This is processor : 0
> This is processor : 0
> This is processor : 0
> This is processor : 0
> *********
>
> Thanks for your help.
>
> Yixun
>
>
    
    
More information about the petsc-users
mailing list