<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Satish, Jed -- I'm not sure the message got through -- here's the
info without the log files:<br>
<br>
<hr size="2" width="100%"><small><b><br>
On 11/03/2010 06:50 PM, Satish Balay wrote:</b></small><br>
<blockquote cite="mid:4CD20EDE.50500@NVidia.Com" type="cite">
<blockquote>
<pre wrap="">I think I understand the issue. I'm pushing something that should fix it.
[so here - you have to do 'hg pull -u' to get this fix and rerun configure]
Jed,
The issue is: PETSc is built without a c++ compiler, but SAMRAI - is using it with c++ - hence the error [with missing PETSC_FUNCTION_NAME_CXX]. So I think we'll have to always set PETSC_FUNCTION_NAME_CXX irrespective of c++ usage in petsc.
Perhaps you might want to cleanup my fix..
</pre>
</blockquote>
</blockquote>
<br>
Satish, Jed -- thanks for the fix -- I think we're almost there.<br>
Here is an error I get from installing the latest<tt> petsc-dev</tt>:<br>
<blockquote cite="mid:4CD20EDE.50500@NVidia.Com" type="cite"><tt>libfast
in:
/home/cponder/CUDA/PFlotran/petsc-dev/src/sys/viewer/impls/hdf5</tt><br>
<tt>hdf5v.c:298: error: conflicting types for
‘PetscViewerHDF5GetTimestep’</tt><br>
<tt>/home/cponder/CUDA/PFlotran/petsc-dev/include/petscviewer.h:286:
note: previous declaration of ‘PetscViewerHDF5GetTimestep’ was
here</tt><br>
<tt>/usr/bin/ar: hdf5v.o: No such file or directory</tt><br>
<tt> ...</tt><br>
<tt>********************************************************************</tt><br>
<tt> Error during compile, check
arch-linux-gnu-c-debug/conf/make.log</tt><br>
<tt> Send it and arch-linux-gnu-c-debug/conf/configure.log to <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a></tt><br>
<tt>********************************************************************</tt><br>
<tt>make: [all] Error 1 (ignored)</tt><br>
</blockquote>
For the record, here are the commands I used to install:<br>
<blockquote cite="mid:4CD20EDE.50500@NVidia.Com" type="cite"><tt>hg
clone <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://petsc.cs.iit.edu/petsc/petsc-dev">http://petsc.cs.iit.edu/petsc/petsc-dev</a></tt><br>
<tt> cd petsc-dev/config</tt><br>
<tt> hg clone <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://petsc.cs.iit.edu/petsc/BuildSystem">http://petsc.cs.iit.edu/petsc/BuildSystem</a></tt><br>
<tt> cd ..</tt><br>
<tt> export PETSC_ARCH=arch-linux-gnu-c-debug</tt><br>
<tt> export PETSC_DIR=$PWD</tt><br>
<tt> ./configure --with-cc=mpicc --with-fc=mpif90
--download-f-blas-lapack=1 --download-hdf5=1
--prefix=$PETSC_DIR/$PETSC_ARCH</tt><br>
<tt> make PETSC_DIR=$PWD PETSC_ARCH=arch-linux-gnu-c-debug all</tt><br>
<tt> make PETSC_DIR=$PWD PETSC_ARCH=arch-linux-gnu-c-debug install</tt><br>
<tt> cd ..</tt><br>
</blockquote>
I'm not sending it to the<tt> petsc-maint </tt>list yet, in case
you can figure out the fix right away.<br>
Thanks,<br>
<br>
Carl Ponder, Ph.D.<br>
NVidia<br>
<br>
<br>
<tt> </tt> <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>