Skip to content

Unable to compile #1

Description

@abhijeet-pandey

I am using:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Nov_30_19:15:10_Pacific_Standard_Time_2020
Cuda compilation tools, release 11.2, V11.2.67
Build cuda_11.2.r11.2/compiler.29373293_0

on a Windows 11 machine.

I am unable to compile the project using the given makefile as:

  • The main.cuh file referenced in the makefile has not been provided
  • Even after creating a new main.cuh file with a main() function including the solver.cuh, I get the following errors:
  1. ...material.cuh(19): error: identifier "NumberOfMaterials" is undefined
  2. ...particle.cuh(179): error: identifier "NumberOfParticles" is undefined
  3. ...registers.cuh(100): error: identifier "NumberOfParticles" is undefined

Is this variable defined in main.cuh?

On running example 1 and 2, I get the following errors:

  1. ...contact.cuh(70): error: A device variable cannot be marked constexpr
  2. ...error: class "boundaryCondition" has no member "alpha"

I am not sure what the issues are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions