Skip to content

Intel fortran build error: intrinsic assignment error #9

Description

@glemieux

When building a program with fhash as a dependency using fpm specifying ifort as the compiler I received the following error:

$ fpm build --compiler ifort
 + ifort -c app/main.f90 -warn all -check:all:noarg_temp_created -error-limit 1 -O0 -g -assume byterecl -traceback -module build/ifort_BFE5DBA90E3838BC/mapred_project -I build/ifort_BFE5DBA90E3838BC/mapred_project -o build/ifort_BFE5DBA90E3838BC/mapred_project/app_main.f90.o
 + ifort -c build/dependencies/fhash/src/fhash_data_container.f90 -warn all -check:all:noarg_temp_created -error-limit 1 -O0 -g -assume byterecl -traceback -module build/ifort_BFE5DBA90E3838BC/mapred_project -I build/ifort_BFE5DBA90E3838BC/mapred_project -o build/ifort_BFE5DBA90E3838BC/mapred_project/build_dependencies_fhash_src_fhash_data_container.f90.o
build/dependencies/fhash/src/fhash_data_container.f90(96): error #8304: In an intrinsic assignment statement, variable shall not be polymorphic.   [RAW]
      raw = data
------^
build/dependencies/fhash/src/fhash_data_container.f90(244): catastrophic error: Too many errors, exiting
compilation aborted for build/dependencies/fhash/src/fhash_data_container.f90 (code 1)
 Command failed
ERROR STOP 

Error termination. Backtrace:
#0  0x55ccb6e5409c in ???
#1  0x55ccb6e622bb in ???
#2  0x55ccb6e625ac in ???
#3  0x2ba3f5588e8b in GOMP_parallel
	at /home/conda/feedstock_root/build_artifacts/ctng-compilers_1610729750655/work/.build/x86_64-conda-linux-gnu/src/gcc/libgomp/parallel.c:171
#4  0x55ccb6e8a65f in ???
#5  0x55ccb6e97142 in ???
#6  0x55ccb6e2613f in ???
#7  0x2ba3f58fc554 in ???
#8  0x55ccb6e261b8 in ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions