<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Satash -- the file<tt> petsc-dev/include/petscsys.h </tt>contains a
statement<br>
<blockquote><tt>25 #if defined(__cplusplus)</tt><br>
<b><font color="#990000"><tt>26 # define PETSC_FUNCTION_NAME
PETSC_FUNCTION_NAME_CXX</tt></font></b><br>
<tt>27 #else</tt><br>
<tt>28 # define PETSC_FUNCTION_NAME PETSC_FUNCTION_NAME_C</tt><br>
<tt>29 #endif</tt><br>
</blockquote>
I don't see this<font color="#000000"><tt> PETSC_FUNCTION_NAME_CXX </tt></font>declared
anywhere in the source base, and am running into errors of the form<br>
<blockquote><tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:
In function ‘PetscErrorCode PetscMemcpy(void*, const void*,
size_t)’:</tt><br>
<tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1828:
error: ‘PETSC_FUNCTION_NAME_CXX’ was not declared in this scope</tt><br>
<tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1829:
error: ‘PETSC_FUNCTION_NAME_CXX’ was not declared in this scope</tt><br>
<tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1831:
error: ‘PETSC_FUNCTION_NAME_CXX’ was not declared in this scope</tt><br>
<tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1831:
error: ‘PETSC_FUNCTION_NAME_CXX’ was not declared in this scope</tt><br>
<tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscsys.h:1835:
error: ‘PETSC_FUNCTION_NAME_CXX’ was not declared in this scope</tt><br>
</blockquote>
when I build SAMRAI. Can you tell me what is missing?<br>
Thanks,<br>
<br>
Carl Ponder<br>
<br>
<DIV>
<HR>
</DIV>
<DIV>This email message is for the sole use of the intended recipient(s) and may
contain confidential information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message. </DIV>
<DIV>
<HR>
</DIV>
<P></P>
</body>
</html>