Just to give notice that Issue DPD200165972 (can't use assume std_mod_proc_name and IEEE_VALUE) is still open.
Bumped into it on iso_fortran_env *_kinds array parameters.
use, intrinsic :: iso_fortran_env
print *, integer_kinds
undefined reference to `iso_fortran_env_MP_integer_kinds_'
I would guess the original fix only got procedures but not variables... But did not check any further...
Thank you very much.
What version of the compiler are you running? neither the PSXE 2020 nor the oneAPI 2021 versions exhibit any issue with this:
program intkinds use, intrinsic :: iso_fortran_env implicit none print *, integer_kinds end program intkinds
ifort -V -O0 -o intkinds intkinds.f90 Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 184.108.40.2064 Build 20200925_000000 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. Intel(R) Fortran 19.1-1655 GNU ld (GNU Binutils for Ubuntu) 2.34 rwgreen@orcsle158:~/quad$ ./intkinds 1 2 4 8
I just wanted to let you know that this issue is resolved in the 2021.4.0 Fortran compiler release that was made available earlier this month.
$ ifort -assume std_mod_proc_name -what -V -O0 -o intkinds intkinds.f90 Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.4.0 Build 20210910_000000 Copyright (C) 1985-2021 Intel Corporation. All rights reserved. Intel(R) Fortran 2021.4.0-2742 GNU ld (GNU Binutils for Ubuntu) 2.34 $ intkinds 1 2 4 8 $
Please try it and let me know how it works for you.