<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[133622] trunk/dports/science/netcdf</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/133622">133622</a></dd>
<dt>Author</dt> <dd>takeshi@macports.org</dd>
<dt>Date</dt> <dd>2015-03-06 17:23:34 -0800 (Fri, 06 Mar 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>netcdf: update to 4.3.3.1, closing #47040</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportssciencenetcdfPortfile">trunk/dports/science/netcdf/Portfile</a></li>
<li><a href="#trunkdportssciencenetcdffilespatchconfigurediff">trunk/dports/science/netcdf/files/patch-configure.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportssciencenetcdffilespatchmpiposixdiff">trunk/dports/science/netcdf/files/patch-mpiposix.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportssciencenetcdfPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/netcdf/Portfile (133621 => 133622)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/netcdf/Portfile        2015-03-06 23:56:53 UTC (rev 133621)
+++ trunk/dports/science/netcdf/Portfile        2015-03-07 01:23:34 UTC (rev 133622)
</span><span class="lines">@@ -7,9 +7,8 @@
</span><span class="cx"> 
</span><span class="cx"> mpi.enforce_variant         hdf5
</span><span class="cx"> 
</span><del>-github.setup                Unidata netcdf-c 4.3.2 v
</del><ins>+github.setup                Unidata netcdf-c 4.3.3.1 v
</ins><span class="cx"> epoch                       2
</span><del>-revision                    4
</del><span class="cx"> name                        netcdf
</span><span class="cx"> maintainers                 takeshi openmaintainer
</span><span class="cx"> platforms                   darwin
</span><span class="lines">@@ -24,9 +23,9 @@
</span><span class="cx"> 
</span><span class="cx"> homepage                    http://www.unidata.ucar.edu/software/netcdf/
</span><span class="cx"> 
</span><del>-checksums           md5     59611c95fe65237cc45c870a0d423fee \
-                    sha1    2a24a354059bad5b52dd1d61db4bcd36edd85d48 \
-                    rmd160  61a1434ff1f2c8ddf2ad178bf3eb519f7ba1558d
</del><ins>+checksums           md5     6f4668b51fe608409803f44abadab46e \
+                    sha1    b0e1e0e369f932c7eb2d039c6e7a472695182a2a \
+                    rmd160  6c6942e2cbf59cfc8f36bcef0fbe8fd890ac00d4
</ins><span class="cx"> 
</span><span class="cx"> compilers.choose            cc cpp
</span><span class="cx"> mpi.setup
</span><span class="lines">@@ -46,16 +45,6 @@
</span><span class="cx"> destroot.destdir            prefix=${destroot}${prefix} \
</span><span class="cx">                             MANDIR=\\\${prefix}/share/man
</span><span class="cx"> 
</span><del>-pre-patch {
-    if {[mpi_variant_isset]} {
-        patchfiles-append   patch-mpiposix.diff
-    }
-}
-
-post-destroot {
-    file delete -force ${destroot}${prefix}/share/man/whatis.db
-}
-
</del><span class="cx"> default_variants +netcdf4 +dap
</span><span class="cx"> 
</span><span class="cx"> variant netcdf4 description {enable support for netcdf-4 API} {
</span></span></pre></div>
<a id="trunkdportssciencenetcdffilespatchconfigurediff"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/netcdf/files/patch-configure.diff (133621 => 133622)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/netcdf/files/patch-configure.diff        2015-03-06 23:56:53 UTC (rev 133621)
+++ trunk/dports/science/netcdf/files/patch-configure.diff        2015-03-07 01:23:34 UTC (rev 133622)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><del>---- configure.orig        2014-04-24 05:44:02.000000000 +0900
-+++ configure        2014-06-01 21:41:41.000000000 +0900
-@@ -17133,6 +17133,7 @@
</del><ins>+--- configure.orig        2015-02-28 02:55:34.000000000 +0900
++++ configure        2015-03-07 10:01:48.000000000 +0900
+@@ -17321,6 +17321,7 @@
</ins><span class="cx">  else
</span><span class="cx">    USE_SZIP_TRUE='#'
</span><span class="cx">    USE_SZIP_FALSE=
</span></span></pre></div>
<a id="trunkdportssciencenetcdffilespatchmpiposixdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/netcdf/files/patch-mpiposix.diff (133621 => 133622)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/netcdf/files/patch-mpiposix.diff        2015-03-06 23:56:53 UTC (rev 133621)
+++ trunk/dports/science/netcdf/files/patch-mpiposix.diff        2015-03-07 01:23:34 UTC (rev 133622)
</span><span class="lines">@@ -1,121 +0,0 @@
</span><del>---- RELEASE_NOTES.md
-+++ RELEASE_NOTES.md
-@@ -9,6 +9,8 @@ This file contains a high-level description of this package's evolution. Release

- ### 4.3.3-rc1 Released TBD

-+* When the NC_MPIPOSIX flag is given for parallel I/O access and the HDF5 library does not have the MPI-POSIX VFD configured in, the NC_MPIPOSIX flag is transparently aliased to the NC_MPIIO flag within the netCDF-4 library.
-+
- ## 4.3.2 Released 2014-04-23

- * As part of an ongoing project, the Doxygen-generated netcdf documentation has been reorganized.  The goal is to make the documentation easier to parse, and to eliminate redundant material.  This project is ongoing.
---- libsrc4/nc4file.c
-+++ libsrc4/nc4file.c
-@@ -308,12 +308,21 @@ nc4_create_file(const char *path, int cmode, MPI_Comm comm, MPI_Info info,
-          if (H5Pset_fapl_mpio(fapl_id, comm, info) &lt; 0)
-             BAIL(NC_EPARINIT);
-       }
-+#ifdef USE_PARALLEL_POSIX
-       else /* MPI/POSIX */
-       {
-          LOG((4, &quot;creating parallel file with MPI/posix&quot;));
-          if (H5Pset_fapl_mpiposix(fapl_id, comm, 0) &lt; 0)
-             BAIL(NC_EPARINIT);
-       }
-+#else /* USE_PARALLEL_POSIX */
-+      /* Should not happen! Code in NC4_create/NC4_open should alias the
-+       *        NC_MPIPOSIX flag to NC_MPIIO, if the MPI-POSIX VFD is not
-+       *        available in HDF5. -QAK
-+       */
-+      else /* MPI/POSIX */
-+         BAIL(NC_EPARINIT);
-+#endif /* USE_PARALLEL_POSIX */

-       /* Keep copies of the MPI Comm &amp; Info objects */
-       if (MPI_SUCCESS != MPI_Comm_dup(comm, &amp;nc4_info-&gt;comm))
-@@ -465,6 +474,17 @@ NC4_create(const char* path, int cmode, size_t initialsz, int basepe,
-       )
-       return NC_EINVAL;

-+#ifndef USE_PARALLEL_POSIX
-+/* If the HDF5 library has been compiled without the MPI-POSIX VFD, alias
-+ *      the NC_MPIPOSIX flag to NC_MPIIO. -QAK
-+ */
-+   if(cmode &amp; NC_MPIPOSIX)
-+   {
-+      cmode &amp;= ~NC_MPIPOSIX;
-+      cmode |= NC_MPIIO;
-+   }
-+#endif /* USE_PARALLEL_POSIX */
-+
-    cmode |= NC_NETCDF4;

-    /* Apply default create format. */
-@@ -2168,12 +2188,21 @@ nc4_open_file(const char *path, int mode, MPI_Comm comm,
-          if (H5Pset_fapl_mpio(fapl_id, comm, info) &lt; 0)
-             BAIL(NC_EPARINIT);
-       }
-+#ifdef USE_PARALLEL_POSIX
-       else /* MPI/POSIX */
-       {
-          LOG((4, &quot;opening parallel file with MPI/posix&quot;));
-          if (H5Pset_fapl_mpiposix(fapl_id, comm, 0) &lt; 0)
-             BAIL(NC_EPARINIT);
-       }
-+#else /* USE_PARALLEL_POSIX */
-+      /* Should not happen! Code in NC4_create/NC4_open should alias the
-+       *        NC_MPIPOSIX flag to NC_MPIIO, if the MPI-POSIX VFD is not
-+       *        available in HDF5. -QAK
-+       */
-+      else /* MPI/POSIX */
-+         BAIL(NC_EPARINIT);
-+#endif /* USE_PARALLEL_POSIX */

-       /* Keep copies of the MPI Comm &amp; Info objects */
-       if (MPI_SUCCESS != MPI_Comm_dup(comm, &amp;nc4_info-&gt;comm))
-@@ -2640,6 +2669,17 @@ NC4_open(const char *path, int mode, int basepe, size_t *chunksizehintp,
-        (mode &amp; NC_MPIIO &amp;&amp; mode &amp; NC_MPIPOSIX))
-       return NC_EINVAL;

-+#ifndef USE_PARALLEL_POSIX
-+/* If the HDF5 library has been compiled without the MPI-POSIX VFD, alias
-+ *      the NC_MPIPOSIX flag to NC_MPIIO. -QAK
-+ */
-+   if(mode &amp; NC_MPIPOSIX)
-+   {
-+      mode &amp;= ~NC_MPIPOSIX;
-+      mode |= NC_MPIIO;
-+   }
-+#endif /* USE_PARALLEL_POSIX */
-+

-    /* Depending on the type of file, open it. */

---- nc_test4/tst_nc4perf.c
-+++ nc_test4/tst_nc4perf.c
-@@ -244,6 +244,11 @@ int test_pio_4d(size_t cache_size, int facc_type, int access_flag, MPI_Comm comm
-    return 0;
- }

-+/* Note: When the MPI-POSIX VFD is not compiled in to HDF5, the NC_MPIPOSIX
-+ *      flag will be aliased to the NC_MPIIO flag within the library, and
-+ *      therefore this test will exercise the aliasing, with the MPI-IO VFD,
-+ *      under that configuration. -QAK
-+ */
- #define NUM_MODES 2
- #define NUM_FACC 2
- #define NUM_CHUNK_COMBOS_2D 3
---- nc_test4/tst_parallel3.c
-+++ nc_test4/tst_parallel3.c
-@@ -129,6 +129,11 @@ int main(int argc, char **argv)
-    if (mpi_rank == 0)
-       SUMMARIZE_ERR;

-+/* Note: When the MPI-POSIX VFD is not compiled in to HDF5, the NC_MPIPOSIX
-+ *      flag will be aliased to the NC_MPIIO flag within the library, and
-+ *      therefore this test will exercise the aliasing, with the MPI-IO VFD,
-+ *      under that configuration. -QAK
-+ */
-    if (mpi_rank == 0)
-       printf(&quot;*** Testing parallel IO for raw-data with MPIPOSIX-IO (driver)...&quot;);
-    facc_type = NC_NETCDF4|NC_MPIPOSIX;
</del></span></pre>
</div>
</div>

</body>
</html>