Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortran runtime error when using authority_score() #299

Closed
cpfaff opened this issue Oct 4, 2018 · 7 comments
Closed

Fortran runtime error when using authority_score() #299

cpfaff opened this issue Oct 4, 2018 · 7 comments

Comments

@cpfaff
Copy link

cpfaff commented Oct 4, 2018

This example:

require("igraph")
# Generate some test data
g <- make_ring(10, directed=FALSE)

authority_score(g)

Gives me a crash:

Fortran runtime error: Insufficient number of elements in TARRAY.

Sessioninfo:

R version 3.5.1 (2018-07-02)                                                                                                                                                                     
Platform: x86_64-pc-linux-gnu (64-bit)                                                                                                                                                           
Running under: Arch Linux                                                                                                                                                                        

Matrix products: default
BLAS: /usr/lib/R/lib/libRblas.so
LAPACK: /usr/lib/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=de_DE.UTF-8       LC_NUMERIC=C                                                                                                                                                     
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8                                                                                                                                           
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RevoUtils_11.0.1     colorout_1.2-0       devtools_1.13.6     
[4] RevoUtilsMath_11.0.0

loaded via a namespace (and not attached):
[1] compiler_3.5.1 withr_2.1.2    memoise_1.1.0  digest_0.6.17  

Fortran: gcc-fortran 8.2.1

@cpfaff
Copy link
Author

cpfaff commented Oct 17, 2018

I tried also older versions of igraph from the archive on cran. The last two before the current. I also tried it with an older versions of gcc-fortran installed on my computer (8.1.1). This all has no effect. I get the same error.

@cpfaff
Copy link
Author

cpfaff commented Oct 17, 2018

So what else could cause it? Or how can I better track this down? Some input would be great. I would help out and try things if I can.

@ntamas
Copy link
Member

ntamas commented Oct 20, 2018

Investigation in igraph/igraph#1121 shows that this is likely an R-specific issue; more precisely, it happens only when trying to install igraph in Microsoft R Open. I leave it up to @gaborcsardi to decide whether Microsoft R Open is to be supported officially and whether this issue is worth examining further.

@tiagobrc
Copy link

tiagobrc commented Aug 25, 2019

having the same issue, is there any known solution? Thanks. I am specifically traying to use the package destiny theislab/destiny#27.

Update

Fixed: theislab/destiny#27

@corriebar
Copy link

I've encountered the same error and I installed igraph from CRAN (as far as I remember). Tried reinstalling, installing from github, same error.
Sessioninfo:

R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 19.10

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=de_DE.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=de_DE.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] igraph_1.2.5

loaded via a namespace (and not attached):
[1] compiler_3.6.3  magrittr_1.5    tools_3.6.3     packrat_0.5.0   pkgconfig_2.0.3

Fortran Version used seems to be gfortran-9.
Any idea on how to fix this?

@szhorvat szhorvat changed the title Fortran runtime error: Fortran runtime error when using authority_score() Apr 1, 2022
@szhorvat
Copy link
Member

szhorvat commented Apr 1, 2022

@corriebar Can you try with the latest version, 1.3.0?

@ntamas
Copy link
Member

ntamas commented Nov 3, 2022

Works for me with the latest igraph version (1.3.5). Also, I don't think that Microsoft R Open is officially supported so closing this for the time being. Feel free to reopen if you can reproduce the issue with igraph 1.3.5 or later in a stock version of R.

@ntamas ntamas closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants