Install pnetcdf with int64 and uint64 type

Wei-Keng Liao wkliao at northwestern.edu
Tue Sep 29 16:17:42 CDT 2020


Those test results shown in config.log can be ignored,
as the configure was trying to find a proper data type
to represent 64-bit integers on your machine.

If configure and make ran fine without errors, then your
PnetCDF build is supporting 64-bit integers.

Wei-keng

On Sep 29, 2020, at 8:25 PM, Qingyun BIAN <bianqy818 at 163.com<mailto:bianqy818 at 163.com>> wrote:


Hi All,

I'm installing pnetcdf using the following commands:
$PNET=/usr/local/software/netcdf_pnetcdf/pnetcdf
$./configure --prefix=$PNET --enable-fortran --enable-large-file-test
$make -j8
$make install

Followed are part of my "config.log".
-----------------------------------------------------------
configure:29851: result: no
configure:29860: checking for int64
configure:29860: /public/software/intel/intel2018/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin/mpiicc  -c -O3 -xHost -fPIC  conftest.c >&5
conftest.c(120): error: identifier "int64" is undefined
  if (sizeof (int64))
              ^

compilation aborted for conftest.c (code 2)
configure:29860: $? = 2
configure: failed program was:
| /* confdefs.h */


configure:29860: result: no
configure:29869: checking for uint64
configure:29869: /public/software/intel/intel2018/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin/mpiicc  -c -O3 -xHost -fPIC  conftest.c >&5
conftest.c(120): error: identifier "uint64" is undefined
  if (sizeof (uint64))
              ^

compilation aborted for conftest.c (code 2)
configure:29869: $? = 2
configure: failed program was:
| /* confdefs.h */

ac_cv_type__Bool=yes
ac_cv_type_int64=no
ac_cv_type_longlong=no
ac_cv_type_off_t=yes
ac_cv_type_ptrdiff_t=yes
ac_cv_type_schar=no
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
ac_cv_type_uchar=no
ac_cv_type_uint64=no
ac_cv_type_uint=yes
ac_cv_type_ulonglong=no
ac_cv_type_ushort=yes
------------------------------------------------

Does anyone know how to enable int64 and uint64 when installing pnetcdf?
Thank you very much!

Qingyun



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20200929/211be86b/attachment.html>


More information about the parallel-netcdf mailing list