Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/linear solver #1

Merged
merged 9 commits into from
Nov 29, 2019
Merged

Add/linear solver #1

merged 9 commits into from
Nov 29, 2019

Conversation

victorsndvg
Copy link
Contributor

Basic LinearSolver structure

@codecov-io
Copy link

codecov-io commented Nov 28, 2019

Codecov Report

Merging #1 into master will increase coverage by 11.4%.
The diff coverage is 90.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   79.61%   91.01%   +11.4%     
==========================================
  Files           6        7       +1     
  Lines         103      167      +64     
==========================================
+ Hits           82      152      +70     
+ Misses         21       15       -6
Impacted Files Coverage Δ
src/GridapPETSc.jl 100% <ø> (ø) ⬆️
src/load.jl 95.65% <100%> (+1.9%) ⬆️
src/vec.jl 100% <100%> (ø) ⬆️
src/mat.jl 100% <100%> (+35%) ⬆️
src/ksp.jl 84.61% <80%> (-1.1%) ⬇️
src/init.jl 85% <83.33%> (+16.25%) ⬆️
src/LinearSolver.jl 87.87% <87.87%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a72622e...935bc01. Read the comment docs.

@victorsndvg victorsndvg merged commit 9d74de2 into master Nov 29, 2019
amartinhuertas added a commit that referenced this pull request Nov 13, 2021
(base) amartin@sistemas-ThinkPad-X1-Carbon-6th:~/git-repos/GridapPETSc.jl$ julia --project=. test/sequential/PETScAssemblyTests.jl
[0] PetscDetermineInitialFPTrap(): Floating point trapping is off by default 0
[0] PetscInitialize(): PETSc successfully started: number of processors = 1
[0] PetscGetHostName(): Rejecting domainname, likely is NIS sistemas-ThinkPad-X1-Carbon-6th.(none)
[0] PetscInitialize(): Running on machine: sistemas-ThinkPad-X1-Carbon-6th
[0] PetscCommDuplicate(): Duplicating a communicator 140230383909504 25901472 max tags = 2147483647
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: nnz cannot be greater than row length: local row 0 value 5 rowlength 3
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.15.4, Sep 01, 2021
[0]PETSC ERROR: GridapPETSc on a x86_64 named sistemas-ThinkPad-X1-Carbon-6th by amartin Fri Nov 12 23:58:38 2021
[0]PETSC ERROR: Configure options --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 -with-blaslapack-dir=/opt/intel/compilers_and_libraries_2020.0.166/linux/mkl --download-mumps --download-scalapack --download-parmetis --download-metis --download-ptscotch --with-debugging --with-x=0 --with-shared-libraries=1 --with-mpi=1 --with-64-bit-indices
[0]PETSC ERROR: #1 MatSeqAIJSetPreallocation_SeqAIJ() at /home/amartin/software_installers/petsc-3.15.4-build-dbg-gnu9-mpi/src/mat/impls/aij/seq/aij.c:4101
[0]PETSC ERROR: #2 MatCreateSeqAIJ() at /home/amartin/software_installers/petsc-3.15.4-build-dbg-gnu9-mpi/src/mat/impls/aij/seq/aij.c:4015
ERROR: LoadError: Petsc returned with error code: 63
Stacktrace:
 [1] macro expansion
   @ ~/git-repos/GridapPETSc.jl/src/Config.jl:88 [inlined]
 [2] nz_allocation(a::GridapPETSc.MatCounter{Gridap.Algebra.Loop})
   @ GridapPETSc ~/git-repos/GridapPETSc.jl/src/PETScAssembly.jl:178
 [3] (::Main.PETScAssemblyTests.var"#1#2")()
   @ Main.PETScAssemblyTests ~/git-repos/GridapPETSc.jl/test/sequential/PETScAssemblyTests.jl:28
 [4] with(f::Main.PETScAssemblyTests.var"#1#2"; kwargs::Base.Iterators.Pairs{Symbol, Vector{SubString{String}}, Tuple{Symbol}, NamedTuple{(:args,), Tuple{Vector{SubString{String}}}}})
   @ GridapPETSc ~/git-repos/GridapPETSc.jl/src/Environment.jl:38
 [5] top-level scope
   @ ~/git-repos/GridapPETSc.jl/test/sequential/PETScAssemblyTests.jl:14
in expression starting at /home/amartin/git-repos/GridapPETSc.jl/test/sequential/PETScAssemblyTests.jl:1
[0] PetscFinalize(): PetscFinalize() called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants