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

Movement of chapel source code causes same directory modules to be ignored #39

Open
lydia-duncan opened this issue Jan 21, 2015 · 0 comments

Comments

@lydia-duncan
Copy link
Member

The Chapel compiler resolves unknown use statements first by looking for the module name in the internal and standard modules, and then by looking for the module name in the current directory where the source was located. However, pyChapel compilation of chapel source files moves a copy of the source code to a different location and then compiles that copy, so Chapel can't detect the modules because they aren't present. This means that in order to utilize code that is in the same directory as your Chapel file, one must specify this directory via the "module_dirs" argument.

@safl, what are your thoughts on this?

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