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

Expand Chapel settings that work with this feature #7

Open
lydia-duncan opened this issue Dec 10, 2014 · 1 comment
Open

Expand Chapel settings that work with this feature #7

lydia-duncan opened this issue Dec 10, 2014 · 1 comment

Comments

@lydia-duncan
Copy link
Member

At the moment, building Chapel with the included third-party packages (qthreads, re2, gmp, etc.) will not produce a library that can be used with pyChapel. This means that the build settings are limited to CHPL_TASKS=fifo, CHPL_GMP=none (or system, I believe), CHPL_REGEXP=none, and CHPL_MEM=cstdlib. There may be other limitations that neither Simon nor I have encountered yet.

Since the default value of CHPL_TASKS is qthreads, this is unfortunate. However, our fifo tasking layer still shows good performance (and an improvement when compared to similar but "pure" Python programs), so I don't believe this issue is critical to the success of pyChapel. It would be nice to clean up, though.

@lydia-duncan
Copy link
Member Author

In reviewing the libraries document for our upcoming Chapel release, a script was brought to my attention that may be useful in accomplishing this. $CHPL_HOME/util/config/compileline --libraries will give the -L and -l options necessary for all linking when using Chapel from a C file.

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

No branches or pull requests

1 participant