<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with exp for double precision complex numbers with ifort and ifx in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510430#M167487</link>
    <description>&lt;P&gt;On Windows 11, using ifort Version 2021.10.0 Build 20230609 and ifx Version 2023.2.0 Build 20230627, with /Od or /QxAVX2, I observed no such problems. Both the 64-bit EXEs from those compilations output the correct result, (1.00000000000000,0.000000000000000E+000).&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 14:36:20 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2023-08-02T14:36:20Z</dc:date>
    <item>
      <title>Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510166#M167474</link>
      <description>&lt;P&gt;I'm using&lt;/P&gt;&lt;P&gt;ifort&amp;nbsp; 2021.10.0 20230609&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;ifx 2023.2.0 20230721&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I've ran into the following issue: Programs compiled with ifort and ifx incorrectly compute exponentials of double-precision complex numbers and return Infinity or 0 instead of the actual value. Below is a simple test code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;program test
        double complex :: x = (0.d0, 0.d0)
        print *, exp(x)
end program test&lt;/LI-CODE&gt;&lt;P&gt;If I compile this code with ifort, the output is&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(Infinity,0.000000000000000E+000)&lt;/LI-CODE&gt;&lt;P&gt;If I compile the code with ifx, the output is different, but is still wrong:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; (0.000000000000000E+000,0.000000000000000E+000)&lt;/LI-CODE&gt;&lt;P&gt;The issue appears to only arise with double precision complex numbers; the results are correct for single precision complex, double precision real etc.&lt;/P&gt;&lt;P&gt;Is this a known issue with these compilers?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 18:29:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510166#M167474</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-01T18:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510430#M167487</link>
      <description>&lt;P&gt;On Windows 11, using ifort Version 2021.10.0 Build 20230609 and ifx Version 2023.2.0 Build 20230627, with /Od or /QxAVX2, I observed no such problems. Both the 64-bit EXEs from those compilations output the correct result, (1.00000000000000,0.000000000000000E+000).&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 14:36:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510430#M167487</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2023-08-02T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510439#M167489</link>
      <description>&lt;P&gt;Thank you for checking this. The issue may actually be the type of a CPU that I am using: I ran into this problem on older computers, with Intel Xeon E5410 and Intel Xeon E5620. On a somewhat newer computer, with Intel Core i5-4440, EXP works fine. But even on the old computers, the GNU compiler (gfortran) produces correct results. Is the Intel compiler not recommended to be used with old CPUs?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 14:54:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510439#M167489</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-02T14:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510619#M167499</link>
      <description>&lt;P&gt;It is also possible that the error originates in a&amp;nbsp; library (a system library that provides math functions, such as libm.so, or another library provided with the compiler).&lt;/P&gt;&lt;P&gt;Please list the version of the operating system and the compiler options that will allow the error to be reproduced.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 23:13:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510619#M167499</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2023-08-02T23:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510907#M167511</link>
      <description>&lt;P&gt;To run the above test, I did not use any flags (i.e., I just typed "ifort test.f90" or "ifx test.f90", where test.f90 is the above test program). I am running Ubuntu 22.04 on all 3 computers on which I performed the test.&lt;/P&gt;&lt;P&gt;- On those computers that failed the test, I'm running the server version of Ubuntu, with kernel 5.15.0-78-generic&lt;/P&gt;&lt;P&gt;- On the computer that passed the test, I am running the desktop version, with kernel 5.19.0-50-generic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 16:56:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1510907#M167511</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-03T16:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511300#M167546</link>
      <description>&lt;P&gt;I just ran this on&amp;nbsp;Ubuntu 22.04.2 LTS with&amp;nbsp;5.15.47+prerelease4684&amp;nbsp; kernel and the same compilers you have,&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/305953"&gt;@DmitryKopelevich&lt;/a&gt;. I got the correct answers. I did not set any compiler options.&lt;/P&gt;
&lt;P&gt;The older Intel processors are still supported by the compilers. The default architecture is SSE2. I couldn't find the architecture info for the processors you mention.&lt;/P&gt;
&lt;P&gt;You might try compiling with -xhost. That will generate code for the processor that you are compiling on.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 18:53:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511300#M167546</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-08-04T18:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511430#M167552</link>
      <description>&lt;P&gt;Unfortunately, -xhost did not help either. I'll see if upgrading the linux kernel will help.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 18:53:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511430#M167552</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-05T18:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511443#M167553</link>
      <description>&lt;P&gt;According to this &lt;A href="https://www.intel.com/content/www/us/en/products/sku/47925/intel-xeon-processor-e5620-12m-cache-2-40-ghz-5-86-gts-intel-qpi/specifications.html" target="_self"&gt;data sheet&lt;/A&gt;, the E5620 supports SSE4.2 instructions.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 21:44:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511443#M167553</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2023-08-05T21:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511536#M167560</link>
      <description>&lt;P&gt;I tried to explicitly compile for SSE4.2 instructions using the option "-arch SSE4.2" and got the following error: " error #10236: File not found: 'SSE4.2'". I was able to compile with "-arch SSE3" and "-arch SSE2" options without errors, but then the executable was producing the incorrect result.&lt;/P&gt;&lt;P&gt;I wonder if the "File not found" error for SSE4.2 is a clue.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 22:40:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511536#M167560</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-06T22:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511829#M167570</link>
      <description>&lt;P&gt;Try -xSSE4.2.&lt;/P&gt;
&lt;P&gt;That "File not found" message isn't relevant. That looks like a bug with -arch and the ifx and ifort drivers. I've never used that compiler option. I'll look into that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 19:56:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511829#M167570</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-08-07T19:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511929#M167574</link>
      <description>&lt;P&gt;Unfortunately, it didn't help. It compiles with the -xSSE4.2 flag, but the compiled code still produces the same incorrect result.&lt;/P&gt;&lt;P&gt;Another observation: the result depends on which computer I am running the code on, not where I compile it. I.e., if I compile the code on the computer that produces a wrong result but run the code on a different computer, it produces the correct result. And vice versa.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 03:15:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1511929#M167574</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-08T03:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1512236#M167594</link>
      <description>&lt;P&gt;Let's gather more data on the "bad" computer.&amp;nbsp; Use the -# option to dump all the defines, includes, and paths to libs used in the compilation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ifort -# test.f90&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and post the output.&amp;nbsp; There may be a clue in there.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 20:37:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1512236#M167594</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-08-08T20:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1512244#M167596</link>
      <description>&lt;P&gt;Another question - are you building/compiling test.f90 on one computer but running on these older CPU systems?&amp;nbsp; On the older systems, is there an older version of the Intel Fortran Runtime Libraries, what we used to call the "redistributable libraries"?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one way to tell&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you compile test.f90 to test.exe, move the test.exe to the old computer.&lt;/P&gt;
&lt;P&gt;Then do&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ldd test.exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and send the output.&amp;nbsp; this will tell us if it's picking up an older incompatible Fortran Runtime Library&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 20:54:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1512244#M167596</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-08-08T20:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1512992#M167651</link>
      <description>&lt;P&gt;Normally, I compile on the same computer on which I run the program; I just tried running the code on a different computer this one time to see if it gives me any clues.&lt;/P&gt;&lt;P&gt;Here is the output of ifort -# test.f90&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../bin/intel64/fortcom  \
    -D__INTEL_COMPILER=2021 \
    -D__INTEL_COMPILER_UPDATE=10 \
    -D__unix__ \
    -D__unix \
    -D__linux__ \
    -D__linux \
    -D__gnu_linux__ \
    -Dunix \
    -Dlinux \
    -D__ELF__ \
    -D__x86_64 \
    -D__x86_64__ \
    -D__amd64 \
    -D__amd64__ \
    -D__INTEL_COMPILER_BUILD_DATE=20230609 \
    -D__INTEL_OFFLOAD \
    -D__MMX__ \
    -D__SSE__ \
    -D__SSE_MATH__ \
    -D__SSE2__ \
    -D__SSE2_MATH__ \
    -D__pentium4 \
    -D__pentium4__ \
    -D__tune_pentium4__ \
    -I. \
    -I/opt/intel/oneapi/tbb/2021.10.0/env/../include \
    -I/opt/intel/oneapi/mpi/2021.10.0//include \
    -I/opt/intel/oneapi/mkl/2023.2.0/include \
    -I/opt/intel/oneapi/ipp/2021.9.0/include \
    -I/opt/intel/oneapi/ippcp/2021.8.0/include \
    -I/opt/intel/oneapi/ipp/2021.9.0/include \
    -I/opt/intel/oneapi/dpl/2022.2.0/linux/include \
    -I/opt/intel/oneapi/dpcpp-ct/2023.2.0/include \
    -I/opt/intel/oneapi/dnnl/2023.2.0/cpu_dpcpp_gpu_dpcpp/include \
    -I/opt/intel/oneapi/dev-utilities/2021.10.0/include \
    -I/opt/intel/oneapi/dal/2023.2.0/include \
    -I/opt/intel/oneapi/compiler/2023.2.1/linux/lib/oclfpga/include \
    -I/opt/intel/oneapi/ccl/2021.10.0/include/cpu_gpu_dpcpp \
    -I/global/apps/gromacs-4.5.6-gnu/share/gromacs/top \
    -I/home/kopelev/dkopelev/soft-matter/1.1/force-field \
    -I/home/kopelev/dkopelev/soft-matter/1.1/force-field/slipid.ff \
    -I/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../compiler/include/intel64 \
    -I/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../compiler/include/icc \
    -I/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../compiler/include \
    -I/usr/local/include \
    -I/usr/lib/gcc/x86_64-linux-gnu/11/include \
    -I/usr/include/ \
    -I/usr/include \
    -I/usr/include/x86_64-linux-gnu \
    -omp_simd \
    -O2 \
    "-reentrancy threaded" \
    -simd \
    -offload_host \
    -mGLOB_em64t=TRUE \
    -mP1OPT_version=2021.10.0-intel64 \
    -mGLOB_diag_file=/tmp/iforta208Yq.diag \
    -mGLOB_long_size_64 \
    -mGLOB_routine_pointer_size_64 \
    -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 \
    -mP2OPT_static_promotion \
    -mGLOB_pack_sort_init_list \
    -mP1OPT_print_version=FALSE \
    -mCG_use_gas_got_workaround=F \
    -mP2OPT_align_option_used=TRUE \
    -mGLOB_gcc_version=1140 \
    -mGLOB_options_string=-# \
    -mGLOB_cxx_limited_range=FALSE \
    -mCG_extend_parms=FALSE \
    -mGLOB_compiler_bin_directory=/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../bin/intel64 \
    -mGLOB_as_output_backup_file_name=/tmp/ifortF9uRCTas_.s \
    -mGLOB_dashboard_use_source_name \
    -mIPOPT_activate \
    -mIPOPT_lite \
    -mGLOB_uarch_tuning=0x0 \
    -mGLOB_product_id_code=0x22006d91 \
    -mCG_bnl_movbe=T \
    -mP3OPT_use_mspp_call_convention \
    -mP2OPT_subs_out_of_bound=FALSE \
    -mP2OPT_disam_type_based_disam=2 \
    -mGLOB_ansi_alias \
    -mPGOPTI_value_profile_use=T \
    -mGLOB_opt_report_use_source_name \
    -mGLOB_offload_mode=1 \
    -mGLOB_offload_no_openmp=TRUE \
    -mP2OPT_offload_unique_var_string=ifort0441341851YjGn7P \
    -mP2OPT_hlo_level=2 \
    -mP2OPT_hlo \
    -mP2OPT_hpo_rtt_control=0 \
    -mIPOPT_args_in_regs=0 \
    -mP2OPT_disam_assume_nonstd_intent_in=FALSE \
    -mGLOB_imf_mapping_library=/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../bin/intel64/libiml_attr.so \
    -mIPOPT_single_file_compile_and_link=TRUE \
    -mPGOPTI_gen_threadsafe_level=0 \
    -mIPOPT_lto_object_enabled \
    -mIPOPT_lto_object_value=1 \
    -mIPOPT_obj_output_file_name=/tmp/iforta208Yq.o \
    -mIPOPT_whole_archive_fixup_file_name=/tmp/ifortwarch0ScWBZ \
    -mGLOB_linker_version=2.38 \
    -mGLOB_linker=ld \
    -mGLOB_driver_tempfile_name=/tmp/iforttempfile7zQmx4 \
    -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS \
    -mGLOB_async_unwind_tables=TRUE \
    -mGLOB_obj_output_file=/tmp/iforta208Yq.o \
    -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_FORTRAN \
    -mP1OPT_source_file_name=a.f90 \
    -mP1OPT_full_source_file_name=/kopelev/dkopelev/a.f90 \
    -mP2OPT_symtab_type_copy=true \
    a.f90

