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

Segmentation fault While running main.py on Ubuntu #5

Closed
alamsaqib opened this issue Oct 8, 2019 · 4 comments
Closed

Segmentation fault While running main.py on Ubuntu #5

alamsaqib opened this issue Oct 8, 2019 · 4 comments

Comments

@alamsaqib
Copy link

alamsaqib commented Oct 8, 2019

while i am running main.py i am getting the segmentation fault error on Ubuntu.

python3 main.py --epochs 100

+-------------------+----------------------------------------------------------+
| Parameter | Value |
+===================+==========================================================+
| Cluster number | 10 |
+-------------------+----------------------------------------------------------+
| Clustering method | metis |
+-------------------+----------------------------------------------------------+
| Dropout | 0.500 |
+-------------------+----------------------------------------------------------+
| Edge path | /home/User/Desktop/ClusterGCN-master/input/edges.csv |
+-------------------+----------------------------------------------------------+
| Epochs | 100 |
+-------------------+----------------------------------------------------------+
| Features path | /home/User/Desktop/ClusterGCN- |
| | master/input/features.csv |
+-------------------+----------------------------------------------------------+
| Layers | [16, 16, 16] |
+-------------------+----------------------------------------------------------+
| Learning rate | 0.010 |
+-------------------+----------------------------------------------------------+
| Seed | 42 |
+-------------------+----------------------------------------------------------+
| Target path | /home/User/Desktop/ClusterGCN- |
| | master/input//target.csv |
+-------------------+----------------------------------------------------------+
| Test ratio | 0.900 |
+-------------------+----------------------------------------------------------+

Metis graph clustering started.

Segmentation fault

@benedekrozemberczki
Copy link
Owner

How much memory do you have?

@Satonio1
Copy link

I get the same error

@Satonio1
Copy link

@alamsaqib I fix the error.You should change "IDXTYPEWIDTH = os.getenv('METIS_IDXTYPEWIDTH', '32')" in metis.py (line 31) to "IDXTYPEWIDTH = os.getenv('METIS_IDXTYPEWIDTH', '64')".Then the program works.

@yiyang-wang
Copy link

@alamsaqib I fix the error.You should change "IDXTYPEWIDTH = os.getenv('METIS_IDXTYPEWIDTH', '32')" in metis.py (line 31) to "IDXTYPEWIDTH = os.getenv('METIS_IDXTYPEWIDTH', '64')".Then the program works.

I try this, but it doesn't work to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants