keflavich / pyradex

Python interface to RADEX
BSD 3-Clause "New" or "Revised" License
18 stars 12 forks source link

Can't Install Pyradex on MacOS10.15 #33

Closed eddieh99 closed 3 years ago

eddieh99 commented 3 years ago

Hello I am having trouble installing Pyradex. Initially I did not have Fortran installed on my mac and got this error: error: numpy.distutils.fcompiler.CompilerNotFound: gnu95: f90 nor f77. After brew install gcc and creating links between fortran and Xcode I still was unable to install and now get this error: Command "/usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -arch x86_64 -fPIC -arch x86_64 -fPIC -O3 -funroll-loops -I/Users/eddieherndon/pyradex/Radex/src -I/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7 -I/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/opt/anaconda3/include/python3.7m -c -c /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f -o /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.o" failed with exit status 1. I am running MacOS10.15

keflavich commented 3 years ago

Could you give fortran version info? i.e.

$ gfortran --version
GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

also, confirm that you have f2py installed, and say something about its version. If you just run f2py, it will print something like:

Version:     2
numpy Version: 1.19.4
Requires:    Python 3.5 or higher.
License:     NumPy license (see LICENSE.txt in the NumPy source code)
Copyright 1999 - 2011 Pearu Peterson all rights reserved.
http://cens.ioc.ee/projects/f2py2e/

at the end

eddieh99 commented 3 years ago

Here is my fortran version info (GCC 10.2.0_4): GNU Fortran (Homebrew GCC 10.2.0_4) 10.2.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here is confirmation of f2py installation: Version: 2 numpy Version: 1.19.5 Requires: Python 3.5 or higher. License: NumPy license (see LICENSE.txt in the NumPy source code) Copyright 1999 - 2011 Pearu Peterson all rights reserved. http://cens.ioc.ee/projects/f2py2e/

keflavich commented 3 years ago

ok thanks. hm.

can you post the complete log from running the install command, including the command? I don't see anything obviously wrong, but I wonder if there's an issue with the latest gcc version.

eddieh99 commented 3 years ago

Sure thing: Not sure if all these flags are necessary but running setup.py without these run into the same problem.

FFLAGS='-arch x86_64 -fPIC' CFLAGS='-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -g -O2' LDFLAGS='-arch x86_64 -undefined dynamic_lookup -bundle' python setup.py install_radex
/opt/anaconda3/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)

running install_radex
Downloading RADEX
Download succeeded, or at least didn't obviously fail.
Extracting RADEX source from file /Users/eddieherndon/.astropy/cache/download/py3/1defa05c60c0df7c847ebc33345310c6
Reading fortran codes...
    Reading file 'main.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in main.f:"      integer niter   ! iteration counter"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #26 in main.f:"      integer imore   ! are we running again?"
    updatevars: could not crack entity declaration "imore!". Ignoring.
Line #26 in main.f:"      integer imore   ! are we running again?"
    updatevars: could not crack entity declaration "again?". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: could not crack entity declaration "conv!". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: attempt to change the type of "are" ("integer") to "logical". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: attempt to change the type of "we" ("integer") to "logical". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: could not crack entity declaration "converged?". Ignoring.
    Reading file 'background.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
    Reading file 'radex.inc' (format:fix)
    Reading file 'slatec.f' (format:fix,strict)
    Reading file 'matrix.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in matrix.f:"      integer niter            ! iteration counter"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #26 in matrix.f:"      integer ilev,jlev,klev   ! to loop over energy levels"
    updatevars: could not crack entity declaration "klev!". Ignoring.
Line #27 in matrix.f:"      integer nplus            ! to solve statistical equilibrium"
    updatevars: could not crack entity declaration "nplus!". Ignoring.
Line #28 in matrix.f:"      integer iline            ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #29 in matrix.f:"      integer m,n              ! line upper/lower levels"
    updatevars: could not crack entity declaration "n!". Ignoring.
Line #29 in matrix.f:"      integer m,n              ! line upper/lower levels"
    updatevars: could not crack entity declaration "upper/lower". Ignoring.
Line #30 in matrix.f:"      integer nthick           ! counts optically thick lines"
    updatevars: could not crack entity declaration "nthick!". Ignoring.
Line #31 in matrix.f:"      integer nfat             ! counts highly optically thick lines"
    updatevars: could not crack entity declaration "nfat!". Ignoring.
Line #32 in matrix.f:"      integer nreduce          ! size of reduced rate matrix"
    updatevars: could not crack entity declaration "nreduce!". Ignoring.
rmbadname1: Replacing "size" with "size_bn".
Line #34 in matrix.f:"      integer indx,dsign       ! needed for NumRep equation solver"
    updatevars: could not crack entity declaration "dsign!". Ignoring.
