Install pnetcdf with int64 and uint64 type
Qingyun BIAN
bianqy818 at 163.com
Sun Oct 4 23:52:27 CDT 2020
Hi Wen-keng,
Thank you for your reply.
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?
Qingyun
At 2020-09-30 05:17:42, "Wei-Keng Liao" <wkliao at northwestern.edu> wrote:
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> 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/20201005/8e9f9545/attachment.html>
More information about the parallel-netcdf
mailing list