Skip to content

compilation error with Intel oneAPI 2022 #3

@bm-pw

Description

@bm-pw

I attempted to build the CEA with only FORTRAN and C bindings using Intel oneAPI 2022 on Red Hat Enterprise Linux 8. The build failed because of these errors:

[ 34%] Built target fbasics_core
[ 37%] Building Fortran object source/CMakeFiles/cea_core.dir/mixture.f90.o
/home/e10017898/dev/cea/source/mixture.f90(171): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.   [THERMO]
                reactants = Mixture(thermo, reactant_names, ions=ions)
------------------------------------^
/home/e10017898/dev/cea/source/mixture.f90(171): error #8001: The type of the component in a structure-constructor differs from the type of the component in the derived-type-def.   [THERMO]
                reactants = Mixture(thermo, reactant_names, ions=ions)
------------------------------------^
/home/e10017898/dev/cea/source/mixture.f90(171): error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.   [REACTANT_NAMES]
                reactants = Mixture(thermo, reactant_names, ions=ions)
--------------------------------------------^
/home/e10017898/dev/cea/source/mixture.f90(171): error #8001: The type of the component in a structure-constructor differs from the type of the component in the derived-type-def.   [REACTANT_NAMES]
                reactants = Mixture(thermo, reactant_names, ions=ions)
--------------------------------------------^
/home/e10017898/dev/cea/source/mixture.f90(171): error #6594: The rank of a component in a structure constructor differs from the rank of the component of the derived type.   [REACTANT_NAMES]
                reactants = Mixture(thermo, reactant_names, ions=ions)
--------------------------------------------^
/home/e10017898/dev/cea/source/mixture.f90(171): error #6594: The rank of a component in a structure constructor differs from the rank of the component of the derived type.
                reactants = Mixture(thermo, reactant_names, ions=ions)
^
compilation aborted for /home/e10017898/dev/cea/source/mixture.f90 (code 1)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions