8000 MPI GPU compilation fails · Issue #8 · LLNL/USER-EPH · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
MPI GPU compilation fails #8
Open
@Mulgish

Description

@Mulgish

I am trying to follow the steps for compiling this add-on for CUDA and it looks like it does not compile due to missing enums.

Is CUDA implementation complete at all?

I am getting below error after running make -j mpi_gpu:

Compiling LAMMPS for machine mpi_gpu
make[1]: Entering directory '/home/docker/lammps/src/Obj_mpi_gpu'
make[1]: Leaving directory '/home/docker/lammps/src/Obj_mpi_gpu'
make[1]: Entering directory '/home/docker/lammps/src/Obj_mpi_gpu'
mpicxx -g -O3 -std=c++11 -DFIX_EPH_GPU  -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64   -DLMP_GPU  -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX=1      -c ../fix_eph_gpu.cpp
../fix_eph_gpu.cpp: In member functionvirtual void LAMMPS_NS::FixEPHGPU::post_force(int)’:
../fix_eph_gpu.cpp:137:23: error: ‘XIXis not a member ofLAMMPS_NS::FixEPH::FixState’; did you meanXI’?
  137 |     state = FixState::XIX;
      |                       ^~~
      |                       XI
../fix_eph_gpu.cpp:138:11: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  138 |     comm->forward_comm_fix(this);
      |           ^~~~~~~~~~~~~~~~
      |           forward_comm
../fix_eph_gpu.cpp:139:23: error: ‘XIYis not a member ofLAMMPS_NS::FixEPH::FixState’; did you meanXI’?
  139 |     state = FixState::XIY;
      |                       ^~~
      |                       XI
../fix_eph_gpu.cpp:140:11: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  140 |     comm->forward_comm_fix(this);
      |           ^~~~~~~~~~~~~~~~
      |           forward_comm
../fix_eph_gpu.cpp:141:23: error: ‘XIZis not a member ofLAMMPS_NS::FixEPH::FixState’; did you meanXI’?
  141 |     state = FixState::XIZ;
      |                       ^~~
      |                       XI
../fix_eph_gpu.cpp:142:11: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  142 |     comm->forward_comm_fix(this);
      |           ^~~~~~~~~~~~~~~~
      |           forward_comm
../fix_eph_gpu.cpp:153:9: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  153 |   comm->forward_comm_fix(this);
      |         ^~~~~~~~~~~~~~~~
      |         forward_comm
../fix_eph_gpu.cpp: In member functionvoid LAMMPS_NS::FixEPHGPU::force_prl()’:
../fix_eph_gpu.cpp:227:21: error: ‘WXis not a member ofLAMMPS_NS::FixEPH::FixState’; did you meanWI’?
  227 |   state = FixState::WX;
      |                     ^~
      |                     WI
../fix_eph_gpu.cpp:228:9: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  228 |   comm->forward_comm_fix(this);
      |         ^~~~~~~~~~~~~~~~
      |         forward_comm
../fix_eph_gpu.cpp:229:21: error: ‘WYis not a member ofLAMMPS_NS::FixEPH::FixState’; did you meanWI’?
  229 |   state = FixState::WY;
      |                     ^~
      |                     WI
../fix_eph_gpu.cpp:230:9: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  230 |   comm->forward_comm_fix(this);
      |         ^~~~~~~~~~~~~~~~
      |         forward_comm
../fix_eph_gpu.cpp:231:21: error: ‘WZis not a member ofLAMMPS_NS::FixEPH::FixState’; did you meanWI’?
  231 |   state = FixState::WZ;
      |                     ^~
      |                     WI
../fix_eph_gpu.cpp:232:9: error: ‘class LAMMPS_NS::Commhas no member namedforward_comm_fix’; did you meanforward_comm’?
  232 |   comm->forward_comm_fix(this);
      |         ^~~~~~~~~~~~~~~~
      |         forward_comm
make[1]: *** [Makefile:125: fix_eph_gpu.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0