keflavich / pyradex

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

Installation Error #35

Closed tjtakys closed 5 months ago

tjtakys commented 3 years ago

Hi, I'm working on Mac OS 10.15.7. I am sure I meet the requirements for installation, but I cannot. First, I installed gcc via brew install gcc, and also installed gfortran via conda install -c anaconda gfortran_osx-64. Versions of them are as follows.

% gcc-11 --version     
gcc-11 (Homebrew GCC 11.1.0_1) 11.1.0
Copyright (C) 2021 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.

% gfortran --version            
GNU Fortran (GCC) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

When I run `python setup.py install_radex install_myradex install`, the error occurred.

/Users/kohnolab/opt/miniconda3/envs/py37/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/kohnolab/.astropy/cache/download/url/df9a6b344f9b6851d8c799789754b74e/contents
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"
Unknown vendor: "gfortran"
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 "radex" sources
f2py options: []
f2py:> /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/radexmodule.c
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7
Reading fortran codes...
    Reading file '/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f' (format:fix,strict)
    Reading file 'radex.inc' (format:fix)
Line #25 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer niter   ! iteration counter"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #26 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer imore   ! are we running again?"
    updatevars: could not crack entity declaration "imore!". Ignoring.
Line #26 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer imore   ! are we running again?"
    updatevars: could not crack entity declaration "again?". Ignoring.
Line #29 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      logical conv    ! are we converged?"
    updatevars: could not crack entity declaration "conv!". Ignoring.
Line #29 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      logical conv    ! are we converged?"
    updatevars: attempt to change the type of "are" ("integer") to "logical". Ignoring.
Line #29 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      logical conv    ! are we converged?"
    updatevars: attempt to change the type of "we" ("integer") to "logical". Ignoring.
Line #29 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      logical conv    ! are we converged?"
    updatevars: could not crack entity declaration "converged?". Ignoring.
    Reading file 'radex.inc' (format:fix)
    Reading file 'radex.inc' (format:fix)
    Reading file 'radex.inc' (format:fix)
Line #3992 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer niter            ! iteration counter"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #3993 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer ilev,jlev,klev   ! to loop over energy levels"
    updatevars: could not crack entity declaration "klev!". Ignoring.
Line #3994 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer nplus            ! to solve statistical equilibrium"
    updatevars: could not crack entity declaration "nplus!". Ignoring.
Line #3995 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer iline            ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #3996 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer m,n              ! line upper/lower levels"
    updatevars: could not crack entity declaration "n!". Ignoring.
Line #3996 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer m,n              ! line upper/lower levels"
    updatevars: could not crack entity declaration "upper/lower". Ignoring.
Line #3997 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer nthick           ! counts optically thick lines"
    updatevars: could not crack entity declaration "nthick!". Ignoring.
Line #3998 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer nfat             ! counts highly optically thick lines"
    updatevars: could not crack entity declaration "nfat!". Ignoring.
Line #3999 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer nreduce          ! size of reduced rate matrix"
    updatevars: could not crack entity declaration "nreduce!". Ignoring.
Line #4001 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer indx,dsign       ! needed for NumRep equation solver"
    updatevars: could not crack entity declaration "dsign!". Ignoring.
Line #4002 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: could not crack entity declaration "rhs(maxlev)!". Ignoring.
Line #4002 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "of" ("integer") to "real". Ignoring.
Line #4002 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #4002 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 rhs(maxlev)           ! RHS of rate equation"
    updatevars: attempt to change the type of "equation" ("integer") to "real". Ignoring.
Line #4004 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: could not crack entity declaration "yrate(maxlev,maxlev)!". Ignoring.
Line #4004 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #4004 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 yrate(maxlev,maxlev)  ! rate matrix"
    updatevars: attempt to change the type of "matrix" ("integer") to "real". Ignoring.
Line #4005 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 etr,exr               ! to calculate radiative rates"
    updatevars: could not crack entity declaration "exr!". Ignoring.
Line #4005 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 etr,exr               ! to calculate radiative rates"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #4006 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 xt                    ! frequency cubed"
    updatevars: could not crack entity declaration "xt!". Ignoring.
Line #4007 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 hnu                   ! photon energy"
    updatevars: could not crack entity declaration "hnu!". Ignoring.
