<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>$ ifx –o hello hello.f90 <font color="#0000ff">=> Looks like
the issue here is a typo in Intel's documentation where you
copied and pasted from it an en dash (–) instead of a dash (-).</font>
<br>
ifx: error #10236: File not found: '–o' <br>
</p>
<p>make: ifort: No such file or directory => <font
color="#0000ff">In siteconfig, you probably specified "Your
compiler: ifort".</font></p>
<p><font color="#0000ff">If using ifx, you need to specify:</font><br>
</p>
<p>
***********************************************************************<br>
* Specify
compilers
*<br>
***********************************************************************<br>
Recommended setting for f90 compiler: ifort<br>
Current selection (for current default just press ENTER):
ifx<br>
<br>
<font color="#0000ff"> Your compiler: ifx</font><br>
</p>
<p><font color="#0000ff">There is a
"WIEN2k24.1_Ubuntu22.04_Install_with_OneAPI(ifx).pdf" file that
might help you compile with ifx using -O0:<br>
</font></p>
<p><font color="#0000ff"><a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Docs">https://github.com/gsabo/WIEN2k-Docs</a></font></p>
<p><font color="#0000ff">The recent discussions have been about
compiling ifx with higher optimization (-O):<br>
</font></p>
<p><font color="#0000ff"><a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg23567.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg23567.html</a></font></p>
<p><font color="#0000ff">If you want to compile with gfortran
instead, there is also a
"WIEN2k24.1_Ubuntu24.04.1_Install_with_gfortran.pdf" file at:<br>
</font></p>
<p><font color="#0000ff"><a class="moz-txt-link-freetext" href="https://github.com/gsabo/WIEN2k-Docs">https://github.com/gsabo/WIEN2k-Docs</a></font></p>
<p><font color="#0000ff">To follow the steps in those PDF, you might
have to remove the WIEN2k install folder and start over with the
tar file. Alternatively, you could try removing the
WIEN2k_INSTALLDATE file before running siteconfig:<br>
</font></p>
<p><font color="#0000ff"><a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18104.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18104.html</a><br>
</font></p>
<p><font color="#0000ff">The problem with ifort for users that don't
have the older OneAPI installed or if it gets removed in an
update is Intel removed the free public download link in the
summer of 2024 to the last OneAPI version 2024.2.0 that
contained it. That older version should still be obtainable by
those who bought Intel's Priority Support by logging into the
Intel Registration Center according to the webpage:<br>
</font></p>
<p><font color="#0000ff"><a class="moz-txt-link-freetext" href="https://community.intel.com/t5/Blogs/Tech-Innovation/Tools/A-Historic-Moment-for-The-Intel-Fortran-Compiler-Classic-ifort/post/1614625">https://community.intel.com/t5/Blogs/Tech-Innovation/Tools/A-Historic-Moment-for-The-Intel-Fortran-Compiler-Classic-ifort/post/1614625</a></font><br>
</p>
<p><font color="#0000ff">There is a thread of Intel posts about the
slow program execution times when compiled with ifort compared
to ifx at:<br>
</font></p>
<p><font color="#0000ff"><a class="moz-txt-link-freetext" href="https://community.intel.com/t5/Intel-Fortran-Compiler/Last-build-for-ifort-and-plans-for-removing-ifort-from-packages/m-p/1615558">https://community.intel.com/t5/Intel-Fortran-Compiler/Last-build-for-ifort-and-plans-for-removing-ifort-from-packages/m-p/1615558</a><br>
</font></p>
<p><font color="#0000ff">One of the developers on the Intel software
team says in one post they are working on the performance issues
and states about it:<br>
</font></p>
<p><font color="#0000ff"><i>And as a software developer, you know
that not all issues are created equal: some can be fixed over
a cup of coffee, others take months or years and major
refactoring. <br>
</i></font></p>
<p><font color="#0000ff">Hope that helps,<br>
</font></p>
<font color="#0000ff">Gavin</font><br>
<font color="#0000ff">WIEN2k user</font><br>
<br>
<div class="moz-cite-prefix">On 12/27/2024 11:09 AM, Peter Blaha
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e66a3724-919a-4cc0-ab5f-015f3401fb1c@tuwien.ac.at">Obviously,
you are NOT reading the messages the various programs/mails tell
you.
<br>
<br>
Did you follow the recent discussions about ifort and ifx in
the mailing list ???
<br>
Most likely at the moment an unexperienced user CANNOT use the
latest OneAPI versions.
<br>
<br>
In your siteconfig you still use ifort as compiler name and
got the following message:
<br>
<br>
make: ifort: No such file or directory
<br>
<br>
What do you think could be the reason for this message:
<br>
<br>
It simply means, the program ifort does NOT exist on your
computer (in your path). Why is this ? If you have read the many
mails on the mailing list you should know that ifort does not
exist anymore in recent OneAPI versions and has been replaced by
ifx.
<br>
However, at the moment it is not clear if IWEN2k can be compiled
by ifx.
<br>
<br>
I recommend to use gfortran and openblas at the moment.
<br>
<br>
There were recent posts on the mailing list with detailed
instructions for gfortran+openblas on some Linux systems.
<br>
<br>
Regards
<br>
<br>
PS: You also did not realize that your mail did not go through,
since there is a size limit and you have to remove long "old"
mails in the reply.
<br>
---------------------------------------------------------
<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:9015neetu@gmail.com">9015neetu@gmail.com</a>
<br>
Subject: Re: [Wien] Error in Installation of Wien2k
<br>
<br>
Dears,
<br>
<br>
I managed to remove the warning from the terminal, the issue was
that there was a duplicate entry of source
/opt/intel/oneapi/setvars.sh in the .bashrc file.
<br>
<br>
But hello world program is not running, with below error:
<br>
<br>
<br>
$ ifx –o hello hello.f90
<br>
ifx: error #10236: File not found: '–o'
<br>
ifx: error #10236: File not found: 'hello'
<br>
<br>
Moreover, also facing the warning and errors at the end while
doing compilation of Wien2k via ./siteconfig_lapw :
<br>
<br>
ifort -c -O -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
-traceback -assume buffered_io
-I/opt/intel/oneapi/mkl/2025.0/include blas_lapw1.f
<br>
make: ifort: No such file or directory
<br>
<br>
....
<br>
<br>
</blockquote>
</body>
</html>