On Tue, Oct 27, 2015 at 9:56 PM, Jianfeng <jianfeng_...@hotmail.com> wrote:

> Hi
>
> I am new to libmesh, so maybe this problem is kind of stupid.
>
> I was compiling libmesh-0.9.4 with the configuration below
>
> ./configure --prefix=/opt/libmesh-master --enable-blocked-storage
> --enable-triangle --enable-tetgen --enable-parmesh --enable-parmetis
> --disable-strict-lgpl --enable-perflog --enable-nodeconstraint
> --enable-unique-id --enable-ifem --enable-tracefiles
> --with-mpi=/opt/mpich2 --enable-petsc PETSC_DIR=/opt/petsc-3.5.4
> --enable-complex
>
> There is no problem in the process of compilation, but when running
> reduved_basis_ex6,  there is some error shown below:
>
> [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [0]PETSC ERROR: Argument out of range
> [0]PETSC ERROR: New nonzero at (0,2) caused a malloc
> Use MatSetOption(A, MAT_NEW_NONZERO_ALLOCATION_ERR, PETSC_FALSE) to turn
> off this check
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting.
> [0]PETSC ERROR: Petsc Release Version 3.5.4, May, 23, 2015
> [0]PETSC ERROR:
>
> /home/yanincha/Downloads/libmesh-master/examples/reduced_basis/reduced_basis_ex6/.libs/lt-example-dbg
> on a arch-linux2-c-opt named dreamline by yanincha Tue Oct 27 22:19:16 2015
> [0]PETSC ERROR: Configure options --prefix=/opt/petsc-3.5.4
> --with-shared-libraries --with-mpi-dir=/opt/mpich2/
> --with-valgrind-dir=/opt/valgrind --with-scalar-type=complex
> --download-fblaslapack --with-debugging=0
> [0]PETSC ERROR: #1 MatSetValues_SeqBAIJ() line 2191 in
> /home/yanincha/Downloads/petsc-3.5.4/src/mat/impls/baij/seq/baij.c
> [0]PETSC ERROR: #2 MatSetValues() line 1135 in
> /home/yanincha/Downloads/petsc-3.5.4/src/mat/interface/matrix.c
>
> Any suggestions to fix it?
>

libmesh-0.9.4 was tagged on Feb 19, 2015, while PETSc 3.5.4 came out in May
23, 2015, so it's actually a nice surprise that this configuration actually
compiles...

I'd try the github master instead, and see if that works...

-- 
John
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to