Line #4007 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 hnu                   ! photon energy"
    updatevars: attempt to change the type of "energy" ("integer") to "real". Ignoring.
Line #4008 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 bnutex                ! line source function"
    updatevars: could not crack entity declaration "bnutex!". Ignoring.
Line #4008 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 bnutex                ! line source function"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #4009 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: could not crack entity declaration "cddv!". Ignoring.
Line #4009 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: attempt to change the type of "n" ("integer") to "real". Ignoring.
Line #4009 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 cddv                  ! N(mol) / delta V"
    updatevars: could not crack entity declaration "n(mol)/delta". Ignoring.
Line #4010 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 beta,escprob          ! escape probability"
    updatevars: could not crack entity declaration "escprob!". Ignoring.
Line #4012 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 bnu                   ! Planck function"
    updatevars: could not crack entity declaration "bnu!". Ignoring.
Line #4013 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: could not crack entity declaration "uarray(maxlev,maxlev)!". Ignoring.
Line #4013 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "reduced" ("integer") to "real". Ignoring.
Line #4013 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #4013 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 uarray(maxlev,maxlev) ! reduced rate matrix"
    updatevars: attempt to change the type of "matrix" ("integer") to "real". Ignoring.
Line #4014 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 redcrit               ! reduction criterion"
    updatevars: could not crack entity declaration "redcrit!". Ignoring.
Line #4015 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 sumx                  ! summed radiative rate"
    updatevars: could not crack entity declaration "sumx!". Ignoring.
Line #4015 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 sumx                  ! summed radiative rate"
    updatevars: attempt to change the type of "rate" ("integer") to "real". Ignoring.
Line #4016 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 total                 ! to normalize populations"
    updatevars: could not crack entity declaration "total!". Ignoring.
Line #4016 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 total                 ! to normalize populations"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #4018 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 tsum,thistex          ! to check convergence"
    updatevars: could not crack entity declaration "thistex!". Ignoring.
Line #4018 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 tsum,thistex          ! to check convergence"
    updatevars: attempt to change the type of "to" ("integer") to "real". Ignoring.
Line #4021 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      logical conv                 ! are we converged?"
    updatevars: could not crack entity declaration "conv!". Ignoring.
Line #4021 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      logical conv                 ! are we converged?"
    updatevars: could not crack entity declaration "converged?". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #4296 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 taur  !optical radius"
    updatevars: could not crack entity declaration "taur!optical". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #4365 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer length       ! subroutine to determine"
    updatevars: could not crack entity declaration "length!". Ignoring.
Line #4367 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer ipart        ! loop over collision partners"
    updatevars: could not crack entity declaration "ipart!". Ignoring.
Line #4368 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      character*10 partner ! name of collision partner"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #4368 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      character*10 partner ! name of collision partner"
    updatevars: attempt to change the type of "collision" ("integer") to "character". Ignoring.
Line #4371 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer id           ! ID code of collision partner"
    updatevars: could not crack entity declaration "id!". Ignoring.
Line #4371 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer id           ! ID code of collision partner"
    updatevars: attempt to change the type of "of" ("character") to "integer". Ignoring.
Line #4371 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.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 #4503 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer ipart  ! to loop over collision partners"
    updatevars: could not crack entity declaration "ipart!". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #4542 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer iline    ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #4543 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer m,n      ! upper & lower level of the line"
    updatevars: could not crack entity declaration "n!". Ignoring.
Line #4543 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer m,n      ! upper & lower level of the line"
    updatevars: no name pattern found for entity='&'. Skipping.
Line #4545 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer niter    ! final number of iterations"
    updatevars: could not crack entity declaration "niter!". Ignoring.
Line #4549 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 xt        ! frequency cubed"
    updatevars: could not crack entity declaration "xt!". Ignoring.
Line #4550 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 hnu       ! photon energy"
    updatevars: could not crack entity declaration "hnu!". Ignoring.
Line #4551 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 bnutex    ! line source function"
    updatevars: could not crack entity declaration "bnutex!". Ignoring.
Line #4551 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 bnutex    ! line source function"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #4552 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 ftau      ! exp(-tau)"
    updatevars: could not crack entity declaration "ftau!". Ignoring.
Line #4553 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 toti      ! background intensity"
    updatevars: could not crack entity declaration "toti!". Ignoring.