ld  \
    /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o \
    /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o \
    /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o \
    --eh-frame-hdr \
    --build-id \
    -dynamic-linker \
    /lib64/ld-linux-x86-64.so.2 \
    -m \
    elf_x86_64 \
    -plugin \
    /opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../bin/intel64/../../lib/icx-lto.so \
    -o \
    a.out \
    /opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../compiler/lib/intel64_lin/for_main.o \
    -L/opt/intel/oneapi/tbb/2021.10.0/env/../lib/intel64/gcc4.8 \
    -L/opt/intel/oneapi/mpi/2021.10.0//libfabric/lib \
    -L/opt/intel/oneapi/mpi/2021.10.0//lib/release \
    -L/opt/intel/oneapi/mpi/2021.10.0//lib \
    -L/opt/intel/oneapi/mkl/2023.2.0/lib/intel64 \
    -L/opt/intel/oneapi/ipp/2021.9.0/lib/intel64 \
    -L/opt/intel/oneapi/ippcp/2021.8.0/lib/intel64 \
    -L/opt/intel/oneapi/ipp/2021.9.0/lib/intel64 \
    -L/opt/intel/oneapi/dnnl/2023.2.0/cpu_dpcpp_gpu_dpcpp/lib \
    -L/opt/intel/oneapi/dal/2023.2.0/lib/intel64 \
    -L/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin \
    -L/opt/intel/oneapi/compiler/2023.2.1/linux/lib \
    -L/opt/intel/oneapi/ccl/2021.10.0/lib/cpu_gpu_dpcpp \
    -L/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/../../compiler/lib/intel64_lin \
    -L/opt/intel/oneapi/mpi/2021.10.0//libfabric/lib/../lib/ \
    -L/opt/intel/oneapi/mpi/2021.10.0//lib/../lib/ \
    -L/opt/intel/oneapi/dnnl/2023.2.0/cpu_dpcpp_gpu_dpcpp/lib/../lib/ \
    -L/opt/intel/oneapi/compiler/2023.2.1/linux/lib/../lib/ \
    -L/usr/lib/gcc/x86_64-linux-gnu/11/ \
    -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/ \
    -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib64 \
    -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/ \
    -L/lib/x86_64-linux-gnu/ \
    -L/lib/../lib64 \
    -L/lib/../lib/ \
    -L/usr/lib/x86_64-linux-gnu/ \
    -L/usr/lib/../lib64 \
    -L/usr/lib/../lib/ \
    -L/opt/intel/oneapi/tbb/2021.10.0/env/../lib/intel64/gcc4.8/ \
    -L/opt/intel/oneapi/mpi/2021.10.0//libfabric/lib/ \
    -L/opt/intel/oneapi/mpi/2021.10.0//lib/release/ \
    -L/opt/intel/oneapi/mpi/2021.10.0//lib/ \
    -L/opt/intel/oneapi/mkl/2023.2.0/lib/intel64/ \
    -L/opt/intel/oneapi/ipp/2021.9.0/lib/intel64/ \
    -L/opt/intel/oneapi/ippcp/2021.8.0/lib/intel64/ \
    -L/opt/intel/oneapi/dnnl/2023.2.0/cpu_dpcpp_gpu_dpcpp/lib/ \
    -L/opt/intel/oneapi/dal/2023.2.0/lib/intel64/ \
    -L/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin/ \
    -L/opt/intel/oneapi/compiler/2023.2.1/linux/lib/ \
    -L/opt/intel/oneapi/ccl/2021.10.0/lib/cpu_gpu_dpcpp/ \
    -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../ \
    -L/lib64 \
    -L/lib/ \
    -L/usr/lib64 \
    -L/usr/lib \
    /tmp/iforta208Yq.o \
    -Bdynamic \
    -Bstatic \
    -lifport \
    -lifcoremt \
    -limf \
    -lsvml \
    -Bdynamic \
    -lm \
    -Bstatic \
    -lipgo \
    -lirc \
    -Bdynamic \
    -lpthread \
    -Bstatic \
    -lsvml \
    -Bdynamic \
    -lc \
    -lgcc \
    -lgcc_s \
    -Bstatic \
    -lirc_s \
    -Bdynamic \
    -ldl \
    -lc \
    /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o \
    /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o

