<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Probably mpi.h is from a in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090759#M5037</link>
    <description>&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); line-height: 107%; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 9.5pt; mso-ansi-language: EN;"&gt;Probably&amp;nbsp;mpi.h&amp;nbsp;is from a different version&amp;nbsp;of&amp;nbsp;MPI (vs. linkage stage, e.g., mpi.h from mpich1 and linking was done against mpich2), Could you modify your scripts to use mpiif90 wrapper instead of setting up&amp;nbsp;your build manually? The wrappers (mpiif90, mpiicc, etc.) supplied withy Intel MPI library&amp;nbsp;ensure that the build is done correctly. Please remember to set a path to Intel Fortran compiler before&amp;nbsp;using mpiif90 wrapper (it silently assumes that you have done this).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;BR,&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;Mark&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); line-height: 107%; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 9.5pt; mso-ansi-language: EN;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 01:18:59 GMT</pubDate>
    <dc:creator>Mark_L_Intel</dc:creator>
    <dc:date>2016-03-01T01:18:59Z</dc:date>
    <item>
      <title>MPI problems with parallel SIESTA</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090758#M5036</link>
      <description>&lt;DIV class="forum-post-content"&gt;
	&lt;DIV class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;
		&lt;DIV class="field-items"&gt;
			&lt;DIV class="field-item even"&gt;
				&lt;P&gt;Hello,&lt;/P&gt;

				&lt;P&gt;I need to use the scientific software package SIESTA 3.2 (TranSIESTA actually) but I'm having a hard time getting the code to run on our cluster. I posted this to another forum but someone gave me the hint that this forum fits better for this topic.&lt;/P&gt;

				&lt;P&gt;With my arch.make I probably give a good overview on the specs I used (I used the Math Kernel Library Link Line Advisor). The lntel compiler/mpi/mkl versions are the most recent available on this cluster.&lt;/P&gt;

				&lt;P&gt;SIESTA_ARCH=intel-mpi&lt;BR /&gt;
					#&lt;BR /&gt;
					.SUFFIXES: .f .F .o .a .f90 .F90&lt;BR /&gt;
					#&lt;BR /&gt;
					FC=mpiifort&lt;BR /&gt;
					&amp;nbsp; #Path is: /Applic.PALMA/software/impi/5.0.2.044-iccifort-2015.1.133-GCC-4.9.2/bin64&lt;BR /&gt;
					#&lt;BR /&gt;
					FC_ASIS=$(FC)&lt;BR /&gt;
					#&lt;BR /&gt;
					RANLIB=ranlib&lt;BR /&gt;
					#&lt;BR /&gt;
					SYS=nag&lt;BR /&gt;
					#&lt;BR /&gt;
					MKL_ROOT=/Applic.PALMA/software/imkl/11.2.1.133-iimpi-7.2.3-GCC-4.9.2/composerxe/mkl&lt;BR /&gt;
					#&lt;BR /&gt;
					FFLAGS=-g -check all -traceback -I${MKL_ROOT}/include/intel64/lp64 -I${MKL_ROOT}/include&lt;BR /&gt;
					FPPFLAGS_MPI=-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT&lt;BR /&gt;
					FPPFLAGS= $(FPPFLAGS_MPI) $(FPPFLAGS_CDF)&lt;BR /&gt;
					#&lt;BR /&gt;
					MPI_INTERFACE=libmpi_f90.a&lt;BR /&gt;
					MPI_INCLUDE=/Applic.PALMA/software/impi/5.0.2.044-iccifort-2015.1.133-GCC-4.9.2/include64&lt;BR /&gt;
					#&lt;BR /&gt;
					COMP_LIBS=dc_lapack.a&lt;BR /&gt;
					#&lt;BR /&gt;
					MKL_LIB=-L${MKL_ROOT}/lib/intel64&lt;BR /&gt;
					#&lt;BR /&gt;
					BLAS_LIBS=-lmkl_blas95_lp64&lt;BR /&gt;
					#&lt;BR /&gt;
					LAPACK_LIBS=-lmkl_lapack95_lp64&lt;BR /&gt;
					#&lt;BR /&gt;
					BLACS_LIBS=-lmkl_blacs_lp64 -lmkl_blacs_intelmpi_lp64&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
					#&lt;BR /&gt;
					SCALAPACK_LIBS=-lmkl_scalapack_lp64&lt;BR /&gt;
					#&lt;BR /&gt;
					EXTRA_LIBS= -lmkl_intel_lp64 -lmkl_core -lm -lpthread -lmkl_sequential&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Intel thread compilation doesn't work.&lt;BR /&gt;
					# &amp;nbsp;&lt;BR /&gt;
					LIBS=$(MKL_LIB) $(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS) $(EXTRA_LIBS)&lt;BR /&gt;
					#&lt;BR /&gt;
					.F.o:&lt;BR /&gt;
					&amp;nbsp; $(FC) -c $(INCFLAGS) $(FFLAGS)&amp;nbsp; $(FPPFLAGS) $&amp;lt;&lt;BR /&gt;
					.f.o:&lt;BR /&gt;
					&amp;nbsp; $(FC) -c $(INCFLAGS) $(FFLAGS)&amp;nbsp;&amp;nbsp; $&amp;lt;&lt;BR /&gt;
					.F90.o:&lt;BR /&gt;
					&amp;nbsp; $(FC) -c $(INCFLAGS) $(FFLAGS)&amp;nbsp; $(FPPFLAGS) $&amp;lt;&lt;BR /&gt;
					.f90.o:&lt;BR /&gt;
					&amp;nbsp; $(FC) -c $(INCFLAGS) $(FFLAGS)&amp;nbsp;&amp;nbsp; $&amp;lt;&lt;/P&gt;

				&lt;P&gt;With these settings, the compilation will work. The environment is set coherent to the locations in the arch.make at execution (at least I think it is).&lt;/P&gt;

				&lt;P&gt;The execution will work until the following errors occur:&lt;/P&gt;

				&lt;P&gt;Fatal error in PMPI_Comm_size: Invalid communicator, error stack:&lt;BR /&gt;
					PMPI_Comm_size(124): MPI_Comm_size(comm=0x5b, size=0x2364a2c) failed&lt;BR /&gt;
					PMPI_Comm_size(78).: Invalid communicator&lt;BR /&gt;
					Fatal error in PMPI_Comm_size: Invalid communicator, error stack:&lt;BR /&gt;
					PMPI_Comm_size(124): MPI_Comm_size(comm=0x5b, size=0x2364a2c) failed&lt;BR /&gt;
					PMPI_Comm_size(78).: Invalid communicator&lt;BR /&gt;
					Fatal error in PMPI_Comm_size: Invalid communicator, error stack:&lt;BR /&gt;
					PMPI_Comm_size(124): MPI_Comm_size(comm=0x5b, size=0x2364a2c) failed&lt;BR /&gt;
					PMPI_Comm_size(78).: Invalid communicator&lt;BR /&gt;
					Fatal error in PMPI_Comm_size: Invalid communicator, error stack:&lt;BR /&gt;
					PMPI_Comm_size(124): MPI_Comm_size(comm=0x5b, size=0x2364a2c) failed&lt;BR /&gt;
					PMPI_Comm_size(78).: Invalid communicator&lt;/P&gt;

				&lt;P&gt;(the program was executed on 4 CPU's). I tried to get it running with Intel MPI, SIESTA's own MPI implementation and MPICH2 but I always get the same error. Since I have little to no experience with this I was hoping I could get some advice here.&lt;/P&gt;

				&lt;P&gt;Thanks and regards!&lt;/P&gt;
			&lt;/DIV&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Feb 2016 13:46:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090758#M5036</guid>
      <dc:creator>Jo_H_</dc:creator>
      <dc:date>2016-02-28T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Probably mpi.h is from a</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090759#M5037</link>
      <description>&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); line-height: 107%; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 9.5pt; mso-ansi-language: EN;"&gt;Probably&amp;nbsp;mpi.h&amp;nbsp;is from a different version&amp;nbsp;of&amp;nbsp;MPI (vs. linkage stage, e.g., mpi.h from mpich1 and linking was done against mpich2), Could you modify your scripts to use mpiif90 wrapper instead of setting up&amp;nbsp;your build manually? The wrappers (mpiif90, mpiicc, etc.) supplied withy Intel MPI library&amp;nbsp;ensure that the build is done correctly. Please remember to set a path to Intel Fortran compiler before&amp;nbsp;using mpiif90 wrapper (it silently assumes that you have done this).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;BR,&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;Mark&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN lang="EN" style="color: rgb(83, 87, 94); line-height: 107%; font-family: &amp;quot;Arial&amp;quot;,sans-serif; font-size: 9.5pt; mso-ansi-language: EN;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 01:18:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090759#M5037</guid>
      <dc:creator>Mark_L_Intel</dc:creator>
      <dc:date>2016-03-01T01:18:59Z</dc:date>
    </item>
    <item>
      <title>Dear Mark,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090760#M5038</link>
      <description>&lt;P&gt;Dear Mark,&lt;/P&gt;

&lt;P&gt;thanks for your reply. On our cluster, I added the following modules for compilation/execution:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; 1) icc/2015.1.133-GCC-4.9.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) iccifort/2015.1.133-GCC-4.9.2&lt;BR /&gt;
	&amp;nbsp; 2) ifort/2015.1.133-GCC-4.9.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4) impi/5.0.2.044-iccifort-2015.1.133-GCC-4.9.2&lt;/P&gt;

&lt;P&gt;The only intel wrapper compiler is mpiifort as given in the arch.make. There is a mpif90 compiler in the intel MPI bin64 but this seems to be gfortran. Also, by adding the modules given before, the path to ifort should be given.&lt;/P&gt;

&lt;P&gt;How can I check for the right mpi.h file?&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;Jo&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 11:27:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090760#M5038</guid>
      <dc:creator>Jo_H_</dc:creator>
      <dc:date>2016-03-18T11:27:48Z</dc:date>
    </item>
    <item>
      <title>Hi Jo,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090761#M5039</link>
      <description>&lt;P&gt;Hi Jo,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; You seem to be on the right path. mpiifort should call Intel Fortran compiler automatically provided there is&amp;nbsp;a path to it - and it should be since you are loading ifort module. The point is that if you&amp;nbsp;use mpiifort to compile your MPI related sources&amp;nbsp; -you should not be worrying about correct mpi.h - everything should be done automatically for you. Please give it a try.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Mark&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 18:43:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090761#M5039</guid>
      <dc:creator>Mark_L_Intel</dc:creator>
      <dc:date>2016-03-22T18:43:35Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090762#M5040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I encountered exactly the same problem when using&amp;nbsp;Intel® Parallel Studio XE 2016 Update 2 (2016.2.181) to compile WIEN2k 14.2. And the problem is solved by adding&amp;nbsp;-I$(I_MPI_ROOT)/intel64/include/ to the flag for mpiifort. It turns out that mpiifort didn't include the correct mpif.h automatically. No idea which mpif.h is included. In additional, it seems that&amp;nbsp;compilervars.sh doesn't setup INCLUDE environment variable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 09:29:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-problems-with-parallel-SIESTA/m-p/1090762#M5040</guid>
      <dc:creator>thulsr_0_</dc:creator>
      <dc:date>2016-07-19T09:29:16Z</dc:date>
    </item>
  </channel>
</rss>

