Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28440 Discussions

Problem when installing netcdf-c-4.8.1 on oneAPI

xuan_tpu
Beginner
1,393 Views

Hello,

 

When installing netcdf-c-4.8.1 with intel oneAPI (linux centos 7),  I got the following message.  Could any one give me some advice? 

 

zmap_zip.c(733): error: expected a ";"
zip_error_t* zerr = (zip_error_t*)zip_get_error(zzmap->archive);
^

zmap_zip.c(738): error: identifier "zip_error_t" is undefined
ziperr(zip_error_t* zerror)
^

compilation aborted for zmap_zip.c (code 2)
make[1]: *** [libnczarr_la-zmap_zip.lo] Error 1
make[1]: Leaving directory `/root/Build_WRF/src/netcdf-c-4.8.1/libnczarr'
make: *** [check-recursive] Error 1

0 Kudos
1 Solution
mecej4
Honored Contributor III
1,369 Views

This forum is for users of Intel Fortran compilers. Your post appears to be about compiling a large third party package (NetCDF) using one of the Intel C compilers. You may wish to consider downloading a prebuilt Centos/Redhat development package of NetCDF for your Linux system, instead of trying to build it with a compiler other than GCC.

There is a separate forum for questions regarding the Intel C compilers.

View solution in original post

0 Kudos
2 Replies
mecej4
Honored Contributor III
1,370 Views

This forum is for users of Intel Fortran compilers. Your post appears to be about compiling a large third party package (NetCDF) using one of the Intel C compilers. You may wish to consider downloading a prebuilt Centos/Redhat development package of NetCDF for your Linux system, instead of trying to build it with a compiler other than GCC.

There is a separate forum for questions regarding the Intel C compilers.

0 Kudos
xuan_tpu
Beginner
1,308 Views

Thanks for your reply. I will move to a separate forum you suggested. 

0 Kudos
Reply