[petsc-dev] [petsc-checkbuilds] PETSc blame digest (next) 2018-03-10
Smith, Barry F.
bsmith at mcs.anl.gov
Sat Mar 10 10:16:07 CST 2018
Siegried,
You need to do a build with --with-clanguage=cxx --with-scalar-type=complex and fix all the errors that come.
Barry
> On Mar 10, 2018, at 9:00 AM, PETSc checkBuilds <petsc-checkbuilds at mcs.anl.gov> wrote:
>
>
>
> Dear PETSc developer,
>
> This email contains listings of contributions attributed to you by
> `git blame` that caused compiler errors or warnings in PETSc automated
> testing. Follow the links to see the full log files. Please attempt to fix
> the issues promptly or let us know at petsc-dev at mcs.anl.gov if you are unable
> to resolve the issues.
>
> Thanks,
> The PETSc development team
>
> ----
>
> warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/3a02854
> Add p(l)-CG KSP solver: pipelined Conjugate Gradient with deep pipelines
>
> src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-osx-10.6-cxx-cmplx-pkgs-dbg_ipro.log]
> /Users/petsc/petsc.next-3/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233:40: error: invalid operands to binary expression ('complex<double>' and 'int')
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-linux-cmplx-single_steamroller.log]
> /sandbox/petsc/petsc.next-3/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233:40: error: invalid operands to binary < (have 'PetscScalar' and 'int')
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
> /sandbox/petsc/petsc.next-2/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233:40: error: invalid operands to binary expression ('complex<double>' and 'int')
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-linux-gcc-ifc-cmplx_crank.log]
> /sandbox/petsc/petsc.next-2/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233:40: error: invalid operands to binary < (have 'PetscScalar' and 'int')
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-linux-cmplx-gcov_steamroller.log]
> /sandbox/petsc/petsc.next-2/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233:40: error: no match for 'operator<' (operand types are 'std::complex<double>' and 'int')
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-freebsd-cxx-cmplx-pkgs-dbg_wii.log]
> /usr/home/balay/petsc.next/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:233:40: error: no match for 'operator<' (operand types are 'std::complex<double>' and 'int')
>
> src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:343
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-osx-10.6-cxx-cmplx-pkgs-dbg_ipro.log]
> /Users/petsc/petsc.next-3/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:343:22: error: assigning to 'PetscReal' (aka 'double') from incompatible type 'PetscScalar' (aka 'complex<double>')
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-linux-cmplx-gcov_steamroller.log]
> /sandbox/petsc/petsc.next-2/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:343:20: error: cannot convert 'PetscScalar {aka std::complex<double>}' to 'PetscReal {aka double}' in assignment
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-freebsd-cxx-cmplx-pkgs-dbg_wii.log]
> /usr/home/balay/petsc.next/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:343:20: error: cannot convert 'PetscScalar {aka std::complex<double>}' to 'PetscReal {aka double}' in assignment
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
> /sandbox/petsc/petsc.next-2/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:343:22: error: assigning to 'PetscReal' (aka 'double') from incompatible type 'PetscScalar' (aka 'complex<double>')
>
> src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:358
> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/10/build_next_arch-osx-10.6-cxx-cmplx-pkgs-dbg_ipro.log]
> /Users/petsc/petsc.next-3/src/ksp/ksp/impls/cg/pipelcg/pipelcg.c:358:22: error: no matching function for call to 'fabs'
>
> ----
> To opt-out from receiving these messages - send a request to petsc-dev at mcs.anl.gov.
More information about the petsc-dev
mailing list