Project

General

Profile

Bug #3218

Compiler errors in GPU comm codepath with GMX_THREAD_MPI=OFF

Added by Paul Bauer 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

Example errors are here

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(71): error: identifier "MPI_BYTE" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(71): error: identifier "MPI_STATUS_IGNORE" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(71): error: identifier "MPI_Recv" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(88): error: identifier "MPI_BYTE" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(88): error: identifier "MPI_STATUS_IGNORE" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(88): error: identifier "MPI_Recv" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(128): error: identifier "MPI_BYTE" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/ewald/pme_pp_comm_gpu_impl.cu(128): error: identifier "MPI_Send" is undefined

/home/acmnpv/data/gerrit/2020/src/gromacs/domdec/gpuhaloexchange_impl.cu:298:1: warning: unused parameter ‘coordinatesReadyOnDeviceEvent’ [-Wunused-parameter]
                                                 GpuEventSynchronizer* coordinatesReadyOnDeviceEvent)
 ^

Associated revisions

Revision 7c50f964 (diff)
Added by Paul Bauer 11 months ago

Fix build error without thread or regular mpi

Some more unused variable warnings that I haven't fixed yet.

Fixes #3218

Change-Id: Id47718bb0af97d3a494afa133af8b54ba71b9d5d

History

#1 Updated by Szilárd Páll 11 months ago

This probably breaks all release branch CUDA builds with no MPI likely because some MPI calls were left "naked" in the pme_pp_comm module.

#2 Updated by Paul Bauer 11 months ago

  • Status changed from New to Fix uploaded
  • Target version changed from 2020-rc1 to 2020-beta3

#3 Updated by Paul Bauer 11 months ago

  • Status changed from Fix uploaded to Resolved

#4 Updated by Paul Bauer 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF