<div dir="ltr">Dear wien2k users,<div><br></div><div>I'm trying to install wien2k_17.1 with mpi, fftw and elpa using the GNU compilers. I must say that I'm not an expert in linking and compiling the packages, so probably some things will be wrong.</div><div><br></div><div>I'm using Ubuntu 16.04 LTS and have installed:</div><div>- BLAS: OpenBlas-0.2.20 which is in /opt/OpenBLAS and the libblas3 (shared version) and libblas-dev (static version) of netlib using synaptic package manager which is in /usr/lib;</div><div>- LAPACK: liblapack3 (shared version) and libpalack-dev (static version) of netlib <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">using</span> synaptic package manager which is in /usr/lib;</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- BLACS: libblacs-mpi-dev and libblacs-openmpi1 <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">of netlib </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">using</span> synaptic package manager which is in /usr/lib</span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">- ScaLAPACK: libscalapack-mpi-dev where I don't find the shared or static libraries, i.e., the libscalapack-mpi-dev.a or <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">libscalapack-mpi-dev.so files</span>, </span></span>and libscalapack-openmpi1 using synaptic package manager which is in /usr/lib;</div><div>- MPI: mpich-3.2.1 and it is installed in /usr/local/bin, <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/usr/local/</span>lib and <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/usr/local/</span>include and since I installed the openmpi version of BLACS and ScaLAPACK, I also have Openmpi and the binary files are at /usr/bin;</div><div>- FFTW: fftw-3.3.7 and I installed this one from source files with the option ./configure --enable-mpi, and installed it in <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/usr/local/lib/ and</span> /usr/lib/x86_64-linux-gnu;</div><div>- ELPA: libelpa-dev and libelpa3 and installed these using the synaptic manager again.</div><div><br></div><div><br></div><div>Questions:</div><div>1) I'm concerned that having two MPI implementations and two BLAS libraries might cause things to be compiled incorrectly. My idea was to install wien2k with MPICH since it seems to be the recommended one because there is almost no reference to OpenMPI, but on the other hand, the ScaLAPACK and BLACS libraries that I have use OpenMPI and I have tried installing these packages from source with MPICH but don't know how. Do you have any recommendation on which libraries and MPI to use?</div><div><br></div><div>2) In section 11.1.1 of the userguide it says:</div><div><br></div><div>"in case you do not have icc installed, but use GNU-C (gcc) you must:</div><div>– edit makefile, and remove -D_GNU from the line “ CC=gcc -D GNU” (to remove additional from the object names)</div><div>– make libintel64 compiler=gnu"</div><div><br></div><div>which makefile is this? None of the Makefiles in SRC_lapw0, 1 and 2 have that -D_GNU flag. It also says to add, in my case,  -DFFTW3 to FOPT and -lfftw3xf and -lfftw3xf_gnu to R_LIBS in the Makefiles of lapw0 and lapw2, but I don't have any library named liblfftw3xf or libfftw3xf_gnu, are these supposed to be libfftw3 or libfftw3_mpi that I do have?</div><div><br></div><div>3) In the configuration of the parallel options I gave the locations of the directories, I had to edit the variables ELPA_OPT and ELPA_LIBS in the Makefile of SRC_lapw1 because they were not pointing to the correct directories, but in the RP_LIBS it warns that since I'm using gfortran, I might need additional libraries (-lredist -ltools -lfblacs -lblacs -lmpi), but I don't have the first three libraries and have tried searching them but I can't find them. What libraries are these? Do they have different names?</div><div><br></div><div><br></div><div>I'm sorry for the long post.</div><div><br></div><div>Best regards,</div><div>Rui Costa.</div></div>