rm /tmp/ifortdashvQ7ybaM
rm /tmp/ifortdummyiiNb4q.c
rm /tmp/ifortsearchdirsVWKjaG
rm /tmp/ifortgccdashvgJRpIE
rm /tmp/iforta208Yq.o
rm /tmp/ifortF9uRCTas_.s
rm /tmp/ifortldashvHc6WqN
rm /tmp/iforttempfile7zQmx4
rm /tmp/ifortargdRkXKi
rm /tmp/iforta208Yq.o&lt;/LI-CODE&gt;&lt;P&gt;This is the output I get when I run ldd test.ext on the old computer for an executable compiled on the new computer:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        linux-vdso.so.1 (0x00007ffc7795f000)
        libm.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libm.so.6 (0x000014626245c000)
        libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x0000146262234000)
        libgcc_s.so.1 =&amp;gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000146262212000)
        /lib64/ld-linux-x86-64.so.2 (0x0000146262557000)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 10 Aug 2023 17:56:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1512992#M167651</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-10T17:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513505#M167689</link>
      <description>&lt;P&gt;Your output is in line with what I see on my Ubu 22.04 server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As was mentioned above, the EXP function in Fortran is calling into the cexp() function in libm on your system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On mine this is&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ldd a.out&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt; linux-vdso.so.1 (0x00007ffd6ed5f000)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt; libm.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd7a26ff000)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt; libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd7a24d7000)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt; libgcc_s.so.1 =&amp;gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd7a24b5000)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt; /lib64/ld-linux-x86-64.so.2 (0x00007fd7a27f0000)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These older systems, these are also running Ubuntu 22.04 with gcc 11 right?&amp;nbsp; Do they have the oneapi 2023.2 tools installed on them?&amp;nbsp; Do they have anything under /opt/intel ?&amp;nbsp; Any old psxe directories?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can try to build on a 'good' system with -static.&amp;nbsp; Then bring the binary over and see what the results are.&amp;nbsp; THis way we aren't relying on the executable finding a compatible libm or intel runtime library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have access to servers as old as yours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 22:34:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513505#M167689</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-08-11T22:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513515#M167690</link>
      <description>&lt;P&gt;Yes, the older systems also run Ubuntu 22.04 with gcc 11. In terms of OS, the difference between the old and new systems is that the new system runs a desktop Ubuntu whereas the old system runs a server Ubuntu. I'm not sure if that's important in this case.&lt;/P&gt;&lt;P&gt;The old systems do have oneapi 2023.2 tools installed on them. The /opt/intel directory contains directory oneapi. There are no psxe directories.&lt;/P&gt;&lt;P&gt;I've tried compiling with the "-static" flag on the new computer and then running on the old computer, but the result is still the same! Does this suggest a CPU issue?&lt;/P&gt;&lt;P&gt;Something else I've noticed (on both old and new systems): "apt list --upgradable" gives the following list:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;intel-oneapi-compiler-cpp-eclipse-cfg/all 2023.2.1-16 all [upgradable from: 2023.2.1-16]
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic/all 2023.2.1-16 amd64 [upgradable from: 2023.2.1-16]
intel-oneapi-compiler-dpcpp-cpp/all 2023.2.1-16 amd64 [upgradable from: 2023.2.1-16]
intel-oneapi-compiler-dpcpp-eclipse-cfg/all 2023.2.1-16 all [upgradable from: 2023.2.1-16]
intel-oneapi-compiler-fortran/all 2023.2.1-16 amd64 [upgradable from: 2023.2.1-16]&lt;/LI-CODE&gt;&lt;P&gt;When I do "apt upgrade intel-oneapi-compiler-fortran, it goes through the motion of upgrading, but afterwards "apt list --upgradable" returns exactly the same list, as if nothing got upgraded. I doubt it is related to the problem with cdexp, but thought I'd mention it.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 23:44:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513515#M167690</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-11T23:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513562#M167692</link>
      <description>&lt;P&gt;On the system where you see an incorrect result, you can see if the problem originates in the math library, libm.so, by compiling and running a C test program that calls cexp(). For such a test, you do not even have to have a Fortran compiler installed on the system.&lt;/P&gt;&lt;P&gt;For example, compile and run the following test code using the system C compiler (gcc, probably).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;math.h&amp;gt;
#include &amp;lt;complex.h&amp;gt;

int main(){
  double complex x = 0.0 + 0.0*I;
  double complex z;
  z = cexp(x);
  printf("cexp(%.2f + %.2fi) = %.2f + %.2fi\n",
     creal(x), cimag(x), creal(z), cimag(z));
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compile, link and run with the commands&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gcc ctest.c -lm
./a.out&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 12:48:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513562#M167692</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2023-08-12T12:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513893#M167705</link>
      <description>&lt;P&gt;I've tried this and it works when I use the GNU C compiler (gcc). However, it doesn't work when I use the Intel compilers (icc and icx):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ gcc test.c -lm
$ ./a.out
cexp(0.00 + 0.00i) = 1.00 + 0.00i
$ icc test.c -lm
$ ./a.out
cexp(0.00 + 0.00i) = inf + 0.00i
$ icx test.c -lm
$ ./a.out
cexp(0.00 + 0.00i) = inf + 0.00i&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 15:57:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1513893#M167705</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-14T15:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1514331#M167724</link>
      <description>&lt;P&gt;For the Intel compilers, let's turn off our libimf and libsvml.&amp;nbsp; Use this option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-no-intel-lib=libimf,libsvml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 18:47:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1514331#M167724</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-08-15T18:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with exp for double precision complex numbers with ifort and ifx</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1514836#M167754</link>
      <description>&lt;P&gt;It worked! It produces the correct result when I turn off those libraries&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 03:03:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Issue-with-exp-for-double-precision-complex-numbers-with-ifort/m-p/1514836#M167754</guid>
      <dc:creator>DmitryKopelevich</dc:creator>
      <dc:date>2023-08-17T03:03:41Z</dc:date>
    </item>
  </channel>
</rss>

