<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hmm. I see in my configure.log that configureCMake succeeds:<br>
<br>
<tt>================================================================================<br>
TEST configureCMake from
PETSc.utilities.CMake(/home/rmills/proj/petsc-dev/config/PETSc/utilities/CMake.py:21)<br>
TESTING: configureCMake from
PETSc.utilities.CMake(config/PETSc/utilities/CMake.py:21)<br>
Check various things about cmake<br>
Checking for program /usr/bin/cmake...found<br>
Defined make macro "CMAKE" to "/usr/bin/cmake"<br>
================================================================================</tt><br>
<br>
But farther down in the configure.log I find <br>
<br>
<tt> Invoking: ['/usr/bin/cmake',
'/home/rmills/proj/petsc-dev', '-DCMAKE_C_FLAGS= -Wall
-Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g',
'-DCMAKE_C_COMPILER=/home/rmills/proj/petsc-dev/ubuntu-gnu_g/bin/mpicc',
'-DCMAKE_Fortran_FLAGS= -Wall -Wno-unused-variable -g',
'-DCMAKE_Fortran_COMPILER=/home/rmills/proj/petsc-dev/ubuntu-gnu_g/bin/mpif90']<br>
Booting CMake in PETSC_ARCH failed:<br>
CMake process failed with status 1</tt><br>
<br>
in the output associated with configureFortranFlush. So it looks
like the CMake "boot" is failing. Can you offer any advice on how
to proceed?<br>
<br>
Thanks,<br>
Richard<br>
<br>
On 2/2/2011 11:21 AM, Jed Brown wrote:
<blockquote
cite="mid:AANLkTikaQ=BNRy7vTJr_DyG90OAuqE8kEUqpXruHE99t@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Wed, Feb 2, 2011 at 13:12, Richard
Tran Mills <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rmills@climate.ornl.gov">rmills@climate.ornl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex;
margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204,
204, 204);">Thanks for your responses. However, that is the
first thing that I tried:<br>
<br>
rmills@ubuntu:~/proj/petsc-dev$ make -C ubuntu-gnu_g/<br>
make: Entering directory
`/home/rmills/proj/petsc-dev/ubuntu-gnu_g'<br>
make: *** No targets specified and no makefile found. Stop.<br>
make: Leaving directory
`/home/rmills/proj/petsc-dev/ubuntu-gnu_g'<br>
<br>
Then I assumed that the instructions meant to say 'cmake', not
'make'. What is supposed to generate the makefile that gets
used?</blockquote>
</div>
<div><br>
configure should have generated petsc-dev/ubuntu-gnu_g/Makefile
if cmake was found. Try</div>
<div> </div>
<div>rm -r CMake* ubuntu-gnu_g/CMake*</div>
<div># reconfigure if ubuntu-gnu_g/conf/PETScConfig.cmake is
missing</div>
<div># otherwise you can just run config/cmakeboot.py (faster)</div>
<div>make -C ubuntu-gnu_g</div>
</blockquote>
<br>
<pre class="moz-signature" cols="78">--
Richard Tran Mills, Ph.D. | E-mail: <a class="moz-txt-link-abbreviated" href="mailto:rmills@climate.ornl.gov">rmills@climate.ornl.gov</a>
Computational Scientist | Phone: (865) 241-3198
Computational Earth Sciences Group | Fax: (865) 574-0405
Oak Ridge National Laboratory | <a class="moz-txt-link-freetext" href="http://climate.ornl.gov/~rmills">http://climate.ornl.gov/~rmills</a>
</pre>
</body>
</html>