|From:||"Moore, Stan" <stamoor@...3...>|
|Date:||Tue, 11 Jul 2017 19:26:09 +0000|
Yes, just use separate Makefiles, one Makefile for each GPU type. That will give separate executables that are built for each GPU type. I use this method all the time.
Thanks for your prompt reply.
But it didn't work with mpirun command, too. (We still couldn't compile with K40c.)
Is there any way to compile just with one gpu?
I suggest you first focus
on compiling and running LAMMPS successfully
on each GPU. Then you have 2 executables,
each optimized for a different GPU, or even
have ways to launch different executables on
different nodes, to run a single calculation on
a heterogeneous machine.
On Mon, Jul 10, 2017 at 3:08 AM, Chiang Yi <ckpccl1@...24...> wrote: