<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
PnetCDF supports 64-bit integers, which is not
<div class="">a configurable feature that users can turn it off.
<div class=""><br class="">
<div class="">Wei-keng </div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Oct 5, 2020, at 12:52 PM, Qingyun BIAN <<a href="mailto:bianqy818@163.com" class="">bianqy818@163.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0;" class="">Hi Wen-keng,</div>
<div style="margin: 0;" class=""><br class="">
</div>
<div style="margin: 0;" class="">Thank you for your reply. </div>
<div style="margin: 0;" class="">My pnetcdf configure and make run fine. But I still wonder if there is a way to check or make sure the pnetcdf build is supporting int64?</div>
<div style="margin: 0;" class=""><br class="">
</div>
<div style="margin: 0;" class="">Qingyun</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="position:relative;zoom:1" class=""></div>
<div id="divNeteaseMailCard" class=""></div>
<div style="margin: 0px;" class=""><br class="">
</div>
<p class="">At 2020-09-30 05:17:42, "Wei-Keng Liao" <<a href="mailto:wkliao@northwestern.edu" class="">wkliao@northwestern.edu</a>> wrote:</p>
<blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid" class="">
Those test results shown in config.log can be ignored,
<div class="">as the configure was trying to find a proper data type</div>
<div class="">to represent 64-bit integers on your machine.<br class="">
<div class=""><br class="">
</div>
<div class="">If configure and make ran fine without errors, then your</div>
<div class="">PnetCDF build is supporting 64-bit integers.</div>
<div class=""><br class="">
<div class="">
<div class="">Wei-keng </div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 29, 2020, at 8:25 PM, Qingyun BIAN <<a href="mailto:bianqy818@163.com" class="">bianqy818@163.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class="">
<div style="margin:0;" class=""><br class="">
</div>
<div style="margin:0;" class="">Hi All,</div>
<div style="margin:0;" class=""><br class="">
</div>
<div style="margin:0;" class="">I'm installing pnetcdf using the following commands:</div>
<div style="margin:0;" class="">
<div style="margin:0;" class="">$PNET=/usr/local/software/netcdf_pnetcdf/pnetcdf</div>
<div style="margin:0;" class="">$./configure --prefix=$PNET --enable-fortran --enable-large-file-test</div>
<div style="margin:0;" class="">$make -j8</div>
<div style="margin:0;" class="">$make install</div>
<div style="margin:0;" class=""><br class="">
</div>
<div style="margin:0;" class="">Followed are part of my "config.log".</div>
<div style="margin:0;" class="">
<div style="margin:0;" class="">-----------------------------------------------------------</div>
<div style="margin:0;" class="">configure:29851: result: no</div>
<div style="margin:0;" class="">configure:29860: checking for int64</div>
<div style="margin:0;" class="">configure:29860: /public/software/intel/intel2018/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin/mpiicc  -c -O3 -xHost -fPIC  conftest.c >&5</div>
<div style="margin:0;" class="">conftest.c(120): error: identifier "int64" is undefined</div>
<div style="margin:0;" class="">  if (sizeof (int64))</div>
<div style="margin:0;" class="">              ^</div>
<div style="margin:0;" class=""><br class="">
</div>
<div style="margin:0;" class="">compilation aborted for conftest.c (code 2)</div>
<div style="margin:0;" class="">configure:29860: $? = 2</div>
<div style="margin:0;" class="">configure: failed program was:</div>
<div style="margin:0;" class="">| /* confdefs.h */</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">configure:29860: result: no</div>
<div class="">configure:29869: checking for uint64</div>
<div class="">configure:29869: /public/software/intel/intel2018/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin/mpiicc  -c -O3 -xHost -fPIC  conftest.c >&5</div>
<div class="">conftest.c(120): error: identifier "uint64" is undefined</div>
<div class="">  if (sizeof (uint64))</div>
<div class="">              ^</div>
<div class=""><br class="">
</div>
<div class="">compilation aborted for conftest.c (code 2)</div>
<div class="">configure:29869: $? = 2</div>
<div class="">configure: failed program was:</div>
<div class="">| /* confdefs.h */</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">ac_cv_type__Bool=yes</div>
<div class="">ac_cv_type_int64=no</div>
<div class="">ac_cv_type_longlong=no</div>
<div class="">ac_cv_type_off_t=yes</div>
<div class="">ac_cv_type_ptrdiff_t=yes</div>
<div class="">ac_cv_type_schar=no</div>
<div class="">ac_cv_type_size_t=yes</div>
<div class="">ac_cv_type_ssize_t=yes</div>
<div class="">ac_cv_type_uchar=no</div>
<div class="">ac_cv_type_uint64=no</div>
<div class="">ac_cv_type_uint=yes</div>
<div class="">ac_cv_type_ulonglong=no</div>
<div class="">ac_cv_type_ushort=yes</div>
</div>
<div class="">------------------------------------------------</div>
<div class=""><br class="">
</div>
<div class="">Does anyone know how to enable int64 and uint64 when installing pnetcdf?</div>
<div class="">Thank you very much!</div>
<div class=""><br class="">
</div>
<div class="">Qingyun</div>
<div class=""><br class="">
</div>
</div>
<div style="margin:0;" class=""><br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>