-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Help: Errors about running Cantera 2.3.0b1 with Fortran code #531
Comments
@ericpan2018 Is this the same issue you posted about on the User Group: https://groups.google.com/forum/#!topic/cantera-users/9OKA1CmLV2s ? |
@bryanwweber Yes, it is the same issue. Since there is no one reply in Google Group, I just post it here with more details to expect someone can help. My code works well under old system with Cantera-2.2.1 + intel-15.0.2 + python-2.7.8+ sundials-2.6.2+gcc-5.2.0, but now it has errors under new system with Cantera/.experimental-2.3.0b1 + gcc/7.3.0+ sundials/2.7.0+python/2.7.14-anaconda5.1.0+mkl/2018.2. I have no idea where the errors are caused by? Is it by the change in Cantera-2.3.0b1 compared to Cantera-2.2.1, or by the change of using gcc instead of intel, or by installation issue (the technician mentioned he met issue when install Cantera due to the Cython issue)? |
@bryanwweber Another question about installation of Cantera-2.2.1, When the technician installed Cantera-2.2.1, it fails due to some changes of Cython. Is there anyway to solve this problem? Or does anyone meet this issue? Thanks a lot. |
@ericpan2018 You posted that question less than 48 hours ago, and we are an all-volunteer community (with many of our volunteers entering final exam season here in the US); probably no one has had time yet to look into the issue and respond. Could you please add the extra details from this post to the User's Group post and we'll focus the discussion there do avoid duplicating conversation (and can you also add to the user group post which git commit is specified as 2.3.0b1? How did they install Cantera 2.3.0b1? Why are they using an out-of-date version?)? Thank you! |
@ericpan2018 This is a known and solved issue: #465 You should be using at least the full version of 2.3.0 (not 2.3.0b1) with an older version of Cython, or use the most recent |
@bryanwweber Thanks a lot for your help. I am not very clear with the installation details. In addition, I would like to ask if we can still install 2.2.1 and use method in #465 to fix the installation issue? |
@ericpan2018 You can, although the patch may not apply cleanly because it was applied post-2.3.0. However, you should be able to fairly easily install an older version of Cython using pip if you really want to build 2.2.1. We will really need the installation details (posted to the User Group post please) to be able to help debug. |
Cantera version
Cantera/.experimental-2.3.0b1
Operating System
Linux
Python/MATLAB version
Python/2.7.14-anaconda5.1.0
Expected Behavior
print out results like:
Actual Behavior
1) --- 1st error:
2) --- 2nd error: about "advance" function: (similar error when using "step()" function)
Steps to reproduce
1.Since I ran simulation in University Computer Center, so the module is installed by them. To run the code, some modules needed to load in my account in Computer Center as:
The text was updated successfully, but these errors were encountered: