<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:UniversLT-Light;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Good Afternoon PNetCDF Team,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been trying to compile PNetCDF for use in the WRF model on Bebop (LCRC - ANL) following the following guide for compilation (<a href="http://www.hpcadvisorycouncil.com/pdf/WRF_v3.8%20Installation_Best_Practices.pdf">http://www.hpcadvisorycouncil.com/pdf/WRF_v3.8%20Installation_Best_Practices.pdf</a>),
however I am using the GNU compiler suite instead of the intel compiler suite. (The loaded modules on bebop are:
<i>gcc/7.3.0-xyzezhj </i>and <i>openmpi/3.1.3-obi56bx</i>)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My issue is with the large file tests which fails:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">make[4]: Entering directory `/lcrc/project/ACPC/WRF/libs/lib_files/pnetcdf-1.12.1/test/largefile'<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: large_files<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: large_var<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: large_dims_vars_attrs<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: high_dim_var<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: tst_cdf5_begin<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">FAIL: large_coalesce<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: bigrecords<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">PASS: tst_flarge<o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The other required libraries prior to PNetCDF compilation (zlib, szip, libpng, jpeg, jasper, and HDF5 (Parallel)) fully compiled and tested without errors. The export statements I am using are:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export CC=mpicc<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export CXX=mpicxx<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export FC=mpif90<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export F77=mpif90<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export F90=mpif90<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export OMPI_MPICC=gcc<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export OMPI_MPICXX=g++<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export OMPI_MPIFC=gfortran<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export OMPI_MPIF77=gfortran<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export OMPI_MPIF90=gfortran<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export CFLAGS=’-g -O2 -fPIC’<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export CXXFLAGS=’-g -O2 -fPIC’<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export FFLAGS=’-g -fPIC’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export FCFLAGS=’-g -fPIC’<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export FLDFLAGS=’-fPIC’<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export F90LDFLAGS=’-fPIC’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif">export LDFLAGS=’-fPIC’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"UniversLT-Light",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal">I am running the configure command as such:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">./configure --prefix=$WRF_LIBRARIES --enable-fortran --enable-large-file-test<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal">$WRF_LIBRARIES is the path to where my libraries are being installed on LCRC.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any assistance to help successfully compile PNetCDF would be appreciated. Thanks!<o:p></o:p></p>
<p class="MsoNormal">Robert<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt">~<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt">Robert C. Fritzen<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt">Ph.D. Student (NIU)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt">M.S. Geography & Atmospheric Sciences (NIU, 2017)
<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt">B.S. Atmospheric Sciences (Unv. Illinois Urbana-Champaign, 2013)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt">Office Location: Davis Hall 209<o:p></o:p></span></i></p>
<p class="MsoNormal">~<i><span style="font-size:10.0pt"><o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>