<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Gerhard and Shamik,<br>
<br>
Ok, sorry, I did not think too much into it.<br>
<br>
In siteconfig,<br>
<br>
1) selected "S specify a system" and "I Linux (Intel ifort
compiler (12.0 and later) + mkl )"<br>
2) selected "O specify compiler options, BLAS and LAPACK", and
it gave:<br>
<br>
Recommended options for system linuxifc are:<br>
Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML -traceback -assume buffered_io<br>
Linker Flags: <font color="#ff0000">$(FOPT) </font>-L$(MKLROOT)/lib/$(MKL_TARGET_ARCH)
<font color="#ff0000">-pthread</font><br>
Preprocessor flags: '-DParallel'<br>
R_LIB (LAPACK+BLAS): -lmkl_lapack95_lp64 -lmkl_intel_lp64
-lmkl_intel_thread -lmkl_core -openmp <font color="#ff0000">-lpthread</font><br>
<br>
I knew that these recommended 64 bit settings have worked fine for
me on different Linux operating systems. Until you mentioned it,
I did not know that -pthread could be safely dropped from the
Linker Flags.<br>
<br>
Thanks,<br>
<br>
Gavin</div>
<br>
<blockquote
cite="mid:f5f59e75e7a44ee5a76dbf9811c166ca@e15be-03.zdv.Uni-Mainz.DE"
type="cite">
<pre wrap="">why -pthread instead of -lpthread ? The threading library is libpthread and should be linked with -lpthread !
I remembre that I made some ten years ago the remark on that: On SUSE systems (at thae time it was 9.2 and older) one can have a very comfortable setup of the linker
such that it finds the standart libraries by itself. You can check it if you remove the -pthread switch from the linker line and find that Wien2k is still linked correctly.
If not then you may use ldconfig to make your linker environment more comfortable.</pre>
</blockquote>
<br>
<blockquote
cite="mid:f5f59e75e7a44ee5a76dbf9811c166ca@e15be-03.zdv.Uni-Mainz.DE"
type="cite">
<pre wrap="">Below I do not understand why the linker should need the compiler options (LDFLAGS:$(FOPT)) ??</pre>
</blockquote>
</body>
</html>