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

f90_demo test fails on macOS #1564

Closed
ischoegl opened this issue Aug 2, 2023 · 2 comments
Closed

f90_demo test fails on macOS #1564

ischoegl opened this issue Aug 2, 2023 · 2 comments
Labels
macOS tests Issues about tests, running the tests, or test results

Comments

@ischoegl
Copy link
Member

ischoegl commented Aug 2, 2023

Problem description

scons test-f90-demo produces an error

Steps to reproduce

  1. Compile main with f90_interface=y
  2. Run scons test-f90-demo
  3. See error '....'
* Running test 'f90-demo'...
ERROR: FAILED (program exit code:-6)
Found differences between /Volumes/Data/work/GitHub/cantera/test_problems/fortran/f90_demo_blessed.txt and /Volumes/Data/work/GitHub/cantera/test_problems/fortran/f90_demo_output.txt:
>>>
---

+++

@@ -11,99 +11,25 @@

 Molar cp:          27056.     J/kmol-K


- Equilibrium state properties:
+libc++abi: terminating due to uncaught exception of type Cantera::CanteraError:
+*******************************************************************************
+CanteraError thrown by ThermoPhase::equilibrate:
+Invalid solver specified: ''
+*******************************************************************************


-Temperature:       2800.9     K
-Pressure:         0.10133E+06 Pa
-Density:          0.13658     kg/m3
-Molar Enthalpy:   0.25920E+08 J/kmol
-Molar Entropy:    0.24314E+06 J/kmol-K
-Molar cp:          32363.     J/kmol-K
+Program received signal SIGABRT: Process abort signal.

+Backtrace for this error:
+#0  0x10559b477
+#1  0x10559a433
+#2  0x1a132ea23
+#3  0x1a12ffc27
+#4  0x1a120dae7
+#5  0x1a12b8b83
+#6  0x1a12a83b3
+#7  0x1a0f7f03b
+#8  0x1a12b7f47
+#9  0x1a12bad33
+#10  0x1a12bacdf

-2 O + M <=> O2 + M            0.56821E-02   0.56821E-02  -0.86736E-17 kmol/m3/s
[...]
<<<
FAILED

System information

  • Cantera version: current main (3.0.0b1)
  • OS: macOS Ventura 13.4.1 on Apple Silicon M2
  • Python/MATLAB/other software versions:
% gcc --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
% gfortran --version
GNU Fortran (Homebrew GCC 12.2.0) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Other

This may be related to the issues reported in #1379 (with preliminary findings #1379 (comment))

@ischoegl ischoegl added macOS tests Issues about tests, running the tests, or test results labels Aug 2, 2023
@ischoegl ischoegl changed the title f90_demo test fails f90_demo test fails on macOS Aug 2, 2023
@speth
Copy link
Member

speth commented Aug 2, 2023

Of course this is the same as #1379. It's just two slightly different ways of compiling the same program. I don't think we need two issues to track the problem.

@ischoegl
Copy link
Member Author

ischoegl commented Aug 2, 2023

Yup. Got there using a different (more standard) approach. As your explanation in #1379 already points to the core issue, I am closing this one here.

@ischoegl ischoegl closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS tests Issues about tests, running the tests, or test results
Projects
None yet
Development

No branches or pull requests

2 participants