<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>The libimf.a & libimf.so will not be were you installed
WIEN2k. Those two files should be were the Intel Fortran compiler
was installed, because they should come with the ifort program.</p>
<p>If ifort was already installed by the manager(s) of your cluster
(i.e., administrators, help desk team, or IT department) and is
working on your cluster, you should not have to install Intel
Fortran in your home directory on the cluster. <br>
</p>
<p>However, if your cluster doesn't have ifort and you have to
install ifort yourself in your home directory, I think you can
just follow the instructions in Intel's Installation Guide for the
version of the compiler that you have, where you should be able to
get the Installation Guide from Intel. For example:</p>
<a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/download/parallel-studio-xe-2017-install-guide-linux">https://software.intel.com/en-us/download/parallel-studio-xe-2017-install-guide-linux</a><br>
<a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/download/parallel-studio-xe-2018-install-guide-linux">https://software.intel.com/en-us/download/parallel-studio-xe-2018-install-guide-linux</a>
<p>At the first link above in
parallel-studio-xe-install-guide-linux.pdf on page 8 in step 7.2.,
you should see:</p>
<p><i>Choose the installation directory (for example, <font
color="#ff0000">/opt</font>/intel)</i></p>
<p>Instead of /opt/intel, you can change the installation directory
to your home directory or another directory you have access to.<br>
</p>
<p>Does the ifort command work when you login to the cluster?</p>
<p>If it does not work, you will get a "command not found" error or
something else like:</p>
<p>username@computername:~$ ifort -v<br>
Command 'ifort' not found, did you mean:<br>
command 'isort' from deb isort<br>
Try: sudo apt install <deb name><br>
</p>
<p>If the manager(s) installed ifort at the default location, it
should be in the <font color="#ff0000">/opt</font> folder.</p>
<p>With ifort successfully installed, but getting the "command not
found", what I do is search for and find the compilervars.sh:<br>
</p>
<p>username@computername:~$ find <font color="#ff0000">/opt</font>
-name "compilervars.sh"<br>
/opt/intel/bin/compilervars.sh<br>
/opt/intel/composer_xe_2013_sp1.1.106/bin/compilervars.sh<br>
/opt/intel/composer_xe_2013_sp1/bin/compilervars.sh<br>
</p>
<p>Then, I select the compilervars.sh for the version that I want to
use among the versions available on the system.</p>
<p>If the manager(s) of the cluster did not install ifort in the
default /opt location, you will have contact them to find out
where they installed it and replace the <font color="#ff0000">/opt</font>
in the above 'find' command with that location.</p>
<p>From the above, I chose to use the general path one, which should
use the latest ifort version on the system and appended the source
line for it my .bashrc file:<br>
</p>
<p>username@computername:~$ echo "source
/opt/intel/bin/compilervars.sh intel64" >> ~/.bashrc</p>
<p>I reload the .bashrc file with the source line change made to it:<br>
</p>
<p>username@computername:~$ source ~/.bashrc</p>
<p>If it does work, which it does on my system, I get the version
number of the ifort compiler instead of the "command not found"
error:<br>
</p>
username@computername:~$ ifort -v<br>
ifort version 14.0.1<br>
<br>
If that already works, but I don't know where ifort is installed, I
use the 'which' command:<br>
<br>
username@computername:~$ which ifort<br>
<font color="#ff0000">/opt</font>/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort<br>
<br>
The above shows me it is installed in the <font color="#ff0000">/opt</font>
folder.<br>
<br>
When I search in the <font color="#ff0000">/opt</font> folder, the
<font color="#009900">libimf.a</font> & <font color="#000099">libimf.so</font>
exist and are found:<br>
<br>
username@computername:~$ find /opt -name "libimf*"<br>
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic/libimf.so<br>
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic/libimf.a<br>
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/<font
color="#000099">libimf.so</font><br>
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/<font
color="#009900">libimf.a</font><br>
<br>
If the two files do not exist on the cluster, talk to your cluster
manager(s) as maybe the Intel Fortran compiler needs to be reinstall
by them.<br>
<br>
An alternative solution is possibly to compile WIEN2k statically
using settings recommended by the Intel Link Advisor [
<a class="moz-txt-link-freetext" href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor">https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor</a>
]. However, installing ifort and setting the environmental variable
is most likely easier than trying to do a static build [
<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/Static_build">https://en.wikipedia.org/wiki/Static_build</a> ].<br>
<br>
<blockquote type="cite"
cite="mid:CACS+pXMUatbKwo3NQUVAnWTLj6zKTwrRM5WreYj78mcdccV8Zg@mail.gmail.com">
<div dir="ltr">
<div>thanks for your quick reply. I searched for libimf.a &
libimf.so in the remote cluster where I was installed wine2k.
But I could not found them. I already wrote the "source /path
to compilevars.sh intel64" in .bashrc of my directory/user
account. Now, I want to install myself libimf.a &
libimf.so in my local directory. Could you please suggest me
what I need to do. <br>
</div>
</div>
</blockquote>
<br>
</body>
</html>