Line #4554 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 tbl       ! black body temperature"
    updatevars: could not crack entity declaration "tbl!". Ignoring.
Line #4555 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 wh        ! Planck correction"
    updatevars: could not crack entity declaration "wh!". Ignoring.
Line #4556 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 tback     ! background temperature"
    updatevars: could not crack entity declaration "tback!". Ignoring.
Line #4557 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 ta        ! line antenna temperature"
    updatevars: could not crack entity declaration "ta!". Ignoring.
Line #4557 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 ta        ! line antenna temperature"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #4558 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 tr        ! line radiation temperature"
    updatevars: could not crack entity declaration "tr!". Ignoring.
Line #4558 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 tr        ! line radiation temperature"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #4559 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 beta,escprob ! escape probability"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #4561 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 bnu       ! Planck function"
    updatevars: could not crack entity declaration "bnu!". Ignoring.
Line #4562 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 kkms      ! line integrated intensity (K km/s)"
    updatevars: could not crack entity declaration "kkms!". Ignoring.
Line #4562 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 kkms      ! line integrated intensity (K km/s)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #4563 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 ergs      ! line flux (erg / s / cm^2)"
    updatevars: could not crack entity declaration "ergs!". Ignoring.
Line #4563 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 ergs      ! line flux (erg / s / cm^2)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
Line #4568 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 wavel     ! line wavelength (micron)"
    updatevars: could not crack entity declaration "wavel!". Ignoring.
Line #4568 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 wavel     ! line wavelength (micron)"
    updatevars: attempt to change the type of "line" ("integer") to "real". Ignoring.
    Reading file 'radex.inc' (format:fix)
Line #4718 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer ilev,jlev   ! to loop over energy levels"
    updatevars: could not crack entity declaration "jlev!". Ignoring.
Line #4719 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer iline       ! to loop over lines"
    updatevars: could not crack entity declaration "iline!". Ignoring.
Line #4720 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer ipart,jpart ! to loop over collision partners"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #4721 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer itemp       ! to loop over collision temperatures"
    updatevars: could not crack entity declaration "itemp!". Ignoring.
Line #4722 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer icoll       ! to loop over collisional transitions"
    updatevars: could not crack entity declaration "icoll!". Ignoring.
Line #4724 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer dummy       ! to skip part of the file"
    updatevars: could not crack entity declaration "dummy!". Ignoring.
Line #4727 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      integer id(maxpart)      ! to identify collision partners"
    updatevars: could not crack entity declaration "id(maxpart)!". Ignoring.
Line #4733 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: could not crack entity declaration "temp(maxtemp)!". Ignoring.
Line #4733 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: attempt to change the type of "collision" ("integer") to "real". Ignoring.
Line #4733 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      real*8 temp(maxtemp) ! collision temperatures"
    updatevars: attempt to change the type of "temperatures" ("integer") to "real". Ignoring.
Line #4736 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      character*120 collref ! text about source of collisional data"
    updatevars: no name pattern found for entity='!'. Skipping.
Line #4736 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      character*120 collref ! text about source of collisional data"
    updatevars: attempt to change the type of "of" ("integer") to "character". Ignoring.
Line #4736 in /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:"      character*120 collref ! text about source of collisional data"
    updatevars: attempt to change the type of "collisional" ("integer") to "character". Ignoring.
