Satish Balay wrote: > Send us the corresponding configure.log to petsc-maint at mcs.anl.gov > > Satish > > On Thu, 25 Jun 2009, Yixun Liu wrote: > > >> I recompile PETSc using the following commands, >> >> petsc-3.0.0-p0>setenv PETSC_DIR $PWD >> >>> ./config/configure.py >>> >> ================================================================================= >> Configuring PETSc to compile on your system >> ================================================================================= >> /home/scratch/yixun/petsc-3.0.0-p3/config/BuildSystem/config/compilers.py:7: >> DeprecationWarning: the sets module is deprecated >> import sets >> /home/scratch/yixun/petsc-3.0.0-p3/config/PETSc/package.py:7: >> DeprecationWarning: the md5 module is deprecated; use hashlib instead >> import md5 >> /home/scratch/yixun/petsc-3.0.0-p3/config/BuildSystem/script.py:101: >> DeprecationWarning: The popen2 module is deprecated. Use the subprocess >> module. >> import popen2 >> TESTING: checkCCompiler from >> config.setCompilers(config/BuildSystem/config/setCompilers.py:394) >> ********************************************************************************* >> UNABLE to EXECUTE BINARIES for config/configure.py >> --------------------------------------------------------------------------------------- >> Cannot run executables created with C. It is likely that you will need >> to configure using --with-batch which allows configuration without >> interactive sessions. >> ********************************************************************************* >> >> >> Satish Balay wrote: >> >>> Also make sure 'mpiexec' you are using corresponds to the MPI petsc is >>> built with. >>> >>> Satish >>> >>> >>> On Thu, 25 Jun 2009, Barry Smith wrote: >>> >>> >>> >>>> 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 >>>>> >>>>> >>>>> >>>>> >>> >>> >> > >
-------------- next part -------------- A non-text attachment was scrubbed... Name: configure.log Type: text/x-log Size: 39587 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090625/ef149c2c/attachment-0001.bin>