- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The new ifx version (2022.2.1) has a regression compared to previous versions. Consider the following simple example, which replicates an operation performed in a more complex code:
integer :: i
character(2) :: string
string = "ab"
do i=1, len(string)
string(i:i) = merge(string(i:i), 'c', string(i:i) /= 'a')
end do
This merge compiles successfully using ifort and previous ifx versions. But with the 2022.2.1 version of ifx, we get the following error:
/glade/u/apps/common/22.12/spack/opt/spack/intel-oneapi-compilers/2022.2.1/compiler/2022.2.1/linux/bin-llvm/xfortcom[0xeeba29]
test.f90(10): error #5533: Feature found on this line is not yet supported in ifx
string(i:i) = merge(string(i:i), 'c', string(i:i) /= 'a')
----------------------^
compilation aborted for test.f90 (code 3)
Please let me know if you need more information.
Regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I reproduced the error with the current ifx compiler, Intel(R) Fortran 22.0-1775.03. But with the version of ifx that will be available soon I don't get that error.
Watch for an announcement for when that release will be available.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I reproduced the error with the current ifx compiler, Intel(R) Fortran 22.0-1775.03. But with the version of ifx that will be available soon I don't get that error.
Watch for an announcement for when that release will be available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Barbara - that's good news. We will watch for it.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page