<div class="gmail_extra">Hi Wei-king,<br><br>I think that&#39;s because intrepid uses a wrapper for the compiler.   So instead of using mpif90 try using blrts_xlf - which is what you need on most BG platforms.<br><br><div class="gmail_quote">
On Mon, Apr 23, 2012 at 12:43 PM, Wei-keng Liao <span dir="ltr">&lt;<a href="mailto:wkliao@ece.northwestern.edu" target="_blank">wkliao@ece.northwestern.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Jim,<br>
<br>
I just built the prerelease 1.3.0pre1 on Intrepid, the BGP at Argonne, but<br>
could not reproduce the error you reported. The Makefile in<br>
src/lib for building ncvalid has the following lines related to ncvalid.<br>
LIBRARY         = libpnetcdf.a<br>
PROGRAM         = ncvalid<br>
$(PROGRAM):     $(PROG_OBJS) $(LIBRARY)<br>
        $(LINK.c) $(PROG_OBJS) $(LIBRARY)<br>
<br>
So, it should put the library file at the end of link command.<br>
<br>
Could you tell us the configure command line you used and also<br>
send us the src/lib/Makefile?<br>
<br>
Here is my configure command line:<br>
./configure --host powerpc-bgp-linux --build powerpc64-suse-linux --with-mpi=/bgsys/drivers/ppcfloor/comm CFLAGS=&quot;-Wall -g -O0&quot;<br>
<span class="HOEnZb"><font color="#888888"><br>
Wei-keng<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Apr 21, 2012, at 8:09 AM, Jim Edwards wrote:<br>
<br>
&gt; Hi Rob,<br>
&gt;<br>
&gt; In building the prerelease the program ncvalid trys to link without libraries - this fails on bgl.   I fixed it by adding $(LIBS) to the link line in the src/lib/Makefile.<br>
&gt;<br>
&gt; Jim<br>
&gt;<br>
&gt; On Fri, Mar 30, 2012 at 1:55 PM, Rob Latham &lt;<a href="mailto:robl@mcs.anl.gov">robl@mcs.anl.gov</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello to our pnetcdf community.<br>
&gt;<br>
&gt; Did you realize our last release was in August.  Of 2010?  In some<br>
&gt; ways that&#39;s great: Parallel-NetCDF churns along, hopefully delivering<br>
&gt; good performance, and we&#39;ve had no show-stopping bugs come up forcing<br>
&gt; us to make a new release.<br>
&gt;<br>
&gt; However, development does continue, and we&#39;re feeling pretty good<br>
&gt; about the new features in SVN trunk lately, so let&#39;s have a<br>
&gt; pre-release so we can get these new features out into applications&#39;<br>
&gt; hands.<br>
&gt;<br>
&gt; Of particular note:<br>
&gt; - A new &quot;buffered put&quot; api, an extension to the non-blocking<br>
&gt;  interface.  See the release notes for more information.<br>
&gt; - Various bug fixes and optimizations<br>
&gt; - You used to need a custom pnetcdf.h header file from Unidata if you<br>
&gt;  wanted to build NetCDF-4 with parallel-netcdf support.  Now you no<br>
&gt;  longer need their header file.<br>
&gt;<br>
&gt; For more information, including download or SVN links, please see the<br>
&gt; release notes:<br>
&gt;<br>
&gt; <a href="https://trac.mcs.anl.gov/projects/parallel-netcdf/wiki/ReleaseNotes-1.3.0" target="_blank">https://trac.mcs.anl.gov/projects/parallel-netcdf/wiki/ReleaseNotes-1.3.0</a><br>
&gt;<br>
&gt; ==rob (on behalf of the entire pnetcdf team at ANL and NWU)<br>
&gt;<br>
&gt; --<br>
&gt; Rob Latham<br>
&gt; Mathematics and Computer Science Division<br>
&gt; Argonne National Lab, IL USA<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Jim Edwards<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><pre>Jim Edwards<br><br><br></pre><br>
</div>