rmbadname1: Replacing "for" with "for_bn".
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: could not crack entity declaration "rhs(maxlev)!". Ignoring.
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "of" ("integer") to "real". Ignoring.
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "equation" ("integer") to "real". Ignoring.
Line #37 in matrix.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: could not crack entity declaration "yrate(maxlev,maxlev)!". Ignoring.
Line #37 in matrix.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #37 in matrix.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: attempt to change the type of "matrix" ("integer") to "real". Ignoring.
Line #38 in matrix.f:"      real*8 etr,exr               ! to calculate radiative rates"
    updatevars: could not crack entity declaration "exr!". Ignoring.
Line #38 in matrix.f:"      real*8 etr,exr               ! to calculate radiative rates"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #39 in matrix.f:"      real*8 xt                    ! frequency cubed"
    updatevars: could not crack entity declaration "xt!". Ignoring.
Line #40 in matrix.f:"      real*8 hnu                   ! photon energy"
    updatevars: could not crack entity declaration "hnu!". Ignoring.
Line #40 in matrix.f:"      real*8 hnu                   ! photon energy"
    updatevars: attempt to change the type of "energy" ("integer") to "real". Ignoring.
Line #41 in matrix.f:"      real*8 bnutex                ! line source function"
    updatevars: could not crack entity declaration "bnutex!". Ignoring.
Line #41 in matrix.f:"      real*8 bnutex                ! line source function"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #42 in matrix.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: could not crack entity declaration "cddv!". Ignoring.
Line #42 in matrix.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: attempt to change the type of "n" ("integer") to "real". Ignoring.
Line #42 in matrix.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: could not crack entity declaration "n(mol)/delta". Ignoring.
Line #43 in matrix.f:"      real*8 beta,escprob          ! escape probability"
    updatevars: could not crack entity declaration "escprob!". Ignoring.
Line #45 in matrix.f:"      real*8 bnu                   ! Planck function"
    updatevars: could not crack entity declaration "bnu!". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: could not crack entity declaration "uarray(maxlev,maxlev)!". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "reduced" ("integer") to "real". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "matrix" ("integer") to "real". Ignoring.
Line #47 in matrix.f:"      real*8 redcrit               ! reduction criterion"
    updatevars: could not crack entity declaration "redcrit!". Ignoring.
Line #48 in matrix.f:"      real*8 sumx                  ! summed radiative rate"
    updatevars: could not crack entity declaration "sumx!". Ignoring.
Line #48 in matrix.f:"      real*8 sumx                  ! summed radiative rate"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #49 in matrix.f:"      real*8 total                 ! to normalize populations"
    updatevars: could not crack entity declaration "total!". Ignoring.
Line #49 in matrix.f:"      real*8 total                 ! to normalize populations"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #51 in matrix.f:"      real*8 tsum,thistex          ! to check convergence"
    updatevars: could not crack entity declaration "thistex!". Ignoring.
Line #51 in matrix.f:"      real*8 tsum,thistex          ! to check convergence"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #54 in matrix.f:"      logical conv                 ! are we converged?"
    updatevars: could not crack entity declaration "conv!". Ignoring.
Line #54 in matrix.f:"      logical conv                 ! are we converged?"
    updatevars: could not crack entity declaration "converged?". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #329 in matrix.f:"      real*8 taur  !optical radius"
    updatevars: could not crack entity declaration "taur!optical". Ignoring.
    Reading file 'io.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #24 in io.f:"      integer length       ! subroutine to determine"
    updatevars: could not crack entity declaration "length!". Ignoring.
Line #26 in io.f:"      integer ipart        ! loop over collision partners"
    updatevars: could not crack entity declaration "ipart!". Ignoring.
Line #27 in io.f:"      character*10 partner ! name of collision partner"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #27 in io.f:"      character*10 partner ! name of collision partner"
    updatevars: attempt to change the type of "collision" ("integer") to "character". Ignoring.
updatevars:collision: attempt to change empty charselector to {'*': '10'}. Ignoring.
Line #30 in io.f:"      integer id           ! ID code of collision partner"
    updatevars: could not crack entity declaration "id!". Ignoring.
Line #30 in io.f:"      integer id           ! ID code of collision partner"
    updatevars: attempt to change the type of "of" ("character") to "integer". Ignoring.
Line #30 in io.f:"      integer id           ! ID code of collision partner"
    updatevars: attempt to change the type of "partner" ("character") to "integer". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #162 in io.f:"      integer ipart  ! to loop over collision partners"
    updatevars: could not crack entity declaration "ipart!". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #201 in io.f:"      integer iline    ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #202 in io.f:"      integer m,n      ! upper & lower level of the line"
    updatevars: could not crack entity declaration "n!". Ignoring.
Line #202 in io.f:"      integer m,n      ! upper & lower level of the line"
    updatevars: no name pattern found for entity='&'. Skipping.
Line #204 in io.f:"      integer niter    ! final number of iterations"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #208 in io.f:"      real*8 xt        ! frequency cubed"
    updatevars: could not crack entity declaration "xt!". Ignoring.
Line #209 in io.f:"      real*8 hnu       ! photon energy"
    updatevars: could not crack entity declaration "hnu!". Ignoring.
Line #210 in io.f:"      real*8 bnutex    ! line source function"
    updatevars: could not crack entity declaration "bnutex!". Ignoring.
