Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I also tend to use cython accelerate the graoh training speed. Now I need to use third party metis without add other files, it will output error LNK1120: 1 unresolved externals.

Your pgl's third party metis just add win.h and win.c which have fake function like METIS_Kway_win32 and it works.

Why it works in cython. I read cython's document in using c++ third party , it hasn't talk about add files such as win.h.
Does it mean when use third party in cython , we must to add win.h and win.c to make pyx work?I mean use a fake func to compile, and use original func to work, because I only see win == 0.

You must be logged in to vote

Replies: 1 comment · 2 replies

Comment options

We add fake function for Windows because we had compilation problem at that time. Our metis actually works for Linux and Mac, but not for Windows. Maybe later we will spend some time to solve this problem.

You must be logged in to vote
2 replies
@zsy0828
Comment options

thank you for your answer.

@zsy0828
Comment options

We add fake function for Windows because we had compilation problem at that time. Our metis actually works for Linux and Mac, but not for Windows. Maybe later we will spend some time to solve this problem.

你好,请问pgl的metis和源码除了增加假的win函数外,还有什么区别么,因为在我们的图算法库后续可能也会使用cython来实现metis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.