Oh, and siesta-3 does not work with openmp. Please do not use that flag until the documentation says it is supported. On 21 Jul 2015 14:12, "Nick Papior" <[email protected]> wrote:
> You have set sp_kind to 1, I assume you have not used configure to create > the initial arch.make file? > On Intel compilers it should be 4. > Remember to do make clean before rerunning make. > On 21 Jul 2015 12:29, "Boubacar Traore" <[email protected]> wrote: > >> Dear all, >> >> I am trying to compile siesta-3 in parallel with intel fortran compiler. >> I tried to get inspiration from the different topics related to the >> compilation issues using arch.make file but my problem is still not solved. >> Attached is my arch.make file. >> >> The compilation always returns this error allong the way which is partly >> reproduced below: >> I cannot figure what I am doing wrong. >> >> >> >> ---------------------------------------------------------------------------- >> make[1]: Entering directory `/opt/home/traoreb/siesta-3.2-pl-5/Obj/MPI' >> mpif90 -c -mp1 -w -prec_div -pad -O3 -openmp >> -I/opt/openmpi-1.8.7/include >> /opt/home/traoreb/siesta-3.2-pl-5/Src/MPI/mpi__include.f90 >> if [ -z "1 8" ] ; then make kind_explorer ; fi >> The kind numbers for single and double precision reals follow >> sh /opt/home/traoreb/siesta-3.2-pl-5/Src/MPI/generate.sh "1 8" >> ===> Generating module files from templates... >> 1 8 >> mpif90 -c -mp1 -w -prec_div -pad -O3 -openmp >> -I/opt/openmpi-1.8.7/include Interfaces.f90 >> Interfaces.f90(960): error #6684: This is an incorrect value for a kind >> type parameter in this context. [1] >> real(1), INTENT(IN) :: BUF(*) >> ---------------^ >> Interfaces.f90(975): error #6684: This is an incorrect value for a kind >> type parameter in this context. [1] >> real(1), INTENT(OUT) :: BUF(*) >> ---------------^ >> . >> . >> . >> Interfaces.f90(1525): catastrophic error: Too many errors, exiting >> compilation aborted for Interfaces.f90 (code 1) >> make[1]: *** [Interfaces.o] Error 1 >> make[1]: Leaving directory `/opt/home/traoreb/siesta-3.2-pl-5/Obj/MPI' >> make: *** [libmpi_f90.a] Error 2 >> >> ---------------------------------------------------------------------- >> >> Thank you for response !!! >> >> Boubacar >> >