Line #210 in io.f:"      real*8 bnutex    ! line source function"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #211 in io.f:"      real*8 ftau      ! exp(-tau)"
    updatevars: could not crack entity declaration "ftau!". Ignoring.
Line #212 in io.f:"      real*8 toti      ! background intensity"
    updatevars: could not crack entity declaration "toti!". Ignoring.
Line #213 in io.f:"      real*8 tbl       ! black body temperature"
    updatevars: could not crack entity declaration "tbl!". Ignoring.
Line #214 in io.f:"      real*8 wh        ! Planck correction"
    updatevars: could not crack entity declaration "wh!". Ignoring.
Line #215 in io.f:"      real*8 tback     ! background temperature"
    updatevars: could not crack entity declaration "tback!". Ignoring.
Line #216 in io.f:"      real*8 ta        ! line antenna temperature"
    updatevars: could not crack entity declaration "ta!". Ignoring.
Line #216 in io.f:"      real*8 ta        ! line antenna temperature"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #217 in io.f:"      real*8 tr        ! line radiation temperature"
    updatevars: could not crack entity declaration "tr!". Ignoring.
Line #217 in io.f:"      real*8 tr        ! line radiation temperature"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #218 in io.f:"      real*8 beta,escprob ! escape probability"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #220 in io.f:"      real*8 bnu       ! Planck function"
    updatevars: could not crack entity declaration "bnu!". Ignoring.
Line #221 in io.f:"      real*8 kkms      ! line integrated intensity (K km/s)"
    updatevars: could not crack entity declaration "kkms!". Ignoring.
Line #221 in io.f:"      real*8 kkms      ! line integrated intensity (K km/s)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #222 in io.f:"      real*8 ergs      ! line flux (erg / s / cm^2)"
    updatevars: could not crack entity declaration "ergs!". Ignoring.
Line #222 in io.f:"      real*8 ergs      ! line flux (erg / s / cm^2)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #227 in io.f:"      real*8 wavel     ! line wavelength (micron)"
    updatevars: could not crack entity declaration "wavel!". Ignoring.
Line #227 in io.f:"      real*8 wavel     ! line wavelength (micron)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
    Reading file 'readdata.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in readdata.f:"      integer ilev,jlev   ! to loop over energy levels"
    updatevars: could not crack entity declaration "jlev!". Ignoring.
Line #26 in readdata.f:"      integer iline       ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #27 in readdata.f:"      integer ipart,jpart ! to loop over collision partners"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #28 in readdata.f:"      integer itemp       ! to loop over collision temperatures"
    updatevars: could not crack entity declaration "itemp!". Ignoring.
Line #29 in readdata.f:"      integer icoll       ! to loop over collisional transitions"
    updatevars: could not crack entity declaration "icoll!". Ignoring.
Line #31 in readdata.f:"      integer dummy       ! to skip part of the file"
    updatevars: could not crack entity declaration "dummy!". Ignoring.
Line #34 in readdata.f:"      integer id(maxpart)      ! to identify collision partners"
    updatevars: could not crack entity declaration "id(maxpart)!". Ignoring.
Line #40 in readdata.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: could not crack entity declaration "temp(maxtemp)!". Ignoring.
Line #40 in readdata.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: attempt to change the type of "collision" ("integer") to "real". Ignoring.
Line #40 in readdata.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: attempt to change the type of "temperatures" ("integer") to "real". Ignoring.
Line #43 in readdata.f:"      character*120 collref ! text about source of collisional data"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #43 in readdata.f:"      character*120 collref ! text about source of collisional data"
    updatevars: attempt to change the type of "of" ("integer") to "character". Ignoring.
updatevars:of: attempt to change empty charselector to {'*': '120'}. Ignoring.
Line #43 in readdata.f:"      character*120 collref ! text about source of collisional data"
    updatevars: attempt to change the type of "collisional" ("integer") to "character". Ignoring.
updatevars:collisional: attempt to change empty charselector to {'*': '120'}. Ignoring.
Post-processing...
    Block: radex
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: backrad
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: galbr
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: splcoeff
    Block: splintrp
    Block: ludcmp
    Block: lubksb
    Block: sgeir
    Block: r1mach
    Block: sasum
    Block: scopy
    Block: sdsdot
    Block: sgefa
    Block: isamax
    Block: saxpy
    Block: sscal
    Block: sgesl
    Block: sdot
    Block: xermsg
    Block: j4save
    Block: xercnt
    Block: xerhlt
    Block: xerprn
    Block: i1mach
    Block: xgetua
    Block: xersve
analyzevars: character array "character*8 libtab(10)" is considered as "character libtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*8 subtab(10)" is considered as "character subtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*20 mestab(10)" is considered as "character mestab(10,20)"; "intent(c)" is forced.
    Block: fdump
    Block: matrix
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: escprob
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: getinputs
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: defaults
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: length
    Block: output
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
In: io.f:output
    getarrlen:variable "micron" undefined
    Block: readdata
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
Post-processing (stage 2)...
Saving signatures to file "./radex.pyf"
rmbadname1: Replacing "size" with "size_bn".
rmbadname1: Replacing "for" with "for_bn".
updatevars:collision: attempt to change empty charselector to {'*': '10'}. Ignoring.
updatevars:of: attempt to change empty charselector to {'*': '120'}. Ignoring.
updatevars:collisional: attempt to change empty charselector to {'*': '120'}. Ignoring.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*8 libtab(10)" is considered as "character libtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*8 subtab(10)" is considered as "character subtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*20 mestab(10)" is considered as "character mestab(10,20)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/src.macosx-10.9-x86_64-3.7/fortranobject.c:2:
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/src.macosx-10.9-x86_64-3.7/fortranobject.h:13:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: 
      "Using deprecated NumPy API, disable it with "          "#define
      NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/src.macosx-10.9-x86_64-3.7/radexmodule.c:16:
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/src.macosx-10.9-x86_64-3.7/fortranobject.h#warning "Using deprecated NumPy API, disable it with " \:
13:
 ^In file included from 
/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: 
      "Using deprecated NumPy API, disable it with "          "#define
      NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/src.macosx-10.9-x86_64-3.7/radexmodule.c:177:12: warning: 
      unused function 'f2py_size' [-Wunused-function]
static int f2py_size(PyArrayObject* var, ...)
           ^
1 warning generated.
2 warnings generated.
f951: Warning: Nonconforming tab character in column 1 of line 4022 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4044 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4045 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4046 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4048 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4049 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4050 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4074 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4075 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4076 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4077 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4113 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4135 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4136 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4139 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4241 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4242 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4260 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4264 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4265 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4619 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4620 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4621 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4623 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4624 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4625 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4626 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4627 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4628 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4630 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4631 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4632 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4633 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4634 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4635 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4636 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4637 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4638 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4639 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4640 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4641 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4642 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4643 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4644 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4645 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4646 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4647 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4649 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4652 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4653 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4658 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4659 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4660 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4661 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4662 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4663 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4664 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4665 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4666 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4667 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4668 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4669 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4672 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4686 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4961 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4962 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4963 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4964 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4965 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4966 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4968 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4969 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4978 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4979 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4980 [-Wtabs]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:492:72:

  492 |       if (h.eq.0.d0) pause 'Warning: bad xin input in splintrp '
      |                                                                        
Warning: Deleted feature: PAUSE statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:1340:72:

 1340 |       IF (INCX .EQ. INCY) IF (INCX-1) 5,20,60
      |                                                                        
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:1720:72:

 1720 |       IF (INCX .EQ. INCY) IF (INCX-1) 5,20,60
      |                                                                        
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:2028:72:

 2028 |       IF (INCX .EQ. INCY) IF (INCX-1) 5,20,60
      |                                                                        
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4022:32:

 4022 |    real*8 xpopold(maxlev)
      |                                1
Warning: Nonconforming tab character at (1) [-Wtabs]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4395:3:

 4395 |  41   write(*,21) 'Minimum and maximum output frequency [GHz] ? '
      |   1
Warning: Label 41 at (1) defined but not used [-Wunused-label]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:776:12:

  776 |       IND = -LOG10(MAX(R1MACH(4),DNORM/XNORM))
      |            1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4575:31:

 4575 |      $      //version(1:length(version))
      |                               1
