274 | 200 CONTINUE
| 1
Warning: Label 200 at (1) defined but not used [-Wunused-label]
libsrc/qu2reg3.f:208:5:
208 | 100 CONTINUE
| 1
Warning: Label 100 at (1) defined but not used [-Wunused-label]
libsrc/ncepcode.f:2015:72:
2015 | 100 E(I-1) = E(I)
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1)
libsrc/ncepcode.f:1878:18:
1878 | SLAT(J)=SLATD(J)
| 1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion]
libsrc/ncepcode.f:1879:18:
1879 | WLAT(J)=(2.*(1.-SLATD(J)*2))/(JMAXPKM1(J))**2
| 1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion]
libsrc/ncepcode.f:1990:5:
1990 | 20 DO 40 I = 1, N
| 1
Warning: Label 20 at (1) defined but not used [-Wunused-label]
libsrc/ncepcode.f:1950:10:
1949 | DO 100 J=2,N
| 2
1950 | WRK(J)= (J-1.D0)/DSQRT((2.D0J-1.D0)(2.D0*J-3.D0))
| 1
Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2)
libsrc/ncepcode.f:1952:17:
1949 | DO 100 J=2,N
| 2
......
1952 | E(J) = WRK(J)
| 1
Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2)
libsrc/ncepcode.f:1980:38:
2218 | REAL USNG,VSNG
| 1
Warning: Unused variable ‘usng’ declared at (1) [-Wunused-variable]
libsrc/llmap.f:2218:34:
2218 | REAL USNG,VSNG
| 1
Warning: Unused variable ‘vsng’ declared at (1) [-Wunused-variable]
libsrc/llmap.f:1832:29:
1832 | REAL SLAT,SLON
| 1
Warning: Unused variable ‘slat’ declared at (1) [-Wunused-variable]
libsrc/llmap.f:1832:34:
1832 | REAL SLAT,SLON
| 1
Warning: Unused variable ‘slon’ declared at (1) [-Wunused-variable]
gfortran:f77: libsrc/rowina3.f
libsrc/rowina3.f:308:5:
308 | 300 CONTINUE
| 1
Warning: Label 300 at (1) defined but not used [-Wunused-label]
libsrc/rowina3.f:248:5:
248 | 200 CONTINUE
| 1
Warning: Label 200 at (1) defined but not used [-Wunused-label]
libsrc/rowina3.f:130:5:
130 | 100 CONTINUE
| 1
Warning: Label 100 at (1) defined but not used [-Wunused-label]
libsrc/rowina3.f:172:19:
172 | IP = ZWT
| 1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
libsrc/rowina3.f:217:21:
217 | IP = ZWT
| 1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
libsrc/rowina3.f:295:17:
295 | IP = ZWT+1
| 1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
libsrc/rowina3.f:209:0:
209
P(JL) = PW(IP+1,1)
Warning: ‘ip’ may be used uninitialized in this function [-Wmaybe-uninitialized]
gfortran:f77: libsrc/scm0.f
libsrc/scm0.f:41:5:
41 | 100 CONTINUE
| 1
Warning: Label 100 at (1) defined but not used [-Wunused-label]
x86_64-linux-gnu-gcc-ar: adding 50 object files to build/temp.linux-x86_64-3.8/libnio.a
x86_64-linux-gnu-gcc-ar: adding 19 object files to build/temp.linux-x86_64-3.8/libnio.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
extending extension 'PyNIO._nio' defined_macros with [('NeedFuncProto', None), ('NIO_LIB_ONLY', None), ('_POSIX_SOURCE', None), ('ByteSwapped', None)]
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'PyNIO._nio' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-DNeedFuncProto -DNIO_LIB_ONLY -DNeedFuncProto -DNIO_LIB_ONLY -D_POSIX_SOURCE -DByteSwapped -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -Ilibsrc -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
x86_64-linux-gnu-gcc: niomodule.c
niomodule.c: In function ‘data_type’:
niomodule.c:688:3: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
688
return NPY_CHAR;
^~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c: In function ‘typecode’:
niomodule.c:790:2: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
790
case NPY_CHAR:
^~~~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c: In function ‘_convertCOMPOUND2Obj’:
niomodule.c:5273:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
5273
for (n = 0; n < comprec->n_comps; ++n) {
^
niomodule.c:5290:5: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
5290
^~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c:5299:5: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
5299
^~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c: In function ‘_convertObj2COMPOUND’:
niomodule.c:5701:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
5701
if (len2 != comprec->n_comps) {
^~
niomodule.c:5723:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ng_size_t’ {aka ‘long int’} [-Wformat=]
5723
"\tFailed to allocate memory of %d char.\n",
~^
int
%ld
5724
compnode->nvals);
~~~
ng_size_t {aka long int}
niomodule.c: In function ‘NioVariable_WriteArray’:
niomodule.c:5776:20: warning: variable ‘dimrec’ set but not used [-Wunused-but-set-variable]
5776 | NclFileDimRecord dimrec = NULL;
| ^~
niomodule.c: In function ‘NioVariableObject_ass_slice’:
niomodule.c:6556:40: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow]
6556 | if (indices->start < PY_SSIZE_T_MIN 100)
| ^
niomodule.c: In function ‘NioVariableObject_ass_subscript’:
niomodule.c:6626:41: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow]
6626 | if (indices->start < PY_SSIZE_T_MIN * 100)
| ^
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so
x86_64-linux-gnu-g++: error: : No such file or directory
error: Command "x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so" failed with exit status 1
274 | 200 CONTINUE
| 1
Warning: Label 200 at (1) defined but not used [-Wunused-label]
libsrc/qu2reg3.f:208:5:
208 | 100 CONTINUE
| 1
Warning: Label 100 at (1) defined but not used [-Wunused-label]
libsrc/ncepcode.f:2015:72:
2015 | 100 E(I-1) = E(I)
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1)
libsrc/ncepcode.f:1878:18:
1878 | SLAT(J)=SLATD(J)
| 1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion]
libsrc/ncepcode.f:1879:18:
1879 | WLAT(J)=(2.*(1.-SLATD(J)*2))/(JMAXPKM1(J))**2
| 1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion]
libsrc/ncepcode.f:1990:5:
1990 | 20 DO 40 I = 1, N
| 1
Warning: Label 20 at (1) defined but not used [-Wunused-label]
libsrc/ncepcode.f:1950:10:
1949 | DO 100 J=2,N
| 2
1950 | WRK(J)= (J-1.D0)/DSQRT((2.D0J-1.D0)(2.D0*J-3.D0))
| 1
Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2)
libsrc/ncepcode.f:1952:17:
1949 | DO 100 J=2,N
| 2
......
1952 | E(J) = WRK(J)
| 1
Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2)
libsrc/ncepcode.f:1980:38:
308 | 300 CONTINUE
| 1
Warning: Label 300 at (1) defined but not used [-Wunused-label]
libsrc/rowina3.f:248:5:
248 | 200 CONTINUE
| 1
Warning: Label 200 at (1) defined but not used [-Wunused-label]
libsrc/rowina3.f:130:5:
130 | 100 CONTINUE
| 1
Warning: Label 100 at (1) defined but not used [-Wunused-label]
libsrc/rowina3.f:172:19:
172 | IP = ZWT
| 1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
libsrc/rowina3.f:217:21:
217 | IP = ZWT
| 1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
libsrc/rowina3.f:295:17:
295 | IP = ZWT+1
| 1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
gfortran:f77: libsrc/scm0.f
libsrc/llmap.f:2251:72:
2251 | IF (IPRJ-11) 100,197,113
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
libsrc/llmap.f:2256:72:
2256 | 100 IF (IPRJ-1) 101,102,103
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
libsrc/llmap.f:2426:72:
2426 | 113 IF (IPRJ-13) 114,115,116
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
libsrc/rowina3.f:209:0:
209
P(JL) = PW(IP+1,1)
Warning: ‘ip’ may be used uninitialized in this function [-Wmaybe-uninitialized]
libsrc/llmap.f:1466:5:
1466 | 641 RLAT=CLAT
| 1
Warning: Label 641 at (1) defined but not used [-Wunused-label]
libsrc/llmap.f:2460:5:
2460 | 199 U=U-UOFF
| 1
Warning: Label 199 at (1) defined but not used [-Wunused-label]
libsrc/llmap.f:2222:31:
2218 | REAL USNG,VSNG
| 1
Warning: Unused variable ‘usng’ declared at (1) [-Wunused-variable]
libsrc/llmap.f:2218:34:
2218 | REAL USNG,VSNG
| 1
Warning: Unused variable ‘vsng’ declared at (1) [-Wunused-variable]
libsrc/llmap.f:1832:29:
1832 | REAL SLAT,SLON
| 1
Warning: Unused variable ‘slat’ declared at (1) [-Wunused-variable]
libsrc/llmap.f:1832:34:
1832 | REAL SLAT,SLON
| 1
Warning: Unused variable ‘slon’ declared at (1) [-Wunused-variable]
libsrc/scm0.f:41:5:
41 | 100 CONTINUE
| 1
Warning: Label 100 at (1) defined but not used [-Wunused-label]
x86_64-linux-gnu-gcc-ar: adding 50 object files to build/temp.linux-x86_64-3.8/libnio.a
x86_64-linux-gnu-gcc-ar: adding 19 object files to build/temp.linux-x86_64-3.8/libnio.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
extending extension 'PyNIO._nio' defined_macros with [('NeedFuncProto', None), ('NIO_LIB_ONLY', None), ('_POSIX_SOURCE', None), ('ByteSwapped', None)]
customize UnixCCompiler
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'PyNIO._nio' extension
compiling C sources
C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-DNeedFuncProto -DNIO_LIB_ONLY -DNeedFuncProto -DNIO_LIB_ONLY -D_POSIX_SOURCE -DByteSwapped -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -Ilibsrc -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -c'
x86_64-linux-gnu-gcc: niomodule.c
niomodule.c: In function ‘data_type’:
niomodule.c:688:3: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
688
return NPY_CHAR;
^~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c: In function ‘typecode’:
niomodule.c:790:2: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
790
case NPY_CHAR:
^~~~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c: In function ‘_convertCOMPOUND2Obj’:
niomodule.c:5273:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
5273
for (n = 0; n < comprec->n_comps; ++n) {
^
niomodule.c:5290:5: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
5290
^~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c:5299:5: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations]
5299
^~
In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from niomodule.c:24:
/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here
84
NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
^~~~
niomodule.c: In function ‘_convertObj2COMPOUND’:
niomodule.c:5701:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
5701
if (len2 != comprec->n_comps) {
^~
niomodule.c:5723:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ng_size_t’ {aka ‘long int’} [-Wformat=]
5723
"\tFailed to allocate memory of %d char.\n",
~^
int
%ld
5724
compnode->nvals);
~~~
ng_size_t {aka long int}
niomodule.c: In function ‘NioVariable_WriteArray’:
niomodule.c:5776:20: warning: variable ‘dimrec’ set but not used [-Wunused-but-set-variable]
5776 | NclFileDimRecord dimrec = NULL;
| ^~
niomodule.c: In function ‘NioVariableObject_ass_slice’:
niomodule.c:6556:40: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow]
6556 | if (indices->start < PY_SSIZE_T_MIN 100)
| ^
niomodule.c: In function ‘NioVariableObject_ass_subscript’:
niomodule.c:6626:41: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow]
6626 | if (indices->start < PY_SSIZE_T_MIN * 100)
| ^
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so
x86_64-linux-gnu-g++: error: : No such file or directory
error: Command "x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so" failed with exit status 1
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"'; file='"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-2u8mgvoj/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/hafez/.local/include/python3.8/PyNIO Check the logs for full command output.
hafez@LAPTOP-G6UK4AFP:~$
I am trying to install pynio in windows 10 system ubuntu and getting an error python3 -m pip install https://github.com/NCAR/pynio/archive/develop.zip Collecting https://github.com/NCAR/pynio/archive/develop.zip Downloading https://github.com/NCAR/pynio/archive/develop.zip
12.6 MB 499 kB/s Building wheels for collected packages: PyNIO Building wheel for PyNIO (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"'; file='"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-1bse7e2k cwd: /tmp/pip-req-build-3kmcfei0/ Complete output (353 lines): ====> Installing Nio to the "PyNIO" site packages directory. non-existing path in '': '' running bdist_wheel running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building library "nio" sources building extension "PyNIO._nio" sources building data_files sources build_src: building npy-pkg config files running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/PyNIO copying alt-setup.py -> build/lib.linux-x86_64-3.8/PyNIO copying coordsel.py -> build/lib.linux-x86_64-3.8/PyNIO copying Nio.py -> build/lib.linux-x86_64-3.8/PyNIO copying niodict.py -> build/lib.linux-x86_64-3.8/PyNIO copying pynio_version.py -> build/lib.linux-x86_64-3.8/PyNIO copying _xarray.py -> build/lib.linux-x86_64-3.8/PyNIO copying init.py -> build/lib.linux-x86_64-3.8/PyNIO creating build/lib.linux-x86_64-3.8/PyNIO/ncarg creating build/lib.linux-x86_64-3.8/PyNIO/ncarg/data creating build/lib.linux-x86_64-3.8/PyNIO/ncarg/data/netcdf copying ncarg/data/netcdf/pop.nc -> build/lib.linux-x86_64-3.8/PyNIO/ncarg/data/netcdf running build_clib customize UnixCCompiler customize UnixCCompiler using build_clib get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_clib building 'nio' library compiling C sources C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/libsrc compile options: '-DNeedFuncProto -DNIO_LIB_ONLY -D_POSIX_SOURCE -DByteSwapped -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -Ilibsrc -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -c' extra options: '-O2 -w' x86_64-linux-gnu-gcc: libsrc/AddFileFormats.c x86_64-linux-gnu-gcc: libsrc/Formats.c x86_64-linux-gnu-gcc: libsrc/Memory.cx86_64-linux-gnu-gcc: libsrc/ctoiee.c
x86_64-linux-gnu-gcc: libsrc/DataSupport.c x86_64-linux-gnu-gcc: libsrc/AdvancedFileSupport.c x86_64-linux-gnu-gcc: libsrc/NclAdvancedFile.c x86_64-linux-gnu-gcc: libsrc/GetGrids.c x86_64-linux-gnu-gcc: libsrc/AttSupport.c x86_64-linux-gnu-gcc: libsrc/cmpf.c x86_64-linux-gnu-gcc: libsrc/date.c x86_64-linux-gnu-gcc: libsrc/NclCCM.c x86_64-linux-gnu-gcc: libsrc/FileSupport.c x86_64-linux-gnu-gcc: libsrc/NclCoordVar.c x86_64-linux-gnu-gcc: libsrc/NclData.c x86_64-linux-gnu-gcc: libsrc/NclAdvancedGroup.c x86_64-linux-gnu-gcc: libsrc/NclFile.c x86_64-linux-gnu-gcc: libsrc/NclFileVar.c x86_64-linux-gnu-gcc: libsrc/NclAtt.c x86_64-linux-gnu-gcc: libsrc/InitData.c x86_64-linux-gnu-gcc: libsrc/NclGRIB.c x86_64-linux-gnu-gcc: libsrc/ListSupport.c x86_64-linux-gnu-gcc: libsrc/NclMultiDValData.c x86_64-linux-gnu-gcc: libsrc/NclNetCDF4.c x86_64-linux-gnu-gcc: libsrc/NclTypechar.c x86_64-linux-gnu-gcc: libsrc/NclOneDValCoordData.c x86_64-linux-gnu-gcc: libsrc/NclMultiDVallistData.c x86_64-linux-gnu-gcc: libsrc/NclTypedouble.c x86_64-linux-gnu-gcc: libsrc/NclType.c x86_64-linux-gnu-gcc: libsrc/NclTypebyte.c x86_64-linux-gnu-gcc: libsrc/NclMultiDValnclfileData.c x86_64-linux-gnu-gcc: libsrc/NclTypefloat.c x86_64-linux-gnu-gcc: libsrc/NclTypeint64.c x86_64-linux-gnu-gcc: libsrc/NclNetCdf.c x86_64-linux-gnu-gcc: libsrc/NclTypeint.c x86_64-linux-gnu-gcc: libsrc/NclTypelist.c x86_64-linux-gnu-gcc: libsrc/NclTypeobj.c x86_64-linux-gnu-gcc: libsrc/NclGroup.c x86_64-linux-gnu-gcc: libsrc/NclTypelogical.c x86_64-linux-gnu-gcc: libsrc/NclTypeshort.c x86_64-linux-gnu-gcc: libsrc/NclList.c x86_64-linux-gnu-gcc: libsrc/NclTypeuint.c x86_64-linux-gnu-gcc: libsrc/NclTypelong.c x86_64-linux-gnu-gcc: libsrc/NclVar.c x86_64-linux-gnu-gcc: libsrc/NclTypestring.c x86_64-linux-gnu-gcc: libsrc/NclTypeuint64.c x86_64-linux-gnu-gcc: libsrc/nioConvert.c x86_64-linux-gnu-gcc: libsrc/NclTypeubyte.c x86_64-linux-gnu-gcc: libsrc/nioError.c x86_64-linux-gnu-gcc: libsrc/NclTypeulong.c x86_64-linux-gnu-gcc: libsrc/niohlu.c x86_64-linux-gnu-gcc: libsrc/nio.c x86_64-linux-gnu-gcc: libsrc/nioNclHLUStub.c x86_64-linux-gnu-gcc: libsrc/nioBase.c x86_64-linux-gnu-gcc: libsrc/nioNresDB.c x86_64-linux-gnu-gcc: libsrc/NclTypeushort.c x86_64-linux-gnu-gcc: libsrc/nio_path.c x86_64-linux-gnu-gcc: libsrc/nioCallbacks.c x86_64-linux-gnu-gcc: libsrc/TypeSupport.c x86_64-linux-gnu-gcc: libsrc/VarSupport.c x86_64-linux-gnu-gcc: libsrc/nioQuarks.c x86_64-linux-gnu-gcc: libsrc/nioUtils.c x86_64-linux-gnu-gcc: libsrc/nio_io.c compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-DNeedFuncProto -DNIO_LIB_ONLY -D_POSIX_SOURCE -DByteSwapped -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -Ilibsrc -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -c' gfortran:f77: libsrc/llmisc.fgfortran:f77: libsrc/ncepcode.f
gfortran:f77: libsrc/qu2reg3.f gfortran:f77: libsrc/llmap.f libsrc/qu2reg3.f:274:5:
274 | 200 CONTINUE | 1 Warning: Label 200 at (1) defined but not used [-Wunused-label] libsrc/qu2reg3.f:208:5:
208 | 100 CONTINUE | 1 Warning: Label 100 at (1) defined but not used [-Wunused-label] libsrc/ncepcode.f:2015:72:
2015 | 100 E(I-1) = E(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1) libsrc/ncepcode.f:1878:18:
1878 | SLAT(J)=SLATD(J) | 1 Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion] libsrc/ncepcode.f:1879:18:
1879 | WLAT(J)=(2.*(1.-SLATD(J)*2))/(JMAXPKM1(J))**2 | 1 Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion] libsrc/ncepcode.f:1990:5:
1990 | 20 DO 40 I = 1, N | 1 Warning: Label 20 at (1) defined but not used [-Wunused-label] libsrc/ncepcode.f:1950:10:
1949 | DO 100 J=2,N | 2 1950 | WRK(J)= (J-1.D0)/DSQRT((2.D0J-1.D0)(2.D0*J-3.D0)) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) libsrc/ncepcode.f:1952:17:
1949 | DO 100 J=2,N | 2 ...... 1952 | E(J) = WRK(J) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) libsrc/ncepcode.f:1980:38:
1980 | SUBROUTINE DRSTNIO(NM,N,W,E,MATZ,Z,IERR) | 1 Warning: Unused dummy argument ‘matz’ at (1) [-Wunused-dummy-argument] libsrc/ncepcode.f:1837:21:
1837 | INTEGER JHE,JHO,J0,NEXP | 1 Warning: Unused variable ‘jho’ declared at (1) [-Wunused-variable] libsrc/llmap.f:2251:72:
2251 | IF (IPRJ-11) 100,197,113 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) libsrc/llmap.f:2256:72:
2256 | 100 IF (IPRJ-1) 101,102,103 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) libsrc/llmap.f:2426:72:
2426 | 113 IF (IPRJ-13) 114,115,116 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) libsrc/llmap.f:1466:5:
1466 | 641 RLAT=CLAT | 1 Warning: Label 641 at (1) defined but not used [-Wunused-label] libsrc/llmap.f:2460:5:
2460 | 199 U=U-UOFF | 1 Warning: Label 199 at (1) defined but not used [-Wunused-label] libsrc/llmap.f:2222:31:
2222 | DOUBLE PRECISION MDGDDP,RBGDFE,RBGLEN | 1 Warning: Unused variable ‘mdgddp’ declared at (1) [-Wunused-variable] libsrc/llmap.f:2218:29:
2218 | REAL USNG,VSNG | 1 Warning: Unused variable ‘usng’ declared at (1) [-Wunused-variable] libsrc/llmap.f:2218:34:
2218 | REAL USNG,VSNG | 1 Warning: Unused variable ‘vsng’ declared at (1) [-Wunused-variable] libsrc/llmap.f:1832:29:
1832 | REAL SLAT,SLON | 1 Warning: Unused variable ‘slat’ declared at (1) [-Wunused-variable] libsrc/llmap.f:1832:34:
1832 | REAL SLAT,SLON | 1 Warning: Unused variable ‘slon’ declared at (1) [-Wunused-variable] gfortran:f77: libsrc/rowina3.f libsrc/rowina3.f:308:5:
308 | 300 CONTINUE | 1 Warning: Label 300 at (1) defined but not used [-Wunused-label] libsrc/rowina3.f:248:5:
248 | 200 CONTINUE | 1 Warning: Label 200 at (1) defined but not used [-Wunused-label] libsrc/rowina3.f:130:5:
130 | 100 CONTINUE | 1 Warning: Label 100 at (1) defined but not used [-Wunused-label] libsrc/rowina3.f:172:19:
172 | IP = ZWT | 1 Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion] libsrc/rowina3.f:217:21:
217 | IP = ZWT | 1 Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion] libsrc/rowina3.f:295:17:
295 | IP = ZWT+1 | 1 Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion] libsrc/rowina3.f:209:0:
Warning: ‘ip’ may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: libsrc/scm0.f libsrc/scm0.f:41:5:
41 | 100 CONTINUE | 1 Warning: Label 100 at (1) defined but not used [-Wunused-label] x86_64-linux-gnu-gcc-ar: adding 50 object files to build/temp.linux-x86_64-3.8/libnio.a x86_64-linux-gnu-gcc-ar: adding 19 object files to build/temp.linux-x86_64-3.8/libnio.a running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext extending extension 'PyNIO._nio' defined_macros with [('NeedFuncProto', None), ('NIO_LIB_ONLY', None), ('_POSIX_SOURCE', None), ('ByteSwapped', None)] customize UnixCCompiler customize UnixCCompiler using build_ext get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'PyNIO._nio' extension compiling C sources C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
~In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from niomodule.c:24: /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here 84~~~ niomodule.c: In function ‘typecode’: niomodule.c:790:2: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations] 790~~~ niomodule.c: In function ‘_convertCOMPOUND2Obj’: niomodule.c:5273:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5273~In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from niomodule.c:24: /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here 84~~~ niomodule.c:5299:5: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations] 5299~In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from niomodule.c:24: /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here 84~~~ niomodule.c: In function ‘_convertObj2COMPOUND’: niomodule.c:5701:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5701~~~niomodule.c: In function ‘NioVariable_WriteArray’: niomodule.c:5776:20: warning: variable ‘dimrec’ set but not used [-Wunused-but-set-variable] 5776 | NclFileDimRecord dimrec = NULL; | ^
~niomodule.c: In function ‘NioVariableObject_ass_slice’: niomodule.c:6556:40: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow] 6556 | if (indices->start < PY_SSIZE_T_MIN 100) | ^ niomodule.c: In function ‘NioVariableObject_ass_subscript’: niomodule.c:6626:41: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow] 6626 | if (indices->start < PY_SSIZE_T_MIN * 100) | ^ x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so x86_64-linux-gnu-g++: error: : No such file or directory error: Command "x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so" failed with exit status 1ERROR: Failed building wheel for PyNIO Running setup.py clean for PyNIO Failed to build PyNIO Installing collected packages: PyNIO Running setup.py install for PyNIO ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"'; file='"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-2u8mgvoj/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/hafez/.local/include/python3.8/PyNIO cwd: /tmp/pip-req-build-3kmcfei0/ Complete output (353 lines): ====> Installing Nio to the "PyNIO" site packages directory. non-existing path in '': '' running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building library "nio" sources building extension "PyNIO._nio" sources building data_files sources build_src: building npy-pkg config files running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/PyNIO copying alt-setup.py -> build/lib.linux-x86_64-3.8/PyNIO copying coordsel.py -> build/lib.linux-x86_64-3.8/PyNIO copying Nio.py -> build/lib.linux-x86_64-3.8/PyNIO copying niodict.py -> build/lib.linux-x86_64-3.8/PyNIO copying pynio_version.py -> build/lib.linux-x86_64-3.8/PyNIO copying _xarray.py -> build/lib.linux-x86_64-3.8/PyNIO copying init.py -> build/lib.linux-x86_64-3.8/PyNIO creating build/lib.linux-x86_64-3.8/PyNIO/ncarg creating build/lib.linux-x86_64-3.8/PyNIO/ncarg/data creating build/lib.linux-x86_64-3.8/PyNIO/ncarg/data/netcdf copying ncarg/data/netcdf/pop.nc -> build/lib.linux-x86_64-3.8/PyNIO/ncarg/data/netcdf running build_clib customize UnixCCompiler customize UnixCCompiler using build_clib get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_clib building 'nio' library compiling C sources C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/libsrc compile options: '-DNeedFuncProto -DNIO_LIB_ONLY -D_POSIX_SOURCE -DByteSwapped -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -Ilibsrc -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -c' extra options: '-O2 -w' x86_64-linux-gnu-gcc: libsrc/ctoiee.cx86_64-linux-gnu-gcc: libsrc/Formats.cx86_64-linux-gnu-gcc: libsrc/Memory.cx86_64-linux-gnu-gcc: libsrc/AddFileFormats.c
x86_64-linux-gnu-gcc: libsrc/NclAdvancedFile.c x86_64-linux-gnu-gcc: libsrc/DataSupport.c x86_64-linux-gnu-gcc: libsrc/AdvancedFileSupport.c x86_64-linux-gnu-gcc: libsrc/GetGrids.c x86_64-linux-gnu-gcc: libsrc/AttSupport.c x86_64-linux-gnu-gcc: libsrc/cmpf.c x86_64-linux-gnu-gcc: libsrc/date.c x86_64-linux-gnu-gcc: libsrc/NclCCM.c x86_64-linux-gnu-gcc: libsrc/FileSupport.c x86_64-linux-gnu-gcc: libsrc/NclCoordVar.c x86_64-linux-gnu-gcc: libsrc/NclData.c x86_64-linux-gnu-gcc: libsrc/NclFile.c x86_64-linux-gnu-gcc: libsrc/NclFileVar.c x86_64-linux-gnu-gcc: libsrc/NclAdvancedGroup.c x86_64-linux-gnu-gcc: libsrc/InitData.c x86_64-linux-gnu-gcc: libsrc/NclGRIB.c x86_64-linux-gnu-gcc: libsrc/ListSupport.c x86_64-linux-gnu-gcc: libsrc/NclAtt.c x86_64-linux-gnu-gcc: libsrc/NclMultiDValData.c x86_64-linux-gnu-gcc: libsrc/NclNetCDF4.c x86_64-linux-gnu-gcc: libsrc/NclTypechar.c x86_64-linux-gnu-gcc: libsrc/NclOneDValCoordData.c x86_64-linux-gnu-gcc: libsrc/NclMultiDVallistData.c x86_64-linux-gnu-gcc: libsrc/NclTypedouble.c x86_64-linux-gnu-gcc: libsrc/NclType.c x86_64-linux-gnu-gcc: libsrc/NclTypebyte.c x86_64-linux-gnu-gcc: libsrc/NclMultiDValnclfileData.c x86_64-linux-gnu-gcc: libsrc/NclTypefloat.c x86_64-linux-gnu-gcc: libsrc/NclTypeint64.c x86_64-linux-gnu-gcc: libsrc/NclGroup.c x86_64-linux-gnu-gcc: libsrc/NclNetCdf.c x86_64-linux-gnu-gcc: libsrc/NclList.c x86_64-linux-gnu-gcc: libsrc/NclTypeint.c x86_64-linux-gnu-gcc: libsrc/NclTypelist.c x86_64-linux-gnu-gcc: libsrc/NclTypeobj.c x86_64-linux-gnu-gcc: libsrc/NclTypelogical.c x86_64-linux-gnu-gcc: libsrc/NclTypeuint.c x86_64-linux-gnu-gcc: libsrc/NclTypeshort.c x86_64-linux-gnu-gcc: libsrc/NclTypelong.c x86_64-linux-gnu-gcc: libsrc/NclVar.c x86_64-linux-gnu-gcc: libsrc/NclTypeuint64.c x86_64-linux-gnu-gcc: libsrc/NclTypestring.c x86_64-linux-gnu-gcc: libsrc/nioConvert.c x86_64-linux-gnu-gcc: libsrc/nio.c x86_64-linux-gnu-gcc: libsrc/NclTypeulong.c x86_64-linux-gnu-gcc: libsrc/nioError.c x86_64-linux-gnu-gcc: libsrc/NclTypeubyte.c x86_64-linux-gnu-gcc: libsrc/nioBase.c x86_64-linux-gnu-gcc: libsrc/niohlu.c x86_64-linux-gnu-gcc: libsrc/nioCallbacks.c x86_64-linux-gnu-gcc: libsrc/nioNclHLUStub.c x86_64-linux-gnu-gcc: libsrc/nioNresDB.c x86_64-linux-gnu-gcc: libsrc/nio_path.c x86_64-linux-gnu-gcc: libsrc/TypeSupport.c x86_64-linux-gnu-gcc: libsrc/NclTypeushort.c x86_64-linux-gnu-gcc: libsrc/VarSupport.c x86_64-linux-gnu-gcc: libsrc/nioQuarks.c x86_64-linux-gnu-gcc: libsrc/nioUtils.c x86_64-linux-gnu-gcc: libsrc/nio_io.c compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-DNeedFuncProto -DNIO_LIB_ONLY -D_POSIX_SOURCE -DByteSwapped -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -Ilibsrc -I/home/hafez/.local/lib/python3.8/site-packages/numpy/core/include -c' gfortran:f77: libsrc/llmisc.f gfortran:f77: libsrc/qu2reg3.f gfortran:f77: libsrc/ncepcode.f gfortran:f77: libsrc/llmap.f libsrc/qu2reg3.f:274:5:
274 | 200 CONTINUE | 1 Warning: Label 200 at (1) defined but not used [-Wunused-label] libsrc/qu2reg3.f:208:5:
208 | 100 CONTINUE | 1 Warning: Label 100 at (1) defined but not used [-Wunused-label] libsrc/ncepcode.f:2015:72:
2015 | 100 E(I-1) = E(I) | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1) libsrc/ncepcode.f:1878:18:
1878 | SLAT(J)=SLATD(J) | 1 Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion] libsrc/ncepcode.f:1879:18:
1879 | WLAT(J)=(2.*(1.-SLATD(J)*2))/(JMAXPKM1(J))**2 | 1 Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion] libsrc/ncepcode.f:1990:5:
1990 | 20 DO 40 I = 1, N | 1 Warning: Label 20 at (1) defined but not used [-Wunused-label] libsrc/ncepcode.f:1950:10:
1949 | DO 100 J=2,N | 2 1950 | WRK(J)= (J-1.D0)/DSQRT((2.D0J-1.D0)(2.D0*J-3.D0)) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) libsrc/ncepcode.f:1952:17:
1949 | DO 100 J=2,N | 2 ...... 1952 | E(J) = WRK(J) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) libsrc/ncepcode.f:1980:38:
1980 | SUBROUTINE DRSTNIO(NM,N,W,E,MATZ,Z,IERR) | 1 Warning: Unused dummy argument ‘matz’ at (1) [-Wunused-dummy-argument] libsrc/ncepcode.f:1837:21:
1837 | INTEGER JHE,JHO,J0,NEXP | 1 Warning: Unused variable ‘jho’ declared at (1) [-Wunused-variable] gfortran:f77: libsrc/rowina3.f libsrc/rowina3.f:308:5:
308 | 300 CONTINUE | 1 Warning: Label 300 at (1) defined but not used [-Wunused-label] libsrc/rowina3.f:248:5:
248 | 200 CONTINUE | 1 Warning: Label 200 at (1) defined but not used [-Wunused-label] libsrc/rowina3.f:130:5:
130 | 100 CONTINUE | 1 Warning: Label 100 at (1) defined but not used [-Wunused-label] libsrc/rowina3.f:172:19:
172 | IP = ZWT | 1 Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion] libsrc/rowina3.f:217:21:
217 | IP = ZWT | 1 Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion] libsrc/rowina3.f:295:17:
295 | IP = ZWT+1 | 1 Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion] gfortran:f77: libsrc/scm0.f libsrc/llmap.f:2251:72:
2251 | IF (IPRJ-11) 100,197,113 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) libsrc/llmap.f:2256:72:
2256 | 100 IF (IPRJ-1) 101,102,103 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) libsrc/llmap.f:2426:72:
2426 | 113 IF (IPRJ-13) 114,115,116 | 1 Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1) libsrc/rowina3.f:209:0:
Warning: ‘ip’ may be used uninitialized in this function [-Wmaybe-uninitialized] libsrc/llmap.f:1466:5:
1466 | 641 RLAT=CLAT | 1 Warning: Label 641 at (1) defined but not used [-Wunused-label] libsrc/llmap.f:2460:5:
2460 | 199 U=U-UOFF | 1 Warning: Label 199 at (1) defined but not used [-Wunused-label] libsrc/llmap.f:2222:31:
2222 | DOUBLE PRECISION MDGDDP,RBGDFE,RBGLEN | 1 Warning: Unused variable ‘mdgddp’ declared at (1) [-Wunused-variable] libsrc/llmap.f:2218:29:
2218 | REAL USNG,VSNG | 1 Warning: Unused variable ‘usng’ declared at (1) [-Wunused-variable] libsrc/llmap.f:2218:34:
2218 | REAL USNG,VSNG | 1 Warning: Unused variable ‘vsng’ declared at (1) [-Wunused-variable] libsrc/llmap.f:1832:29:
1832 | REAL SLAT,SLON | 1 Warning: Unused variable ‘slat’ declared at (1) [-Wunused-variable] libsrc/llmap.f:1832:34:
1832 | REAL SLAT,SLON | 1 Warning: Unused variable ‘slon’ declared at (1) [-Wunused-variable] libsrc/scm0.f:41:5:
41 | 100 CONTINUE | 1 Warning: Label 100 at (1) defined but not used [-Wunused-label] x86_64-linux-gnu-gcc-ar: adding 50 object files to build/temp.linux-x86_64-3.8/libnio.a x86_64-linux-gnu-gcc-ar: adding 19 object files to build/temp.linux-x86_64-3.8/libnio.a running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext extending extension 'PyNIO._nio' defined_macros with [('NeedFuncProto', None), ('NIO_LIB_ONLY', None), ('_POSIX_SOURCE', None), ('ByteSwapped', None)] customize UnixCCompiler customize UnixCCompiler using build_ext get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'PyNIO._nio' extension compiling C sources C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
~In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from niomodule.c:24: /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here 84~~~ niomodule.c: In function ‘typecode’: niomodule.c:790:2: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations] 790~~~ niomodule.c: In function ‘_convertCOMPOUND2Obj’: niomodule.c:5273:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5273~In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from niomodule.c:24: /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here 84~~~ niomodule.c:5299:5: warning: ‘NPY_CHAR’ is deprecated: Use NPY_STRING [-Wdeprecated-declarations] 5299~In file included from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from niomodule.c:24: /home/hafez/.local/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:84:21: note: declared here 84~~~ niomodule.c: In function ‘_convertObj2COMPOUND’: niomodule.c:5701:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5701~~~niomodule.c: In function ‘NioVariable_WriteArray’: niomodule.c:5776:20: warning: variable ‘dimrec’ set but not used [-Wunused-but-set-variable] 5776 | NclFileDimRecord dimrec = NULL; | ^
~niomodule.c: In function ‘NioVariableObject_ass_slice’: niomodule.c:6556:40: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow] 6556 | if (indices->start < PY_SSIZE_T_MIN 100) | ^ niomodule.c: In function ‘NioVariableObject_ass_subscript’: niomodule.c:6626:41: warning: integer overflow in expression of type ‘long int’ results in ‘0’ [-Woverflow] 6626 | if (indices->start < PY_SSIZE_T_MIN * 100) | ^ x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so x86_64-linux-gnu-g++: error: : No such file or directory error: Command "x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/niomodule.o -Llibsrc -Lbuild/temp.linux-x86_64-3.8 -lnio -ljpeg -lpng -lz -lnetcdf -o build/lib.linux-x86_64-3.8/PyNIO/_nio.cpython-38-x86_64-linux-gnu.so" failed with exit status 1ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"'; file='"'"'/tmp/pip-req-build-3kmcfei0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-2u8mgvoj/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/hafez/.local/include/python3.8/PyNIO Check the logs for full command output. hafez@LAPTOP-G6UK4AFP:~$