<div class="gmail_extra">Hi Wei-king,<br><br>I think that'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"><<a href="mailto:wkliao@ece.northwestern.edu" target="_blank">wkliao@ece.northwestern.edu</a>></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="-Wall -g -O0"<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>
> Hi Rob,<br>
><br>
> 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>
><br>
> Jim<br>
><br>
> On Fri, Mar 30, 2012 at 1:55 PM, Rob Latham <<a href="mailto:robl@mcs.anl.gov">robl@mcs.anl.gov</a>> wrote:<br>
><br>
> Hello to our pnetcdf community.<br>
><br>
> Did you realize our last release was in August. Of 2010? In some<br>
> ways that's great: Parallel-NetCDF churns along, hopefully delivering<br>
> good performance, and we've had no show-stopping bugs come up forcing<br>
> us to make a new release.<br>
><br>
> However, development does continue, and we're feeling pretty good<br>
> about the new features in SVN trunk lately, so let's have a<br>
> pre-release so we can get these new features out into applications'<br>
> hands.<br>
><br>
> Of particular note:<br>
> - A new "buffered put" api, an extension to the non-blocking<br>
> interface. See the release notes for more information.<br>
> - Various bug fixes and optimizations<br>
> - You used to need a custom pnetcdf.h header file from Unidata if you<br>
> wanted to build NetCDF-4 with parallel-netcdf support. Now you no<br>
> longer need their header file.<br>
><br>
> For more information, including download or SVN links, please see the<br>
> release notes:<br>
><br>
> <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>
><br>
> ==rob (on behalf of the entire pnetcdf team at ANL and NWU)<br>
><br>
> --<br>
> Rob Latham<br>
> Mathematics and Computer Science Division<br>
> Argonne National Lab, IL USA<br>
><br>
><br>
><br>
> --<br>
> Jim Edwards<br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><pre>Jim Edwards<br><br><br></pre><br>
</div>