On Tue, Nov 15, 2011 at 7:06 AM, Dominik Szczerba <span dir="ltr">&lt;<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
&gt;&gt; &gt;&gt; ===============================================================================<br>
&gt;&gt; &gt;&gt;       CMake process failed with status 256. Proceeding..<br>
&gt;&gt; &gt;&gt; ===============================================================================<br>
<br>
&gt;&gt; Why I am worried is that I can not link debug version to my<br>
&gt;&gt; application on Windows, I can only link the optimized one. I want to<br>
&gt;&gt; eliminate this error message as a potential culprit.<br>
<br>
&gt; Does &#39;make test&#39; work? If so - you are looking at the wrong place.<br>
<br>
No, during compilation I get a very similar error as previously reported:<br>
<br>
libfast in: /cygdrive/c/pack/petsc-3.2-p5/src/mat/impls/adj<br>
libfast in: /cygdrive/c/pack/petsc-3.2-p5/src/mat/impls/adj/mpi<br>
make[9]: vfork: Resource temporarily unavailable<br>
<br>
If I type now &quot;make test&quot; I get:<br>
<br>
libpetsc.lib(matregis.o) : error LNK2019: unresolved external symbol MatCreate_M<br>
PIAdj referenced in function MatRegisterAll<br>
libpetsc.lib(gasm.o) : error LNK2019: unresolved external symbol MatCreateMPIAdj<br>
 referenced in function PCGASMCreateSubdomains<br>
libpetsc.lib(asm.o) : error LNK2001: unresolved external symbol MatCreateMPIAdj<br>
libpetsc.lib(pmetis.o) : error LNK2001: unresolved external symbol MatCreateMPIA<br>
dj<br>
libpetsc.lib(mpibaij.o) : error LNK2001: unresolved external symbol MatCreateMPI<br>
Adj<br>
C:\pack\PETSC-~1.2-P\src\snes\examples\TUTORI~1\ex19.exe : fatal error LNK1120:<br>
2 unresolved externals<br>
<br>
Note, before it was when building the debug mode, now it happens when<br>
building release mode.<br>
So it is not reproducible and likely explains the linking problems I<br>
have with my own applications. Portions of Petsc are simply not<br>
compiled, so some symbols are naturally missing. They just happened by<br>
bad luck to previously affect the debug and now the release mode.<br>
<br>
So hopefully approaching a conclusion of my 2 weeks long struggle:<br>
<br>
1) what is this error, and how to prevent it?<br></blockquote><div><br></div><div>This is a Windows filesystem problem. It has nothing to do with PETSc.</div><div><br></div><div>  make[9]: vfork: Resource temporarily unavailable<br>
</div><div><br></div><div>It fails to create a process to compile the file. You can keep running make</div><div>until everything gets built. From looking at Google, there is no fix for this</div><div>problem, other than abandoning Windows.</div>
<div><br></div><div>    Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2) make.log reporting &#39;Completed building libraries&quot; at the end is<br>
confusing. It made me think all is fine. I believe the error should be<br>
intercepted and building stopped.<br>
<br>
Many thanks and regards,<br>
<font color="#888888">Dominik<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>