Post-processing...
    Block: radex
            Block: radex
            Block: backrad
            Block: galbr
            Block: splcoeff
            Block: splintrp
            Block: ludcmp
            Block: lubksb
            Block: sgeir
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:r1mach
vars2fortran: No typespec for argument "i".
            Block: r1mach
            Block: sasum
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:scopy
vars2fortran: No typespec for argument "n".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:scopy
vars2fortran: No typespec for argument "incx".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:scopy
vars2fortran: No typespec for argument "incy".
            Block: scopy
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:sdsdot
vars2fortran: No typespec for argument "n".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:sdsdot
vars2fortran: No typespec for argument "incx".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:sdsdot
vars2fortran: No typespec for argument "incy".
            Block: sdsdot
            Block: sgefa
            Block: isamax
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:saxpy
vars2fortran: No typespec for argument "n".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:saxpy
vars2fortran: No typespec for argument "incx".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:saxpy
vars2fortran: No typespec for argument "incy".
            Block: saxpy
            Block: sscal
            Block: sgesl
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:sdot
vars2fortran: No typespec for argument "n".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:sdot
vars2fortran: No typespec for argument "incx".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:sdot
vars2fortran: No typespec for argument "incy".
            Block: sdot
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xermsg
vars2fortran: No typespec for argument "nerr".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xermsg
vars2fortran: No typespec for argument "level".
            Block: xermsg
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:j4save
vars2fortran: No typespec for argument "iwhich".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:j4save
vars2fortran: No typespec for argument "ivalue".
            Block: j4save
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xercnt
vars2fortran: No typespec for argument "nerr".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xercnt
vars2fortran: No typespec for argument "level".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xercnt
vars2fortran: No typespec for argument "kontrl".
            Block: xercnt
            Block: xerhlt
            Block: xerprn
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:i1mach
vars2fortran: No typespec for argument "i".
            Block: i1mach
{'attrspec': ['dimension(5)']}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xgetua
vars2fortran: No typespec for argument "iunita".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xgetua
vars2fortran: No typespec for argument "n".
            Block: xgetua
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xersve
vars2fortran: No typespec for argument "kflag".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xersve
vars2fortran: No typespec for argument "nerr".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xersve
vars2fortran: No typespec for argument "level".
{}
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:xersve
vars2fortran: No typespec for argument "icount".
            Block: xersve
            Block: fdump
            Block: matrix
            Block: escprob
            Block: getinputs
            Block: defaults
            Block: length
            Block: output
In: :radex:/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f:output
    getarrlen:variable "micron" undefined
            Block: readdata
Post-processing (stage 2)...
Building modules...
    Building module "radex"...
        Constructing wrapper function "backrad"...
          backrad()
        Constructing wrapper function "galbr"...
          galbr()
        Constructing wrapper function "splcoeff"...
          splcoeff(x,f,n,fp1,fpn,fpp)
        Constructing wrapper function "splintrp"...
          splintrp(xin,fin,fppin,x,fout,[n])
        Constructing wrapper function "ludcmp"...
          ludcmp(a,indx,d,[n,np])
        Constructing wrapper function "lubksb"...
          lubksb(a,n,indx,b,[np])
        Constructing wrapper function "sgeir"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sgeir(a,v,itask,ind,work,iwork,[lda,n])
        Creating wrapper for Fortran function "r1mach"("r1mach")...
        Constructing wrapper function "r1mach"...
          r1mach = r1mach(i)
        Creating wrapper for Fortran function "sasum"("sasum")...
        Constructing wrapper function "sasum"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sasum = sasum(n,sx,incx)
        Constructing wrapper function "scopy"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          scopy(n,sx,incx,sy,incy)
        Creating wrapper for Fortran function "sdsdot"("sdsdot")...
        Constructing wrapper function "sdsdot"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sdsdot = sdsdot(n,sb,sx,incx,sy,incy)
        Constructing wrapper function "sgefa"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sgefa(a,n,ipvt,info,[lda])
        Creating wrapper for Fortran function "isamax"("isamax")...
        Constructing wrapper function "isamax"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
          isamax = isamax(n,sx,incx)
        Constructing wrapper function "saxpy"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          saxpy(n,sa,sx,incx,sy,incy)
        Constructing wrapper function "sscal"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sscal(n,sa,sx,incx)
        Constructing wrapper function "sgesl"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sgesl(a,n,ipvt,b,job,[lda])
        Creating wrapper for Fortran function "sdot"("sdot")...
        Constructing wrapper function "sdot"...
getarrdims:warning: assumed shape array, using 0 instead of '*'
getarrdims:warning: assumed shape array, using 0 instead of '*'
          sdot = sdot(n,sx,incx,sy,incy)
        Constructing wrapper function "xermsg"...
          xermsg(librar,subrou,messg,nerr,level)
        Creating wrapper for Fortran function "j4save"("j4save")...
        Constructing wrapper function "j4save"...
          j4save = j4save(iwhich,ivalue,iset)
        Constructing wrapper function "xercnt"...
          xercnt(librar,subrou,messg,nerr,level,kontrl)
        Constructing wrapper function "xerhlt"...
          xerhlt(messg)
        Constructing wrapper function "xerprn"...
          xerprn(prefix,npref,messg,nwrap)
        Creating wrapper for Fortran function "i1mach"("i1mach")...
        Constructing wrapper function "i1mach"...
          i1mach = i1mach(i)
        Constructing wrapper function "xgetua"...
          xgetua(iunita,n)
        Constructing wrapper function "xersve"...
          xersve(librar,subrou,messg,kflag,nerr,level,icount)
        Constructing wrapper function "fdump"...
          fdump()
        Constructing wrapper function "matrix"...
          matrix(niter,conv)
        Creating wrapper for Fortran function "escprob"("escprob")...
        Constructing wrapper function "escprob"...
          escprob = escprob(tau)
        Constructing wrapper function "getinputs"...
          getinputs()
        Constructing wrapper function "defaults"...
          defaults()
        Creating wrapper for Fortran function "length"("length")...
        Constructing wrapper function "length"...
          length = length(str)
        Constructing wrapper function "output"...
          output(niter)
        Constructing wrapper function "readdata"...
          readdata()
        Constructing COMMON block support for "impex"...
          outfile,molfile,specref
        Constructing COMMON block support for "setup"...
          radat,method,version,logfile
        Constructing COMMON block support for "imolec"...
          nlev,nline,ncoll,npart,ntemp,iupp,ilow
        Constructing COMMON block support for "rmolec"...
          amass,eterm,gstat,aeinst,eup
        Constructing COMMON block support for "cphys"...
          density,tkin,tbg,cdmol,deltav,totdens
        Constructing COMMON block support for "freq"...
          fmin,fmax
        Constructing COMMON block support for "radi"...
          xnu,taul,tex,backi,totalb,spfreq,trj
        Constructing COMMON block support for "quant"...
          qnum
        Constructing COMMON block support for "collie"...
          crate,ctot,xpop
        Constructing COMMON block support for "dbg"...
          debug
    Wrote C/API module "radex" to file "/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/radexmodule.c"
    Fortran 77 wrappers are saved to "/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/radex-f2pywrappers.f"
  adding '/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/fortranobject.c' to sources.
  adding '/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7' to include_dirs.
copying /Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c -> /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7
copying /Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.h -> /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7
  adding '/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/radex-f2pywrappers.f' to sources.
build_src: building npy-pkg config files
running build_ext
customize UnixCCompiler
C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/kohnolab/opt/miniconda3/envs/py37/include -arch x86_64 -I/Users/kohnolab/opt/miniconda3/envs/py37/include -arch x86_64

creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/var
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/var/folders
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/var/folders/5d
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps
compile options: '-MMD -MF /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/file.c.d -c'
cc: /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpnw4synps/file.c
customize UnixCCompiler using build_ext
customize Gnu95FCompiler
Found executable /Users/kohnolab/opt/miniconda3/envs/py37/bin/x86_64-apple-darwin13.4.0-gfortran
Found executable /Users/kohnolab/opt/miniconda3/envs/py37/iraf/unix/hlib/f77.sh
Found executable /Users/kohnolab/opt/miniconda3/envs/py37/bin/x86_64-apple-darwin13.4.0-gfortran
Found executable /usr/bin/ranlib
customize Gnu95FCompiler using build_ext
building 'radex' extension
compiling C sources
C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/kohnolab/opt/miniconda3/envs/py37/include -arch x86_64 -I/Users/kohnolab/opt/miniconda3/envs/py37/include -arch x86_64

creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var/folders
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var/folders/5d
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax
creating /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7
compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/Users/kohnolab/Research/pyradex/Radex/src -I/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7 -I/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/site-packages/numpy/core/include -I/Users/kohnolab/opt/miniconda3/envs/py37/include/python3.7m -c'
cc: /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/radexmodule.c
cc: /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/fortranobject.c
compiling Fortran sources
Fortran f77 compiler: /Users/kohnolab/opt/miniconda3/envs/py37/iraf/unix/hlib/f77.sh -fno-automatic -arch x86_64 -fPIC -march=nocona -mtune=core2 -ftree-vectorize -fPIC -fstack-protector -O2 -pipe -O3 -funroll-loops
Fortran f90 compiler: /Users/kohnolab/opt/miniconda3/envs/py37/bin/x86_64-apple-darwin13.4.0-gfortran -Wall -g -fno-second-underscore -arch x86_64 -fPIC -march=nocona -mtune=core2 -ftree-vectorize -fPIC -fstack-protector -O2 -pipe -O3 -funroll-loops
Fortran fix compiler: /Users/kohnolab/opt/miniconda3/envs/py37/bin/x86_64-apple-darwin13.4.0-gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -arch x86_64 -fPIC -march=nocona -mtune=core2 -ftree-vectorize -fPIC -fstack-protector -O2 -pipe -O3 -funroll-loops
compile options: '-I/Users/kohnolab/Research/pyradex/Radex/src -I/var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7 -I/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/site-packages/numpy/core/include -I/Users/kohnolab/opt/miniconda3/envs/py37/include/python3.7m -c'
f77.sh:f77: /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmprwu09ilv.f
f77.sh:f77: /var/folders/5d/024k8hgx1v554_1yplcfkfmw0000gn/T/tmpi1df4fax/src.macosx-10.9-x86_64-3.7/radex-f2pywrappers.f

Traceback (most recent call last):
  File "setup.py", line 137, in <module>
    'install_fjdu': InstallFjdu,
  File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/Users/kohnolab/opt/miniconda3/envs/py37/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/kohnolab/Research/pyradex/install_radex.py", line 23, in install_radex
    compile_radex()
  File "/Users/kohnolab/Research/pyradex/install_radex.py", line 155, in compile_radex
    raise SystemError("f2py failed with error %i" % r2)
SystemError: f2py failed with error 1

I hope you can help me.

keflavich commented 3 years ago

I've been trying to correct a range of fortran compilation errors over the past several weeks without luck; something in the compilers changed in the last several years, and it has broken some components of RADEX or f2py.

Anyway, though, I don't see any clear error anywhere in your traceback, which is strange. Try leaving out the install_fjdu command - see if you can get it to build without that (it's a separate, extra module)

tjtakys commented 3 years ago

Thanks for the quick reply! I commented out line 137 of the setup.py file and run python setup.py install_radex install_myradex install, but I got the following error, which seesms to be the same as above...

Traceback (most recent call last): File "setup.py", line 136, in 'install_myradex': InstallFjdu, File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/Users/kohnolab/opt/miniconda3/envs/py37/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/kohnolab/Research/pyradex/install_radex.py", line 23, in install_radex compile_radex() File "/Users/kohnolab/Research/pyradex/install_radex.py", line 155, in compile_radex raise SystemError("f2py failed with error %i" % r2) SystemError: f2py failed with error 1

tjtakys commented 3 years ago

Also, I tried to comment out line 136 of setup.py file, and ran python setup.py install_radex install command, but i got the following alike error...

Traceback (most recent call last): File "setup.py", line 135, in 'build_radex_exe': BuildRadexExecutable, File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/Users/kohnolab/opt/miniconda3/envs/py37/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/kohnolab/Research/pyradex/install_radex.py", line 23, in install_radex compile_radex() File "/Users/kohnolab/Research/pyradex/install_radex.py", line 155, in compile_radex raise SystemError("f2py failed with error %i" % r2) SystemError: f2py failed with error 1

keflavich commented 3 years ago

you don't need to edit the code, just do: python setup.py install_radex build install instead of python setup.py install_radex install_myradex build install

i.e., leave out the install_myradex step.

tjtakys commented 3 years ago

Oh, sorry. Okey, I did python setup.py install_radex build install , and the following error I got.

Traceback (most recent call last): File "setup.py", line 137, in 'install_fjdu': InstallFjdu, File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/Users/kohnolab/opt/miniconda3/envs/py37/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/Users/kohnolab/opt/miniconda3/envs/py37/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/kohnolab/Research/pyradex/install_radex.py", line 23, in install_radex compile_radex() File "/Users/kohnolab/Research/pyradex/install_radex.py", line 155, in compile_radex raise SystemError("f2py failed with error %i" % r2) SystemError: f2py failed with error 1

keflavich commented 3 years ago

huh, ok, so that did exactly the same thing, apparently. That's... not what I expected.

this error message isn't helpful; the full traceback you gave above is (a little) more helpful.

I don't quite get it - there isn't actually any error being reported by f2py.

keflavich commented 5 months ago

I'm not sure what's going on here, so for the sake of keeping issues going that I have some hope of fixing, I'm closing this. Feel free to reopen if you have more information to share.