Thank you very much for your answer. I tried to solve my problem in following way:<br>-I installed latest version of openmpi<br>-I installed latest versions of lapack, scalapack and their static libraries<br>-As stated in openmpi FAQ I switched to mpi compilers wrapers (mpicc and mpif90)<br>
-I checked if mpif.h is present in the system<br><br>The error messages at the end of compilation process are still the same:<br><br>#######<br><br>Compile time errors (if any) were:<br>SRC_aim/compile.msg:make[1]: *** [aim] Error 1<br>
SRC_aim/compile.msg:make: *** [real] Error 2<br>SRC_aim/compile.msg:make[1]: *** [aimc] Error 1<br>SRC_aim/compile.msg:make: *** [complex] Error 2<br>SRC_dipan/compile.msg:make: *** [dipan] Error 1<br>SRC_hf/compile.msg:Error: Syntax error in array constructor at (1)<br>
SRC_hf/compile.msg:Error: Syntax error in array constructor at (1)<br>SRC_hf/compile.msg:make[1]: *** [calc_exhfvv.o] Error 1<br>SRC_hf/compile.msg:make: *** [real] Error 2<br>SRC_hf/compile.msg:Error: Syntax error in array constructor at (1)<br>
SRC_hf/compile.msg:Error: Syntax error in array constructor at (1)<br>SRC_hf/compile.msg:make[1]: *** [calc_exhfvv.o] Error 1<br>SRC_hf/compile.msg:make: *** [complex] Error 2<br>SRC_hf/compile.msg:modules_tmp_.F:182: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>
SRC_hf/compile.msg:make[1]: *** [modules.o] Error 1<br>SRC_hf/compile.msg:make: *** [rp] Error 2<br>SRC_hf/compile.msg:modules_tmp_.F:182: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>SRC_hf/compile.msg:make[1]: *** [modules.o] Error 1<br>
SRC_hf/compile.msg:make: *** [cp] Error 2<br>SRC_kgen/compile.msg:Error: Logicals at (1) must be compared with .eqv. instead of .eq.<br>SRC_kgen/compile.msg:make: *** [arbmsh.o] Error 1<br>SRC_lapw0/compile.msg:Error: Logicals at (1) must be compared with .neqv. instead of .ne.<br>
SRC_lapw0/compile.msg:Error: Logicals at (1) must be compared with .eqv. instead of .eq.<br>SRC_lapw0/compile.msg:Error: Logicals at (1) must be compared with .eqv. instead of .eq.<br>SRC_lapw0/compile.msg:make[1]: *** [lapw0.o] Error 1<br>
SRC_lapw0/compile.msg:make: *** [seq] Error 2<br>SRC_lapw0/compile.msg:modules.F:22: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>SRC_lapw0/compile.msg:make[1]: *** [modules.o] Error 1<br>SRC_lapw0/compile.msg:make: *** [para] Error 2<br>
SRC_lapw1/compile.msg:make[1]: *** [lapw1] Error 1<br>SRC_lapw1/compile.msg:make: *** [real] Error 2<br>SRC_lapw1/compile.msg:make[1]: *** [lapw1c] Error 1<br>SRC_lapw1/compile.msg:make: *** [complex] Error 2<br>SRC_lapw1/compile.msg:modules_tmp_.F:33: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>
SRC_lapw1/compile.msg:make[1]: *** [modules.o] Error 1<br>SRC_lapw1/compile.msg:make: *** [rp] Error 2<br>SRC_lapw1/compile.msg:modules_tmp_.F:33: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>SRC_lapw1/compile.msg:make[1]: *** [modules.o] Error 1<br>
SRC_lapw1/compile.msg:make: *** [cp] Error 2<br>SRC_lapw2/compile.msg:make[1]: *** [lapw2] Error 1<br>SRC_lapw2/compile.msg:make: *** [real] Error 2<br>SRC_lapw2/compile.msg:make[1]: *** [lapw2c] Error 1<br>SRC_lapw2/compile.msg:make: *** [complex] Error 2<br>
SRC_lapw2/compile.msg:modules_tmp_.F:47: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>SRC_lapw2/compile.msg:make[1]: *** [modules.o] Error 1<br>SRC_lapw2/compile.msg:make: *** [rp] Error 2<br>SRC_lapw2/compile.msg:modules_tmp_.F:47: Error: Can&#39;t open included file &#39;mpif.h&#39;<br>
SRC_lapw2/compile.msg:make[1]: *** [modules.o] Error 1<br>SRC_lapw2/compile.msg:make: *** [cp] Error 2<br>SRC_lapwdm/compile.msg:make[1]: *** [lapwdm] Error 1<br>SRC_lapwdm/compile.msg:make: *** [real] Error 2<br>SRC_lapwdm/compile.msg:make[1]: *** [lapwdmc] Error 1<br>
SRC_lapwdm/compile.msg:make: *** [complex] Error 2<br>SRC_lapwso/compile.msg:make: *** [lapwso] Error 1<br>SRC_mini/compile.msg:make: *** [mini] Error 1<br>SRC_mixer/compile.msg:make: *** [mixer] Error 1<br>SRC_pairhess/compile.msg:main.f:692:0: error: insn does not satisfy its constraints:<br>
SRC_pairhess/compile.msg:main.f:692:0: internal compiler error: in reload_cse_simplify_operands, at postreload.c:403<br>SRC_pairhess/compile.msg:make: *** [main.o] Error 1<br>SRC_qtl/compile.msg:make: *** [qtl] Error 1<br>
<br>#####<br><br>What I don&#39;t know how to do:<br>-How to point WIEN to the correct mpi includes<br>-How to point WIEN to the location of GotoBLAS2 library<br>-How to specify lapack libraries<br><br>I am very sorry that I am taking your time, but where it comes to the configuration of computational clusters I am just a beginner without much experience.<br>
<br>Idea of using ifort is tempting but as I did not produce any results I must stick to the free alternatives.<br>