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

throwing_error #28

Open
12mohaned opened this issue May 28, 2021 · 2 comments
Open

throwing_error #28

12mohaned opened this issue May 28, 2021 · 2 comments

Comments

@12mohaned
Copy link

The following errors are thrown when I try to run one of the example.

./Cdo.chpl:482: In method '__cdo_mapRelation':
./Cdo.chpl:493: error: Attempt to 'new' a function or undefined symbol
./Cdo.chpl:437: In method 'writeThis':
./Cdo.chpl:437: error: 'channel' undeclared (first use this function)

The error on line 437 can be solved by adding importing IO module, I did not opened a pull request to make sure that this bug not specific to me. Also, the error on line 493 can be solved by instantiate a object of type ModelRelationInfo and call the _cdo_mapRelation with it.

@ben-albrecht
Copy link
Collaborator

Which example are you running and what version of Chapel? I'd be curious if #26 resolves this issue for you. It is a large refactor with various fixes and improvements to testing (including unit tests instead of examples).

@12mohaned
Copy link
Author

I am using version 1.23.0, it will resolve the first error by importing IO module, I am not sure about the second error because the addition will change the logic itself.

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

2 participants