LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Compiling with Kokkos for KNL processors with Intel Compilers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Compiling with Kokkos for KNL processors with Intel Compilers


From: Steve Plimpton <sjplimp@...24...>
Date: Tue, 5 Sep 2017 11:23:38 -0600

Stan can comment (CCd)

Steve

On Wed, Aug 30, 2017 at 12:39 PM, Dundar Yilmaz <duy42@...122...> wrote:
Hi,
I am trying to compile lammps with Kokkos package for KNL architecture. 
My compiler is intel/16.0.3 with intel mpi.
I tried this:

make yes-kokkos
make yes-user-reaxc
make kokkos_phi

I am getting this error:

cc1plus: error: bad value (knl) for -march=switch
cc1plus: error: bad value (knl) for -mtune=switch


I also tried with  gcc compiler. In this case it compiled successfully but this case performance was poor.
As an example:

mpirun -np 2 ./lmp_kokkos_phi -k on t 2 -sf kk -in in.batio3 

It runs but if i increase the number of threads

mpirun -np 2 ./lmp_kokkos_phi -k on t 4 -sf kk -in in.batio3 

It starts running but not doing integration part:

 Time step     : 0.25
WARNING: Fixes cannot send data in Kokkos communication, switching to classic communication (../comm_kokkos.cpp:382)

with this warning.

I have this cpu 1.40GHz Xeon Phi 7250 (Knights Landing) 

Looks like it supposed to have 68 cores. Simulating system contains only 5k atoms.

Regards.


Dundar Yilmaz, Ph. D.
Post Doctoral Researcher 
Department of Mechanical and Nuclear Engineering 
138 Research East Building 
Penn State University 
University Park, PA 16802





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
lammps-users mailing list
lammps-users@...6297....sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lammps-users