Skip to content

Commit a2ec4a8

Browse files
committed
update for new release of 1.12.2
1 parent 5efcd4f commit a2ec4a8

5 files changed

Lines changed: 77 additions & 2 deletions

File tree

Release/pnetcdf-1.12.2.tar.gz

2.25 MB
Binary file not shown.

Release_notes/1.12.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[PnetCDF](https://parallel-netcdf.github.io) Version 1.12.1 Release Notes (December 9, 2019)
2+
------------------------------------------------------------------------------
23

34
* New/updated utility program
45
+ A new command-line option `-t` is added to utility program `cdfdiff` to

Release_notes/1.12.2.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
[PnetCDF](https://parallel-netcdf.github.io) Version 1.12.2 Release Notes (January 15, 202)
2+
------------------------------------------------------------------------------
3+
4+
* Build recipes
5+
+ Starting from GNU Fortran 10.0.0, function/subroutine argument type
6+
mismatch becomes a compile error. A new compile command-line option
7+
"-fallow-argument-mismatch" can turn these errors into warnings. This
8+
command-line option is added automatically in PnetCDF version 1.12.2 and
9+
later. When building PnetCDF of version 1.12.1 and earlier versions using
10+
GNU Fortran 10.0.0 and later, please add "-fallow-argument-mismatch" to
11+
environment variables FFLAGS and FCFLAGS.
12+
See [issue #61](https://github.com/Parallel-NetCDF/PnetCDF/issues/61)
13+
and [GCC 10 Release note](https://gcc.gnu.org/gcc-10/changes.html).
14+
+ README.CRAY has been revised to reflect the recent changes of default
15+
compiling environment on Cori at NERSC.
16+
17+
* Updated utility program
18+
+ ncvalidator now reports the name of variable that violates the NetCDF
19+
limitation on large variables for CDF-2 files
20+
+ add corrupted file bad_large_fixed_var.nc2 that contains one large
21+
fixed-size variables that is not defined last
22+
+ add corrupted file bad_large_rec_2_vars.nc2 that contains 2 large record
23+
variables
24+
+ add corrupted file bad_large_rec_var.nc2 that contains 1 large record
25+
variable that is not defined last
26+
+ add URLs of NetCDF limitations on large variables for CDF-1 and 2 file
27+
formats
28+
29+
* Other updates:
30+
+ When calling ncmpi_create() with NC_CLOBBER flag, PnetCDF now calls
31+
access() to check whether file exists first. If the file does not exist,
32+
successive calls to truncate() or unlink() can be skipped.
33+
+ Improve detection of HDF5 signature. The HDF5 signature is located at the
34+
beginning of the HDF5 superblock, but the location of HDF5 superblock may
35+
not be at the beginning of the file. It is located at byte offset 0, byte
36+
offset 512, and at successive locations in the file, each a multiple of two
37+
of the previous location; in other words, at these byte offsets: 0, 512,
38+
1024, 2048, and so on.
39+
40+
* Bug fixes
41+
+ Fix more strict aliasing bug when building PnetCDF with -O3 flag. Thanks to
42+
Gianfranco Costamagna for reporting
43+
[issue #55](https://github.com/Parallel-NetCDF/PnetCDF/issues/55). See
44+
[pull request r65](https://github.com/Parallel-NetCDF/PnetCDF/pull/65) for
45+
the fix.
46+
+ Fix NC_CLOBBER mode for ncmpi_create() when files are existing symbolic
47+
links. Prior to this release, symbolic links, like other regular files, was
48+
first deleted and then created. This can result in an unexpected outcome,
49+
i.e. the deletion of symbolic link. NetCDF-4 library implements this
50+
differently, by adding O_TRUNC flag when calling open() to truncate the
51+
file to length 0. Historically, PnetCDF did not adopt the same approach
52+
because MPI does not define a similar flag to O_TRUNC and the only way to
53+
achieve the file clobber effect is to through MPI_File_set_size(), which
54+
can be expensive as the function takes an MPI file handler argument, which
55+
requires to open the file first with a call to MPI_File_open().
56+
+ Fix various compile and link bugs when NAG Fortran is used. Bugs include
57+
flag needed to verbose linking output, unrecognized link option -pthread,
58+
unmatched C compiler underneath. Thanks Sergey Kosukhin for providing the
59+
fix in [PR #59](https://github.com/Parallel-NetCDF/PnetCDF/pull/59)
60+
and [PR #60](https://github.com/Parallel-NetCDF/PnetCDF/pull/60)
61+
+ Fix a bug of calling Fortran getarg() with the first argument k with a
62+
value > 0 when there is no command-line argument is used. NAG Fortran may
63+
crash the program. See
64+
[f16bd3c](https://github.com/Parallel-NetCDF/PnetCDF/commit/f16bd3c1ba1b08eade2384f094c519f3f2dc114e)
65+
+ Fix a bug that limits FLASH-IO to run on less than 16K MPI processes. See
66+
[1d84fa5](https://github.com/Parallel-NetCDF/PnetCDF/commit/1d84fa5d54ca9179da4a5b1a4ee3b92cc92287ed)
67+

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1>PnetCDF: A Parallel I/O Library for NetCDF File Access</h1>
2121

2222
<h2 id="News">News</h2>
2323
<ul>
24-
<li><strong>December 9, 2019</strong>: Release of 1.12.1 is available.</li>
24+
<li><strong>January 15, 2021</strong>: Release of 1.12.2 is available.</li>
2525
<li><strong>November 2, 2018</strong>: The official PnetCDF project web pages
2626
have migrated to github.com from its previous location at <a
2727
href=https://trac.mcs.anl.gov/projects/parallel-netcdf>

wiki/Download.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<center> <h2>PnetCDF Source Code Downloads</h2> </center>
3434
<br>
3535

36-
The latest stable release of <a href="../index.html">PnetCDF</a> is version 1.12.1.
36+
The latest stable release of <a href="../index.html">PnetCDF</a> is version 1.12.2.
3737
<p>
3838
We encourage PnetCDF users to use the latest released version. If for some
3939
reason you would like to try out older versions, below is a table of (most of)
@@ -47,6 +47,13 @@
4747
<th>Size</th>
4848
<th>SHA-1 Checksum</th>
4949
</tr>
50+
<tr>
51+
<td align=center>January 15, 2021</td>
52+
<td align=center><a href=https://github.com/Parallel-NetCDF/Parallel-NetCDF.github.io/blob/master/Release_notes/1.12.2.md>1.12.2</a></td>
53+
<td><a href="../Release/pnetcdf-1.12.2.tar.gz" onClick="var that=this; ga('send', 'event', 'PnetCDF', 'Source Download (GZ)', 'pnetcdf-1.12.2.tar.gz', 1); ga('pnetcdfTracker.send', 'event', 'PnetCDF', 'Source Download (GZ)', 'pnetcdf-1.12.2.tar.gz', 1); ga('parallelnetcdfTracker.send', 'event', 'PnetCDF', 'Source Download (GZ)', 'pnetcdf-1.12.2.tar.gz', 1); setTimeout(function(){location.href=that.href;},500); return false;">pnetcdf-1.12.2.tar.gz</a></td>
54+
<td>2.3 MB</td>
55+
<td>3ab82ea878e321f6c0fd9afb44c8707949485d09</td>
56+
</tr>
5057
<tr>
5158
<td align=center>December 9, 2019</td>
5259
<td align=center><a href=https://github.com/Parallel-NetCDF/Parallel-NetCDF.github.io/blob/master/Release_notes/1.12.1.md>1.12.1</a></td>

0 commit comments

Comments
 (0)