- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ronald!
You forgot the "-assume std_mod_proc_name" flag that triggers the problem.
Best regards,
José Rui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I opened a new bug report: CMPLRIL0-33738
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page