Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Issue DPD200165972 still open.

faustino_de_sousa__j
1,057 Views

Hi all!

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.

Best regards,

José Rui

 

0 Kudos
1 Solution
Ron_Green
Moderator
991 Views

I opened a new bug report: CMPLRIL0-33738


View solution in original post

4 Replies
Ron_Green
Moderator
1,020 Views

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

 

runs

ifort -V -O0 -o intkinds intkinds.f90 
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.3.304 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
0 Kudos
faustino_de_sousa__j
1,008 Views

Hi Ronald!

You forgot the "-assume std_mod_proc_name" flag that triggers the problem.

Best regards,

José Rui

 

0 Kudos
Ron_Green
Moderator
992 Views

I opened a new bug report: CMPLRIL0-33738


Barbara_P_Intel
Moderator
822 Views

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.

0 Kudos
Reply