Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28591 Discussions

looking for library archiving tool xiar d

intelgeli
Beginner
1,166 Views
Hello
We are using the Intel Fortran compiler on our cluster with Starcd. The jobs with user user routines are exiting with the error "looking for library archiving tool xiar d" and comment that the library is usually installed with the compiler. Is this an Intel library that I have to install separately to the compiler?
Error message;
PNP: Analyzing User coding in "ufile" directory.
PNP: **WARNING** Cannot find required library archiving tool "xiar d".
PNP: ==> This binary utility is normally installed with your C/Fortran compilers.
0 Kudos
2 Replies
TimP
Honored Contributor III
1,166 Views
Quoting - intelgeli
Hello
We are using the Intel Fortran compiler on our cluster with Starcd. The jobs with user user routines are exiting with the error "looking for library archiving tool xiar d" and comment that the library is usually installed with the compiler. Is this an Intel library that I have to install separately to the compiler?
Error message;
PNP: Analyzing User coding in "ufile" directory.
PNP: **WARNING** Cannot find required library archiving tool "xiar d".
PNP: ==> This binary utility is normally installed with your C/Fortran compilers.
xiar (archive tool for IPO objects) should be present in the same directory as ifort and icc, a mandatory part of the standard install. If it is present, but missing execute permission, it would not be found even though PATH is set up to include the ifort directory.
0 Kudos
Philip_Jones
Beginner
1,166 Views
If you get this error and have the Intel compiler, then you need to add the compiler to your path.

There are two ways of doing this. Note this assuem Intel installed in /users/porting/... so you need to change this for your own installation.

1) In the hardware.ini file you set the variable called INTEL and then STAR-CD will add this to the path and find xiar

platform Linux_x86_64 INTEL=/users/porting/dep/compilers/INTEL/11.1.046

This means that whenever you use setsar to set the STAR-CD version, you set the right Intel version.

2) You add xiar to the path yourself using the relevant provided ifortvars script

sakura<53>which xiar
xiar: Command not found.
sakura<54>source /users/porting/dep/compilers/INTEL/11.1.046/bin/ifortvars.csh intel64
sakura<55>which xiar
/users/porting/dep/compilers/INTEL/11.1.046/bin/intel64/xiar
sakura<56>



0 Kudos
Reply