GEOS-ESM / ESMA_cmake

Custom CMake macros for the GEOS Earth System Model
Apache License 2.0
4 stars 9 forks source link

Make f2py noisier if building Debug #197

Closed mathomp4 closed 3 years ago

mathomp4 commented 3 years ago

In working with @patricia-nasa and others doing a lot of f2py work, they often need to remove the &> /dev/null from the macros to let them see why f2py is failing.

So with this PR, if you build with Debug CMAKE_BUILD_TYPE then we make f2py noisy again. But we only do this if you are doing Debug as f2py is very noisy even when things are working!

Making draft for now so I can test on discover with a GEOS build. I'll then rope in @tclune to approve.

mathomp4 commented 3 years ago

As an example of why we only do this with Debug, here is the make output with Release:

$ make GFIO_ |& tee makegfio.log
Scanning dependencies of target GMAO_mpeu
[  0%] Building Fortran object src/Shared/@GMAO_Shared/GMAO_mpeu/CMakeFiles/GMAO_mpeu.dir/m_mpif.F.o
...
[100%] Built target GMAO_gfio_r4
[100%] [F2PY2] Building Fortran to Python2 interface module GFIO_
Running Python2 import test on GFIO_
[100%] Built target GFIO_

And now Debug:

$ make GFIO_ |& tee makegfio.log
Scanning dependencies of target GMAO_mpeu
[  0%] Building Fortran object src/Shared/@GMAO_Shared/GMAO_mpeu/CMakeFiles/GMAO_mpeu.dir/m_mpif.F.o
...
[100%] Built target GMAO_gfio_r4
[100%] [F2PY2] Building Fortran to Python2 interface module GFIO_
analyzevars: charselector={'len': '256'} unhandled.analyzevars: charselector={'len': '256'} unhandled.analyzevars: charselector={'len': '256'} unhandled.analyzevars: charselector={'len': '256'} unhandled.analyzevars: charselector={'len': '256'} unhandled.analyzevars: charselector={'len': '256'} unhandled.Reading fortran codes...
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/GFIO_py.F90' (format:free)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
    Reading file '/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf/netcdf.inc' (format:fix)
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/gfio.h' (format:fix)
Post-processing...
    Block: GFIO_
            Block: gfiocreate
            Block: gfioopen
            Block: gfioputvar
            Block: gfiogetvart
            Block: gfiogetvar
            Block: gfiodiminquire
            Block: gfioinquire
            Block: gfioclose
            Block: gfiogetbegdatetime
            Block: gfiointerpxy
In: :GFIO_:/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/GFIO_py.F90:gfiointerpxy
get_parameters: got "name 'interpxy' is not defined" on 'interpxy'
            Block: gfiointerpnn
In: :GFIO_:/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/GFIO_py.F90:gfiointerpnn
get_parameters: got "name 'interpnn' is not defined" on 'interpnn'
            Block: gfiocoordnn
In: :GFIO_:/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/GFIO_py.F90:gfiocoordnn
get_parameters: got "name 'coordnn' is not defined" on 'coordnn'
Post-processing (stage 2)...
Saving signatures to file "/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/GFIO_.pyf"
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 extension "GFIO_" sources
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_
f2py options: ['only:', 'gfioopen', 'gfiocreate', 'gfiodiminquire', 'gfioinquire', 'gfiogetvar', 'gfiogetvart', 'gfioputvar', 'gfiogetbegdatetime', 'gfiointerpxy', 'gfiointerpnn', 'gfiocoordnn', 'gfioclose', ':']
f2py: /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/GFIO_.pyf
Reading fortran codes...
    Reading file '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/GFIO_.pyf' (format:free)
Post-processing...
    Block: GFIO_
            Block: gfiocreate
            Block: gfioopen
            Block: gfioputvar
            Block: gfiogetvart
            Block: gfiogetvar
            Block: gfiodiminquire
            Block: gfioinquire
            Block: gfioclose
            Block: gfiogetbegdatetime
            Block: gfiointerpxy
            Block: gfiointerpnn
            Block: gfiocoordnn
Post-processing (stage 2)...
Building modules...
    Building module "GFIO_"...
        Constructing wrapper function "gfiocreate"...
          fid,rc = gfiocreate(fname,title,source,contact,amiss,lon,lat,levs,levunits,yyyymmdd_beg,hhmmss_beg,timinc,vname,vtitle,vunits,kmvar,valid_range,packing_range,prec,[im,jm,km,nvars])
        Constructing wrapper function "gfioopen"...
          fid,rc = gfioopen(fname,fmode)
        Constructing wrapper function "gfioputvar"...
          rc = gfioputvar(fid,vname,yyyymmdd,hhmmss,kbeg,grid,[im,jm,kount])
        Constructing wrapper function "gfiogetvart"...
          grid,rc = gfiogetvart(fid,vname,yyyymmdd,hhmmss,im,jm,kbeg,kount,fid2)
        Constructing wrapper function "gfiogetvar"...
          grid,rc = gfiogetvar(fid,vname,yyyymmdd,hhmmss,im,jm,kbeg,kount)
        Constructing wrapper function "gfiodiminquire"...
          im,jm,km,lm,nvars,ngatts,rc = gfiodiminquire(fid)
        Constructing wrapper function "gfioinquire"...
          title,source,contact,amiss,lon,lat,levs,levunits,yyyymmdd,hhmmss,timinc,vname,vtitle,vunits,kmvar,valid_range,packing_range,rc = gfioinquire(fid,im,jm,km,lm,nvars)
        Constructing wrapper function "gfioclose"...
          rc = gfioclose(fid)
        Constructing wrapper function "gfiogetbegdatetime"...
          begdate,begtime,incsecs,rc = gfiogetbegdatetime(fid)
        Constructing wrapper function "gfiointerpxy"...
          ofield = gfiointerpxy(lon,lat,lon_0,gfield,[nobs,im,jm,km])
        Constructing wrapper function "gfiointerpnn"...
          ofield = gfiointerpnn(lon,lat,lon_0,gfield,[nobs,im,jm,km])
        Constructing wrapper function "gfiocoordnn"...
          icoord,jcoord = gfiocoordnn(lon,lat,im,jm,lon_0,[nobs])
    Wrote C/API module "GFIO_" to file "/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/GFIO_module.c"
  adding '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.c' to sources.
  adding '/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_' to include_dirs.
