<div dir="ltr"><div>The matter of fact is that:</div><div><table>
<tbody>
<tr><td><div><div><font color="#222222"></font></div></div></td><td><div><div><p>I am installing a Titan2d software (from Buffalo University, Geophysical Mass Flow Group) in cygwin,  I make a directory titan-3.0.0 (3.0.0 is the last version), under this directory I run $ sh install-titan.sh</p>
<p>This script will automatically check for both MPI and HDF5 installation. If MPI is not found in its standard location, then the user will be prompted to enter its absolute path, or quit installation. If this script is unable to locate HDF5, then the user will be prompted to enter its absolute path or continue without installing HDF5.</p>
<p>Through the process of installetion I got this error:</p><p>$ sh install-titan.sh /usr checking for a BSD-compatible install... /usr/bin/install -c </p><p>checking whether build environment is sane... yes checking for gawk... gawk </p>
<p>checking whether make sets $(MAKE)... yes </p><p>checking for C++ compiler default output file name... a.exe </p><p>checking whether the C++ compiler works... yes </p><p>checking whether we are cross compiling... no </p>
<p>checking for suffix of executables... .exe </p><p>checking for suffix of object files... o </p><p>checking whether we are using the GNU C++ compiler... yes </p><p>checking whether /usr/local/bin/mpiCC accepts -g... yes </p>
<p>checking for style of include used by make... GNU </p><p>checking dependency style of /usr/local/bin/mpiCC... gcc3 </p><p>checking for gcc... /usr/local/bin/mpicc checking whether we are using the GNU C compiler... yes </p>
<p>checking whether /usr/local/bin/mpicc accepts -g... yes </p><p>checking for /usr/local/bin/mpicc option to accept ANSI C... none needed </p><p>checking dependency style of /usr/local/bin/mpicc... gcc3 </p><p>checking for g77... g77 </p>
<p>checking whether we are using the GNU Fortran 77 compiler... yes </p><p>checking whether g77 accepts -g... yes </p><p>checking how to run the C preprocessor... /usr/local/bin/mpicc -E </p><p>checking for a BSD-compatible install... /usr/bin/install -c </p>
<p>checking whether ln -s works... yes </p><p>checking whether make sets $(MAKE)... (cached) yes </p><p>checking for ranlib... ranlib </p><p>checking how to get verbose linking output from g77... -v </p><p>checking for Fortran libraries of g77...  -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lfrtbegin -lg2c -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 </p>
<p>checking for special C compiler options needed for large files... no </p><p>checking for _FILE_OFFSET_BITS value needed for large files... no </p><p>checking for _LARGE_FILES value needed for large files... no </p><p>checking build system type... i686-pc-cygwin </p>
<p>checking host system type... i686-pc-cygwin checking for pthread_create in -lpthread... yes </p><p>checking for pkg-config... /usr/local/bin/pkg-config </p><p>checking pkg-config is at least version 0.9.0... yes </p><p>
<strong>checking for MPICH2... configure: error: Package requirements (mpich2-ch3) were not met:</strong></p><p><strong>Variable 'exec_prefix' not defined in '/usr/local/lib/pkgconfig/mpich2-ch3.pc'</strong></p>
<p>Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.</p><p>Alternatively, you may set the environment variables MPICH2_CFLAGS and MPICH2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.</p>
<p>make: <em>*</em> No targets specified and no makefile found.  Stop. make: Nothing to be done for `install'.</p><p>I have installed either the openmpi from the cygwin setup, I choose full package installation so a series of mpi packages are automatically downloaded and installed, as well as I downloaded the last release of mpich-3.0.2 and an older release mpich2-1.2.1p1 and I installed in cygwin with configure, make, make install. However, titan2d installation error tell me that the Package requirements (mpich2-ch3) were not met.  I know from the titan2d user guide that "If there are multiple copies of MPI on your machine, this script will  find and use the  first one in your path". I do not get why my instalaltion comes with this error. Any help will be greatly appreciated</p>
<p>Angelo</p><p> </p></div></div></td></tr>
</tbody>
</table></div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 24, 2013 at 5:14 PM, Angelo Paone <span dir="ltr"><<a href="mailto:angelo.paone1@gmail.com" target="_blank">angelo.paone1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>When I install mpich 3.0.2, I am not obtaining the file mpich2-ch3.pc?</div><span class="HOEnZb"><font color="#888888"><div>
 </div><div>Angelo</div></font></span></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Sun, Feb 24, 2013 at 1:40 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>></span> wrote:<br>

<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>On Feb 23, 2013, at 9:14 PM CST, Angelo Paone wrote:<br>

<br>
> I wonder if the last mpich release 3.0.2 has the following feature in it: pkgconfig(mpich2-ch3).<br>
<br>
</div>I'm not sure I understand what you are asking.<br>
<br>
MPICH 3.0.2 should have a pkgconfig file ("mpich.pc", generated by running configure).  The 3.0.2 release is a more recent version of the MPICH2 software, just the "2" has been dropped from the name.  CH3 remains the default "device".<br>


<br>
Are you not obtaining an mpich.pc file when you install your copy of MPICH?<br>
<br>
-Dave<br>
<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div class="im"><div dir="ltr"><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div>
<div><font face="georgia,serif"></font> </div>
<div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif">Angelo Paone</font></div><div><font face="georgia,serif">***********************************************</font></div>

<div><font face="georgia,serif">Research Professor</font></div><div><font face="georgia,serif">Post-Doctoral Research Fellow</font></div><div><font face="Georgia">Marie Curie Fellow</font></div><div><font face="georgia,serif">PhD, MSc, BSc</font></div>

<div><font face="georgia,serif">Pusan Natioanl University</font></div><div><font face="georgia,serif">Department of Earth Science</font></div><div><font face="Georgia">30, Jangjeon-dong, Geumjeong-gu</font></div><div><font face="georgia,serif">Busan, Republic of Korea</font></div>

<div><font face="Georgia">Tel. +82-51-510-2987</font></div></div>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div>
<div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif"></font> </div><div><font face="georgia,serif">Angelo Paone</font></div><div><font face="georgia,serif">***********************************************</font></div>
<div><font face="georgia,serif">Research Professor</font></div><div><font face="georgia,serif">Post-Doctoral Research Fellow</font></div><div><font face="Georgia">Marie Curie Fellow</font></div><div><font face="georgia,serif">PhD, MSc, BSc</font></div>
<div><font face="georgia,serif">Pusan Natioanl University</font></div><div><font face="georgia,serif">Department of Earth Science</font></div><div><font face="Georgia">30, Jangjeon-dong, Geumjeong-gu</font></div><div><font face="georgia,serif">Busan, Republic of Korea</font></div>
<div><font face="Georgia">Tel. +82-51-510-2987</font></div></div>
</div>