[petsc-users] Missing header file in 54f71ec?

Jay J. Billings billingsjj at ornl.gov
Tue Jan 21 13:30:57 CST 2014


Everyone,

I just merged master (54f71ec), compiled it and tried to compile against 
it. It fails with:

/home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h: In 
function ‘PetscErrorCode PetscMemcpy(void*, const void*, size_t)’:
/home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h:1900: 
error: ‘memcpy’ was not declared in this scope
/home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h: In 
function ‘PetscErrorCode PetscMemzero(void*, size_t)’:
/home/jay/programs/petsc-latest_mpich-3.0.1/include/petscsys.h:1949: 
error: ‘memset’ was not declared in this scope

It worked with my build from Friday. I have stdlib and memory on my 
machine, a RHEL6 x86_64 box with gcc-4.4.7. I can probably fix it 
locally by adding the include and circumventing the macros, but I 
thought you guys might want to look into it.

Jay

-- 
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings



More information about the petsc-users mailing list