Skip to content

Request for Environment Setup Guidance (CUDA, GCC, OS Compatibility) #11

@joker-li717

Description

@joker-li717

Dear developers,

Thank you for your excellent work on gMicroMC V2.0. I am very interested in using this tool for my research, but I am currently encountering issues related to environment compatibility.

Could you kindly provide the recommended environment settings for compiling and running gMicroMC successfully? Specifically, I would like to know:

  1. Supported CUDA versions (e.g., 10.x, 11.x, or 12.x?)
  2. Recommended GCC version
  3. Preferred operating system (e.g., Ubuntu 20.04 / 22.04 / 24.04?)
  4. Any specific dependencies or instructions for compilation
  5. Known incompatibilities with newer CUDA versions (e.g., deprecation of texture API in CUDA 12.0)

I tried building the project with the following environment:

  • Ubuntu: 24.04
  • CUDA: 12.0
  • GCC: 12.3

...but encountered errors such as:
error: texture is not a template
error: no instance of overloaded function "tex1Dfetch" matches the argument list
error: identifier "cudaBindTexture" is undefined

It seems these are related to deprecated texture APIs in CUDA 12. Could you please advise how best to proceed? Should I downgrade my CUDA version, or are there plans to support CUDA 12 in future?
Any help or suggestions would be greatly appreciated!
Best regards!

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