Problem installing petsc on a Blue Gene/L

Shi Jin jinzishuai at yahoo.com
Tue Dec 30 22:47:37 CST 2008


> Yes- preserving conftest.c would be useful. Currently
> I've managed to
> grab this code by introducing a compile bug into the
> generated code,
> and then looking at configure.log [since the compile fails
> - configure
> spits out the code into configure.log]
> 
> For eg: - the following change will do this..
> asterix:/home/balay/tmp/petsc-3.0.0-p0>hg diff
> diff -r 91983f07319f
> config/BuildSystem/config/packages/MPI.py
> --- a/config/BuildSystem/config/packages/MPI.py Tue Dec 30
> 00:49:45 2008 -0600
> +++ b/config/BuildSystem/config/packages/MPI.py Tue Dec 30
> 00:50:01 2008 -0600
> @@ -233,7 +233,7 @@
>            self.framework.addBatchBody('''
>  {
>    MPI_Aint size;
> -  int ierr = MPI_Type_extent(%s, &size);
> +  int ierr = MPI_Type_extent(%s, &size)
>    if(!ierr && (size != 0)) {
>      fprintf(output, " 
> \'--have-mpi-%s=1\',\\n");
>    } else {
> asterix:/home/balay/tmp/petsc-3.0.0-p0>
> 
> 
> However it is likely the attached patch will fix this
> problem [it is
> scheduled for the next patch update]
> 
> cd config/BuildSystem
> patch -Np1 < mpi-check-cray.patch
> 
> Satish
> 
Thank you very much. Actually I just used the petsc-dev code and it worked without any problem.  Thank you very much for your help.

By the way, could you please suggest a petsc test case of KSP solver on the Blue Gene? There are many tests coming with PETSc. It would be great if I could just focus on one test.

Thanks again.
Shi


      




More information about the petsc-users mailing list