And don't use openmp, as I recall it doesn't work, yet :)

2014-05-13 8:57 GMT+00:00 Nick Papior Andersen <nickpap...@gmail.com>:

> Add -DMPI to FPPFLAGS
> and try again...
>
>
> 2014-05-13 7:48 GMT+00:00 Borghi Giovanni <giovanni.bor...@epfl.ch>:
>
> Dear all,
>>
>> I am trying to compile Siesta in parallel using intel mpi and mpiifort.
>> However, when running with
>>
>> mpirun -np 6 siesta_rootdir/Obj/siesta
>>
>> The code starts in serial mode.
>> Can anyone suggest me what is wrong? Does anyone have an example
>> arch.make I may
>> draw inspiration from?
>> I paste the main part of the arch.make below...
>> Thank you very much!
>> Giovanni
>>
>>
>> *******************************************************************************
>> SIESTA_ARCH=x86_64-unknown-linux-gnu--unknown
>>
>> FPP=
>> FPP_OUTPUT=
>> FC=mpiifort
>> RANLIB=ranlib
>>
>> SYS=nag
>>
>> SP_KIND=4
>> DP_KIND=8
>> KINDS=$(SP_KIND) $(DP_KIND)
>>
>> FFLAGS= -O2 -openmp
>> FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
>> LDFLAGS= -static-intel -openmp
>>
>> ARFLAGS_EXTRA=
>>
>> FCFLAGS_fixed_f=
>> FCFLAGS_free_f90=
>> FPPFLAGS_fixed_F=
>> FPPFLAGS_free_F90=
>>
>> BLAS_LIBS=-lmkl_intel_lp64  -lmkl_intel_thread -lmkl_core
>> LAPACK_LIBS=-lmkl_intel_lp64  -lmkl_intel_thread -lmkl_core
>> BLACS_LIBS=-lmkl_blacs_lp64 -lmkl_blacs_intelmpi_lp64
>> SCALAPACK_LIBS= -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64
>>
>> COMP_LIBS=dc_lapack.a
>>
>> NETCDF_LIBS=
>> NETCDF_INTERFACE=
>>
>> LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS)
>> $(NETCDF_LIBS)
>>
>> #SIESTA needs an F90 interface to MPI
>> #This will give you SIESTA's own implementation
>> #If your compiler vendor offers an alternative, you may change
>> #to it here.
>> #MPI_INTERFACE=/opt/intel/impi/4.0.3.008/intel64/lib/libmpiif.a
>> MPI_INTERFACE=/usr/lib/openmpi/lib/libmpi_f90.a
>> MPI_INCLUDE=/opt/intel/impi/4.0.3.008/intel64/include/
>>
>
>
>
> --
> Kind regards Nick
>



-- 
Kind regards Nick

Responder a