[Wien] error in dstart in Wine2k_16- "undefined symbol"
Gavin Abo
gsabo at crimson.ua.edu
Tue Jun 12 05:20:39 CEST 2018
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.
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.
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:
https://software.intel.com/en-us/download/parallel-studio-xe-2017-install-guide-linux
https://software.intel.com/en-us/download/parallel-studio-xe-2018-install-guide-linux
At the first link above in parallel-studio-xe-install-guide-linux.pdf on
page 8 in step 7.2., you should see:
/Choose the installation directory (for example, /opt/intel)/
Instead of /opt/intel, you can change the installation directory to your
home directory or another directory you have access to.
Does the ifort command work when you login to the cluster?
If it does not work, you will get a "command not found" error or
something else like:
username at computername:~$ ifort -v
Command 'ifort' not found, did you mean:
command 'isort' from deb isort
Try: sudo apt install <deb name>
If the manager(s) installed ifort at the default location, it should be
in the /opt folder.
With ifort successfully installed, but getting the "command not found",
what I do is search for and find the compilervars.sh:
username at computername:~$ find /opt -name "compilervars.sh"
/opt/intel/bin/compilervars.sh
/opt/intel/composer_xe_2013_sp1.1.106/bin/compilervars.sh
/opt/intel/composer_xe_2013_sp1/bin/compilervars.sh
Then, I select the compilervars.sh for the version that I want to use
among the versions available on the system.
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 /opt in the above 'find' command with that
location.
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:
username at computername:~$ echo "source /opt/intel/bin/compilervars.sh
intel64" >> ~/.bashrc
I reload the .bashrc file with the source line change made to it:
username at computername:~$ source ~/.bashrc
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:
username at computername:~$ ifort -v
ifort version 14.0.1
If that already works, but I don't know where ifort is installed, I use
the 'which' command:
username at computername:~$ which ifort
/opt/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort
The above shows me it is installed in the /opt folder.
When I search in the /opt folder, the libimf.a & libimf.so exist and are
found:
username at computername:~$ find /opt -name "libimf*"
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic/libimf.so
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/mic/libimf.a
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/libimf.so
/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/libimf.a
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.
An alternative solution is possibly to compile WIEN2k statically using
settings recommended by the Intel Link Advisor [
https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor
]. However, installing ifort and setting the environmental variable is
most likely easier than trying to do a static build [
https://en.wikipedia.org/wiki/Static_build ].
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20180611/6255245f/attachment-0001.html>
More information about the Wien
mailing list