PetscValidHeaderSpecific()

(Rebecca) Xuefei YUAN xy2102 at columbia.edu
Fri Jan 9 06:54:16 CST 2009


I installed ubuntu, and there is no problem running under it.

Thanks a lot!

Rebecca



Quoting Barry Smith <bsmith at mcs.anl.gov>:

>
>   If you send your code (and makefile and any data it needs) to
> petsc-maint at mcs.anl.gov and how to run it; we'll run it in
> valgrind.
>
>    Frankly cygwin is a terrible system for source code development. It
> is really worth your effort to make
> your machine dual boot and install linux also; the time you spend
> getting linux going will be far more than
> gained by the improvement in development time and frustration.
>
>    Barry
>
> If other people need to run your code on Windows, you can still do the
> development on Linux and only build
> on cygwin when it is very stable.
>
> On Jan 6, 2009, at 6:28 PM, (Rebecca) Xuefei YUAN wrote:
>
>> There is no message coming out when I run with -malloc_debug. I am   
>> using cygwin, any suggestions on that?
>>
>> Thanks!
>>
>> Rebecca
>>
>> Quoting Barry Smith <bsmith at mcs.anl.gov>:
>>
>>>
>>>  The most likely cause is memory corruption. The best way to solve
>>> this problem is to run on linux using
>>> valgrind (valgrind.org), the second best is to run with -malloc_debug
>>> and see if any messages come out
>>>
>>>  Barry
>>>
>>> On Jan 6, 2009, at 4:44 PM, (Rebecca) Xuefei YUAN wrote:
>>>
>>>> Hi,
>>>>
>>>> I did have error information as at the end of this email, and I    
>>>> found the error was a function called PetscValidHeaderSpecific(),  
>>>>   is there anything wrong with it?
>>>>
>>>> Thanks a lot!
>>>>
>>>> R
>>>>
>>>> [0]PETSC ERROR: Invalid argument!
>>>> [0]PETSC ERROR: Wrong type of object: Parameter # 1!
>>>> [0]PETSC ERROR: ----------------------------------------
>>>> [0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 0, Fri Dec 19   
>>>>  22:02:38 CST 2008
>>>> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
>>>> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>>>> [0]PETSC ERROR: See docs/index.html for manual pages.
>>>> [0]PETSC ERROR: ----------------------------------------
>>>> [0]PETSC ERROR: ./oreggt on a cygwin-c- named YUAN_WORK by   
>>>> Rebecca  Tue Jan 6 17:29:59 2009
>>>> [0]PETSC ERROR: Libraries linked from    
>>>> /home/Rebecca/soft/petsc-3.0.0-p0/cygwin-c-debug/lib
>>>> [0]PETSC ERROR: Configure run at Mon Jan 5 13:50:14 2009
>>>> [0]PETSC ERROR: Configure options --with-cc=gcc    
>>>> --download-f-blas-lapack=1 --download-mpich=1 --useThreads=0    
>>>> --with-shared=0
>>>> [0]PETSC ERROR: ----------------------------------------
>>>> [0]PETSC ERROR: MatDestroy() line 766 in src/mat/interface/matrix.c
>>>> [0]PETSC ERROR: PCDestroy() line 88 in src/ksp/pc/interface/precon.c
>>>> [0]PETSC ERROR: KSPDestroy() line 647 in src/ksp/ksp/interface/itfun.c
>>>> [0]PETSC ERROR: SNESDestroy() line 1378 in src/snes/interface/snes.c
>>>> [0]PETSC ERROR: PetscObjectDestroy() line 172 in src/sys/objects/destroy.c
>>>> [0]PETSC ERROR: DMMGDestroy() line 220 in src/snes/utils/damg.c
>>>> [0]PETSC ERROR: main() line 55 in oreggt.c
>>>> application called MPI_Abort(MPI_COMM_WORLD,62) - process   
>>>> 0[unset]:  aborting job:
>>>> application called MPI_Abort(MPI_COMM_WORLD,62) - process 0
>>>>
>>>>
>>
>>
>>
>> -- 
>> (Rebecca) Xuefei YUAN
>> Department of Applied Physics and Applied Mathematics
>> Columbia University
>> Tel:917-399-8032
>> www.columbia.edu/~xy2102
>>



-- 
(Rebecca) Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University
Tel:917-399-8032
www.columbia.edu/~xy2102




More information about the petsc-users mailing list