copying /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.c -> /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_
copying /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.h -> /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_
build_src: building npy-pkg config files
running build_ext
customize UnixCCompiler
C compiler: /usr/local/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/icc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/gpfsm
creating /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/gpfsm/dnb44
creating /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/gpfsm/dnb44/tdirs
creating /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/gpfsm/dnb44/tdirs/batch
creating /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4
creating /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf
compile options: '-MMD -MF /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/file.c.d -c'
icc: /gpfsm/dnb44/tdirs/batch/slurm.45156781.mathomp4/tmpBVpqvf/file.c
customize UnixCCompiler using build_ext
customize IntelEM64TFCompiler
Found executable /gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/ifort
Found executable /gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/ifort
customize IntelEM64TFCompiler using build_ext
building 'GFIO_' extension
compiling C sources
C compiler: /usr/local/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/icc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_
compile options: '-I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4 -I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/lib -I/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/lib -I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/include/GMAO_gfio_r4 -I/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf -I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_ -I/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include -I/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/include/python2.7 -c'
icc: /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/GFIO_module.c
icc: /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.c
In file included from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
In file included from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
                 from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.h(13),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/GFIO_module.c(16):
                 from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.h(13),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.c(2):
/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(84): warning #2650: attributes ignored here
                      NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
                               ^

/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(84): warning #2650: attributes ignored here
                      NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
                               ^

In file included from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1822),
In file included from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1822),
                 from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
                 from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.h(13),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.c(2):
/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17): warning #1224: #warning directive: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
  #warning "Using deprecated NumPy API, disable it with " \
   ^

                 from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
                 from /usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.h(13),
                 from /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/GFIO_module.c(16):
/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17): warning #1224: #warning directive: "Using deprecated NumPy API, disable it with "          "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
  #warning "Using deprecated NumPy API, disable it with " \
   ^

compiling Fortran sources
Fortran f77 compiler: /usr/local/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/ifort -fPIC -fp-model strict -O1 -qopenmp 
Fortran f90 compiler: /usr/local/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/ifort -FR -fPIC -fp-model strict -O1 -qopenmp 
Fortran fix compiler: /usr/local/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/ifort -FI -fPIC -fp-model strict -O1 -qopenmp 
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared
creating /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio
compile options: '-I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4 -I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/lib -I/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/lib -I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/include/GMAO_gfio_r4 -I/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf -I/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_ -I/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib/python2.7/site-packages/numpy/core/include -I/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/include/python2.7 -c'
ifort:f90: /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/GFIO_py.F90
ifort: command line warning #10159: invalid argument for option '-fp-model'
/gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/bin/intel64/ifort -shared -shared -nofor_main /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/GFIO_module.o /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/src.linux-x86_64-2.7/f2py2-GFIO_/fortranobject.o /discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4/f2py2-GFIO_/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/src/Shared/@GMAO_Shared/GMAO_gfio/GFIO_py.o -L/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4 -L/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/lib -L/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/lib -L/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/include/GMAO_gfio_r4 -L/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf -L/gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib -L/gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib/release -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/src/Shared/@GMAO_Shared/GMAO_gfio_r4 -L/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/lib -L/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/lib -L/discover/swdev/mathomp4/Models/GEOSgcm-NoisyF2PYTest/GEOSgcm/build-Debug/include/GMAO_gfio_r4 -L/discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-6.2.4/x86_64-pc-linux-gnu/ifort_19.1.3.304-intelmpi_19.1.3.304/Linux/include/netcdf -L/gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib -L/gpfsm/dulocal/sles12/intel/2020/compilers_and_libraries_2020.4.304/linux/mpi/intel64/lib/release -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/local/other/python/GEOSpyD/4.8.3_py2.7/2020-08-11/lib -lGMAO_gfio_r4 -lnetcdff -lnetcdf -lmfhdf -ldf -lhdf5_hl -lhdf5 -lsz -ljpeg -lgpfs -ldl -lcurl -lssl -lcrypto -lz -lm -lmpifort -lmpi -ldl -lrt -lpthread -lGMAO_gfio_r4 -lnetcdff -lnetcdf -lmfhdf -ldf -lhdf5_hl -lhdf5 -lsz -ljpeg -lgpfs -ldl -lcurl -lssl -lcrypto -lz -lm -lmpifort -lmpi -ldl -lrt -lpthread -lpython2.7 -o ./GFIO_.so
Running Python2 import test on GFIO_
[100%] Built target GFIO_
mathomp4 commented 3 years ago

GEOS seems to build with this, so I didn't break anything crucial 😄