Warning: Character length of actual argument shorter than of dummy argument 'st' (20/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4193:42:

 4193 |       call ludcmp(uarray,nreduce+1,maxlev,indx,dsign)
      |                                          1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4194:42:

 4194 |       call lubksb(uarray,nreduce+1,maxlev,indx,rhs)
      |                                          1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4211:40:

 4211 |          call ludcmp(yrate,nplus,maxlev,indx,dsign)
      |                                        1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4212:40:

 4212 |          call lubksb(yrate,nplus,maxlev,indx,rhs)
      |                                        1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4388:36:

 4388 |      $     molfile = radat(1:length(radat))//molfile(1:length(molfile))
      |                                    1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4388:62:

 4388 |      $     molfile = radat(1:length(radat))//molfile(1:length(molfile))
      |                                                              1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4389:36:

 4389 |       write(13,20) molfile(1:length(molfile))
      |                                    1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f:4393:36:

 4393 |       write(13,20) outfile(1:length(outfile))
      |                                    1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
error: Command "/usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -arch x86_64 -fPIC -arch x86_64 -fPIC -O3 -funroll-loops -I/Users/eddieherndon/pyradex/Radex/src -I/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/src.macosx-10.9-x86_64-3.7 -I/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/opt/anaconda3/include/python3.7m -c -c /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.f -o /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpmw5k6xsh/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpiyul43c2.o" failed with exit status 1

Traceback (most recent call last):
  File "setup.py", line 137, in <module>
    'install_fjdu': InstallFjdu,
  File "/opt/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/opt/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 44, in run
    install_radex.install_radex()
  File "/Users/eddieherndon/pyradex/install_radex.py", line 22, in install_radex
    compile_radex()
  File "/Users/eddieherndon/pyradex/install_radex.py", line 154, in compile_radex
    raise SystemError("f2py failed with error %i" % r2)
SystemError: f2py failed with error 1
(base) Eddies-MBP:pyradex eddieherndon$ sudo ln -s /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
ln: /usr/local/bin/gfortran: File exists
(base) Eddies-MBP:pyradex eddieherndon$ sudo ln -s /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
(base) Eddies-MBP:pyradex eddieherndon$ sudo ln -s /usr/local/Cellar/gcc@10/10.2.0_4/lib/gcc/10 /usr/local/gfortran/lib
(base) Eddies-MBP:pyradex eddieherndon$ FFLAGS='-arch x86_64 -fPIC' CFLAGS='-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -g -O2' LDFLAGS='-arch x86_64 -undefined dynamic_lookup -bundle' python setup.py install_radex
/opt/anaconda3/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running install_radex
Downloading RADEX
Download succeeded, or at least didn't obviously fail.
Extracting RADEX source from file /Users/eddieherndon/.astropy/cache/download/py3/1defa05c60c0df7c847ebc33345310c6
Reading fortran codes...
    Reading file 'main.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in main.f:"      integer niter   ! iteration counter"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #26 in main.f:"      integer imore   ! are we running again?"
    updatevars: could not crack entity declaration "imore!". Ignoring.
Line #26 in main.f:"      integer imore   ! are we running again?"
    updatevars: could not crack entity declaration "again?". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: could not crack entity declaration "conv!". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: attempt to change the type of "are" ("integer") to "logical". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: attempt to change the type of "we" ("integer") to "logical". Ignoring.
Line #29 in main.f:"      logical conv    ! are we converged?"
    updatevars: could not crack entity declaration "converged?". Ignoring.
    Reading file 'background.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
    Reading file 'radex.inc' (format:fix)
    Reading file 'slatec.f' (format:fix,strict)
    Reading file 'matrix.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in matrix.f:"      integer niter            ! iteration counter"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #26 in matrix.f:"      integer ilev,jlev,klev   ! to loop over energy levels"
    updatevars: could not crack entity declaration "klev!". Ignoring.
Line #27 in matrix.f:"      integer nplus            ! to solve statistical equilibrium"
    updatevars: could not crack entity declaration "nplus!". Ignoring.
Line #28 in matrix.f:"      integer iline            ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #29 in matrix.f:"      integer m,n              ! line upper/lower levels"
    updatevars: could not crack entity declaration "n!". Ignoring.
Line #29 in matrix.f:"      integer m,n              ! line upper/lower levels"
    updatevars: could not crack entity declaration "upper/lower". Ignoring.
Line #30 in matrix.f:"      integer nthick           ! counts optically thick lines"
    updatevars: could not crack entity declaration "nthick!". Ignoring.
Line #31 in matrix.f:"      integer nfat             ! counts highly optically thick lines"
    updatevars: could not crack entity declaration "nfat!". Ignoring.
Line #32 in matrix.f:"      integer nreduce          ! size of reduced rate matrix"
    updatevars: could not crack entity declaration "nreduce!". Ignoring.
rmbadname1: Replacing "size" with "size_bn".
Line #34 in matrix.f:"      integer indx,dsign       ! needed for NumRep equation solver"
    updatevars: could not crack entity declaration "dsign!". Ignoring.
rmbadname1: Replacing "for" with "for_bn".
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: could not crack entity declaration "rhs(maxlev)!". Ignoring.
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "of" ("integer") to "real". Ignoring.
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #35 in matrix.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "equation" ("integer") to "real". Ignoring.
Line #37 in matrix.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: could not crack entity declaration "yrate(maxlev,maxlev)!". Ignoring.
Line #37 in matrix.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #37 in matrix.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: attempt to change the type of "matrix" ("integer") to "real". Ignoring.
Line #38 in matrix.f:"      real*8 etr,exr               ! to calculate radiative rates"
    updatevars: could not crack entity declaration "exr!". Ignoring.
Line #38 in matrix.f:"      real*8 etr,exr               ! to calculate radiative rates"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #39 in matrix.f:"      real*8 xt                    ! frequency cubed"
    updatevars: could not crack entity declaration "xt!". Ignoring.
Line #40 in matrix.f:"      real*8 hnu                   ! photon energy"
    updatevars: could not crack entity declaration "hnu!". Ignoring.
Line #40 in matrix.f:"      real*8 hnu                   ! photon energy"
    updatevars: attempt to change the type of "energy" ("integer") to "real". Ignoring.
Line #41 in matrix.f:"      real*8 bnutex                ! line source function"
    updatevars: could not crack entity declaration "bnutex!". Ignoring.
Line #41 in matrix.f:"      real*8 bnutex                ! line source function"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #42 in matrix.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: could not crack entity declaration "cddv!". Ignoring.
Line #42 in matrix.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: attempt to change the type of "n" ("integer") to "real". Ignoring.
Line #42 in matrix.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: could not crack entity declaration "n(mol)/delta". Ignoring.
Line #43 in matrix.f:"      real*8 beta,escprob          ! escape probability"
    updatevars: could not crack entity declaration "escprob!". Ignoring.
Line #45 in matrix.f:"      real*8 bnu                   ! Planck function"
    updatevars: could not crack entity declaration "bnu!". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: could not crack entity declaration "uarray(maxlev,maxlev)!". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "reduced" ("integer") to "real". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #46 in matrix.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "matrix" ("integer") to "real". Ignoring.
Line #47 in matrix.f:"      real*8 redcrit               ! reduction criterion"
    updatevars: could not crack entity declaration "redcrit!". Ignoring.
Line #48 in matrix.f:"      real*8 sumx                  ! summed radiative rate"
    updatevars: could not crack entity declaration "sumx!". Ignoring.
Line #48 in matrix.f:"      real*8 sumx                  ! summed radiative rate"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #49 in matrix.f:"      real*8 total                 ! to normalize populations"
    updatevars: could not crack entity declaration "total!". Ignoring.
Line #49 in matrix.f:"      real*8 total                 ! to normalize populations"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #51 in matrix.f:"      real*8 tsum,thistex          ! to check convergence"
    updatevars: could not crack entity declaration "thistex!". Ignoring.
Line #51 in matrix.f:"      real*8 tsum,thistex          ! to check convergence"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #54 in matrix.f:"      logical conv                 ! are we converged?"
    updatevars: could not crack entity declaration "conv!". Ignoring.
Line #54 in matrix.f:"      logical conv                 ! are we converged?"
    updatevars: could not crack entity declaration "converged?". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #329 in matrix.f:"      real*8 taur  !optical radius"
    updatevars: could not crack entity declaration "taur!optical". Ignoring.
    Reading file 'io.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #24 in io.f:"      integer length       ! subroutine to determine"
    updatevars: could not crack entity declaration "length!". Ignoring.
Line #26 in io.f:"      integer ipart        ! loop over collision partners"
    updatevars: could not crack entity declaration "ipart!". Ignoring.
Line #27 in io.f:"      character*10 partner ! name of collision partner"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #27 in io.f:"      character*10 partner ! name of collision partner"
    updatevars: attempt to change the type of "collision" ("integer") to "character". Ignoring.
updatevars:collision: attempt to change empty charselector to {'*': '10'}. Ignoring.
Line #30 in io.f:"      integer id           ! ID code of collision partner"
    updatevars: could not crack entity declaration "id!". Ignoring.
Line #30 in io.f:"      integer id           ! ID code of collision partner"
    updatevars: attempt to change the type of "of" ("character") to "integer". Ignoring.
Line #30 in io.f:"      integer id           ! ID code of collision partner"
    updatevars: attempt to change the type of "partner" ("character") to "integer". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #162 in io.f:"      integer ipart  ! to loop over collision partners"
    updatevars: could not crack entity declaration "ipart!". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #201 in io.f:"      integer iline    ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #202 in io.f:"      integer m,n      ! upper & lower level of the line"
    updatevars: could not crack entity declaration "n!". Ignoring.
Line #202 in io.f:"      integer m,n      ! upper & lower level of the line"
    updatevars: no name pattern found for entity='&'. Skipping.
Line #204 in io.f:"      integer niter    ! final number of iterations"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #208 in io.f:"      real*8 xt        ! frequency cubed"
    updatevars: could not crack entity declaration "xt!". Ignoring.
Line #209 in io.f:"      real*8 hnu       ! photon energy"
    updatevars: could not crack entity declaration "hnu!". Ignoring.
Line #210 in io.f:"      real*8 bnutex    ! line source function"
    updatevars: could not crack entity declaration "bnutex!". Ignoring.
Line #210 in io.f:"      real*8 bnutex    ! line source function"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #211 in io.f:"      real*8 ftau      ! exp(-tau)"
    updatevars: could not crack entity declaration "ftau!". Ignoring.
Line #212 in io.f:"      real*8 toti      ! background intensity"
    updatevars: could not crack entity declaration "toti!". Ignoring.
Line #213 in io.f:"      real*8 tbl       ! black body temperature"
    updatevars: could not crack entity declaration "tbl!". Ignoring.
Line #214 in io.f:"      real*8 wh        ! Planck correction"
    updatevars: could not crack entity declaration "wh!". Ignoring.
Line #215 in io.f:"      real*8 tback     ! background temperature"
    updatevars: could not crack entity declaration "tback!". Ignoring.
Line #216 in io.f:"      real*8 ta        ! line antenna temperature"
    updatevars: could not crack entity declaration "ta!". Ignoring.
Line #216 in io.f:"      real*8 ta        ! line antenna temperature"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #217 in io.f:"      real*8 tr        ! line radiation temperature"
    updatevars: could not crack entity declaration "tr!". Ignoring.
Line #217 in io.f:"      real*8 tr        ! line radiation temperature"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #218 in io.f:"      real*8 beta,escprob ! escape probability"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #220 in io.f:"      real*8 bnu       ! Planck function"
    updatevars: could not crack entity declaration "bnu!". Ignoring.
Line #221 in io.f:"      real*8 kkms      ! line integrated intensity (K km/s)"
    updatevars: could not crack entity declaration "kkms!". Ignoring.
Line #221 in io.f:"      real*8 kkms      ! line integrated intensity (K km/s)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #222 in io.f:"      real*8 ergs      ! line flux (erg / s / cm^2)"
    updatevars: could not crack entity declaration "ergs!". Ignoring.
Line #222 in io.f:"      real*8 ergs      ! line flux (erg / s / cm^2)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #227 in io.f:"      real*8 wavel     ! line wavelength (micron)"
    updatevars: could not crack entity declaration "wavel!". Ignoring.
Line #227 in io.f:"      real*8 wavel     ! line wavelength (micron)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
    Reading file 'readdata.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in readdata.f:"      integer ilev,jlev   ! to loop over energy levels"
    updatevars: could not crack entity declaration "jlev!". Ignoring.
Line #26 in readdata.f:"      integer iline       ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #27 in readdata.f:"      integer ipart,jpart ! to loop over collision partners"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #28 in readdata.f:"      integer itemp       ! to loop over collision temperatures"
    updatevars: could not crack entity declaration "itemp!". Ignoring.
Line #29 in readdata.f:"      integer icoll       ! to loop over collisional transitions"
    updatevars: could not crack entity declaration "icoll!". Ignoring.
Line #31 in readdata.f:"      integer dummy       ! to skip part of the file"
    updatevars: could not crack entity declaration "dummy!". Ignoring.
Line #34 in readdata.f:"      integer id(maxpart)      ! to identify collision partners"
    updatevars: could not crack entity declaration "id(maxpart)!". Ignoring.
Line #40 in readdata.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: could not crack entity declaration "temp(maxtemp)!". Ignoring.
Line #40 in readdata.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: attempt to change the type of "collision" ("integer") to "real". Ignoring.
Line #40 in readdata.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: attempt to change the type of "temperatures" ("integer") to "real". Ignoring.
Line #43 in readdata.f:"      character*120 collref ! text about source of collisional data"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #43 in readdata.f:"      character*120 collref ! text about source of collisional data"
    updatevars: attempt to change the type of "of" ("integer") to "character". Ignoring.
updatevars:of: attempt to change empty charselector to {'*': '120'}. Ignoring.
Line #43 in readdata.f:"      character*120 collref ! text about source of collisional data"
    updatevars: attempt to change the type of "collisional" ("integer") to "character". Ignoring.
updatevars:collisional: attempt to change empty charselector to {'*': '120'}. Ignoring.
Post-processing...
    Block: radex
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: backrad
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: galbr
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: splcoeff
    Block: splintrp
    Block: ludcmp
    Block: lubksb
    Block: sgeir
    Block: r1mach
    Block: sasum
    Block: scopy
    Block: sdsdot
    Block: sgefa
    Block: isamax
    Block: saxpy
    Block: sscal
    Block: sgesl
    Block: sdot
    Block: xermsg
    Block: j4save
    Block: xercnt
    Block: xerhlt
    Block: xerprn
    Block: i1mach
    Block: xgetua
    Block: xersve
analyzevars: character array "character*8 libtab(10)" is considered as "character libtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*8 subtab(10)" is considered as "character subtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*20 mestab(10)" is considered as "character mestab(10,20)"; "intent(c)" is forced.
    Block: fdump
    Block: matrix
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: escprob
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: getinputs
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: defaults
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
    Block: length
    Block: output
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
In: io.f:output
    getarrlen:variable "micron" undefined
    Block: readdata
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
Post-processing (stage 2)...
Saving signatures to file "./radex.pyf"
rmbadname1: Replacing "size" with "size_bn".
rmbadname1: Replacing "for" with "for_bn".
updatevars:collision: attempt to change empty charselector to {'*': '10'}. Ignoring.
updatevars:of: attempt to change empty charselector to {'*': '120'}. Ignoring.
updatevars:collisional: attempt to change empty charselector to {'*': '120'}. Ignoring.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*8 libtab(10)" is considered as "character libtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*8 subtab(10)" is considered as "character subtab(10,8)"; "intent(c)" is forced.
analyzevars: character array "character*20 mestab(10)" is considered as "character mestab(10,20)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
analyzevars: character array "character*6 qnum(2999)" is considered as "character qnum(2999,6)"; "intent(c)" is forced.
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7/fortranobject.c:2:
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7/fortranobject.h:13:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: 
      "Using deprecated NumPy API, disable it with "          "#define
      NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7/radexmodule.c:16:
In file included from /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7/fortranobject.h:13:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
#warning "Using deprecated NumPy API, disable it with " \/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h
:17: ^2
: warning: 
      "Using deprecated NumPy API, disable it with "          "#define
      NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7/radexmodule.c:177:12: warning: 
      unused function 'f2py_size' [-Wunused-function]
static int f2py_size(PyArrayObject* var, ...)
           ^
1 warning generated.
2 warnings generated.
f951: Warning: Nonconforming tab character in column 1 of line 4022 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4044 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4045 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4046 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4048 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4049 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4050 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4074 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4075 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4076 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4077 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4113 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4135 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4136 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4139 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4241 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4242 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4260 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4264 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4265 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4619 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4620 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4621 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4623 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4624 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4625 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4626 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4627 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4628 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4630 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4631 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4632 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4633 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4634 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4635 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4636 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4637 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4638 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4639 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4640 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4641 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4642 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4643 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4644 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4645 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4646 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4647 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4649 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4652 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4653 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4658 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4659 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4660 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4661 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4662 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4663 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4664 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4665 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4666 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4667 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4668 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4669 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4672 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4686 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4961 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4962 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4963 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4964 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4965 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4966 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4968 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4969 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4978 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4979 [-Wtabs]
f951: Warning: Nonconforming tab character in column 1 of line 4980 [-Wtabs]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:492:72:

  492 |       if (h.eq.0.d0) pause 'Warning: bad xin input in splintrp '
      |                                                                        
Warning: Deleted feature: PAUSE statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:1340:72:

 1340 |       IF (INCX .EQ. INCY) IF (INCX-1) 5,20,60
      |                                                                        
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:1720:72:

 1720 |       IF (INCX .EQ. INCY) IF (INCX-1) 5,20,60
      |                                                                        
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:2028:72:

 2028 |       IF (INCX .EQ. INCY) IF (INCX-1) 5,20,60
      |                                                                        
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4022:32:

 4022 |    real*8 xpopold(maxlev)
      |                                1
Warning: Nonconforming tab character at (1) [-Wtabs]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4395:3:

 4395 |  41   write(*,21) 'Minimum and maximum output frequency [GHz] ? '
      |   1
Warning: Label 41 at (1) defined but not used [-Wunused-label]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:776:12:

  776 |       IND = -LOG10(MAX(R1MACH(4),DNORM/XNORM))
      |            1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4575:31:

 4575 |      $      //version(1:length(version))
      |                               1
Warning: Character length of actual argument shorter than of dummy argument 'st' (20/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4193:42:

 4193 |       call ludcmp(uarray,nreduce+1,maxlev,indx,dsign)
      |                                          1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4194:42:

 4194 |       call lubksb(uarray,nreduce+1,maxlev,indx,rhs)
      |                                          1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4211:40:

 4211 |          call ludcmp(yrate,nplus,maxlev,indx,dsign)
      |                                        1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4212:40:

 4212 |          call lubksb(yrate,nplus,maxlev,indx,rhs)
      |                                        1
Error: Rank mismatch in argument 'indx' at (1) (rank-1 and scalar)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4388:36:

 4388 |      $     molfile = radat(1:length(radat))//molfile(1:length(molfile))
      |                                    1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4388:62:

 4388 |      $     molfile = radat(1:length(radat))//molfile(1:length(molfile))
      |                                                              1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4389:36:

 4389 |       write(13,20) molfile(1:length(molfile))
      |                                    1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f:4393:36:

 4393 |       write(13,20) outfile(1:length(outfile))
      |                                    1
Warning: Character length of actual argument shorter than of dummy argument 'st' (120/200) at (1)
error: Command "/usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -arch x86_64 -fPIC -arch x86_64 -fPIC -O3 -funroll-loops -I/Users/eddieherndon/pyradex/Radex/src -I/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7 -I/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/opt/anaconda3/include/python3.7m -c -c /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f -o /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.o" failed with exit status 1

Traceback (most recent call last):
  File "setup.py", line 137, in <module>
    'install_fjdu': InstallFjdu,
  File "/opt/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/opt/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/opt/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 44, in run
    install_radex.install_radex()
  File "/Users/eddieherndon/pyradex/install_radex.py", line 22, in install_radex
    compile_radex()
  File "/Users/eddieherndon/pyradex/install_radex.py", line 154, in compile_radex
    raise SystemError("f2py failed with error %i" % r2)
SystemError: f2py failed with error 1
keflavich commented 3 years ago

could you please show also the python command you ran?

eddieh99 commented 3 years ago

FFLAGS='-arch x86_64 -fPIC' CFLAGS='-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -g -O2' LDFLAGS='-arch x86_64 -undefined dynamic_lookup -bundle' python setup.py install_radex

Not sure if this is what you mean, but this is the command I ran to prompt the install.

I also tried python setup.py install_radex and python setup.py install_radex install_myradex install

keflavich commented 3 years ago

yeah that's what I need. OK. I don't know what to do about this yet, though... I don't know if I've seen this error and there is no obvious error to fix here.

keflavich commented 3 years ago

it might be that you need a different gfortran version - do you have anaconda? Can you try using the anaconda-installed version of fortran? can probably do:

conda install -c anaconda gfortran_osx-64
source activate base # this is to activate whichever conda environment you have
python setup.py install_radex
eddieh99 commented 3 years ago

This worked! Seems the problem was gfortran's connection to anaconda.