snap-stanford / snap

Stanford Network Analysis Platform (SNAP) is a general purpose network analysis and graph mining library.
Other
2.16k stars 795 forks source link

Error: ARPACK error #235

Open manishshah1698 opened 1 year ago

manishshah1698 commented 1 year ago

This error occurs when I execute ./motifcluster -i:C-elegans-frontal.txt -m:bifan

Don't know why because I have already installed ARPACK and also "make" command before this line works fine.

Are there any other packages that need to be installed?

roks commented 1 year ago

Can you please provide the error? Are you able to run the provided example as20graph.txt?

manishshah1698 commented 1 year ago

I am trying to run the following code:

Build the code

cd snap-higher-order/examples/motifcluster/ make

Run the code

./motifcluster -i:C-elegans-frontal.txt -m:bifan

Look at the cluster

cat C-elegans-frontal-bifan-cluster.txt python get_names.py C-elegans-frontal-bifan-cluster.txt C-elegans-frontal-meta.csv

It gives me an error while running this:

Run the code

./motifcluster -i:C-elegans-frontal.txt -m:bifan

By running the "make" command, it creates motifclustermain inside the motifcluster folder.

After that when I try executing, ./motifclustermain -i:C-elegans-frontal.txt -m:bifan

it throws the following error:

Motifs. build: 09:09:19, Sep 1 2022. Time: 09:11:55 [Aug 26 2022]

Input directed graph file (-i:)=C-elegans-frontal.txt Motif type (-m:)=bifan Cluster output file (-o:)=C-elegans-frontal-bifan-cluster.txt *** Error: ARPACK error

run time: 0.07s (09:11:57)

roks commented 1 year ago

Are you able to run the provided example as20graph.txt as described in ReadMe.txt?

manishshah1698 commented 1 year ago

I searched, but there seem to be many ReadMe.txt. Can you share with me the link of doc?

roks commented 1 year ago

It is the one in the motifcluster example: https://github.com/snap-stanford/snap/blob/master/examples/motifcluster/ReadMe.txt

You should execute: motifclustermain -m:M4

manishshah1698 commented 1 year ago

I get the same error

Motifs. build: 18:14:29, Sep 1 2022. Time: 19:31:16 [Aug 26 2022]

Input directed graph file (-i:)=../as20graph.txt Motif type (-m:)=M4 Cluster output file (-o:)=as20graph-M4-cluster.txt *** Error: ARPACK error

run time: 0.13s (19:31:17)

RobertStern commented 7 months ago

Hi, i have same error. ./motifclustermain -i:C-elegans-frontal.txt -m:M4 Motifs. build: 22:17:21, Dec 4 2023. Time: 22:21:50 [Dec 4 2023]

Input directed graph file (-i:)=C-elegans-frontal.txt Motif type (-m:)=M4 *** Error: ARPACK error

run time: 0.06s (22:21:50) Did you manage somehow fix this? Thanks.

RobertStern commented 4 months ago

Hi, can somebody help me with this? Thank you. Or at least what to use instead of this ARPACK library