Skip to content

Usage on GPU #2

@Fantasy98

Description

@Fantasy98

Hi!
I encountered an issue with installation based on GPU usage.

Setup

  • Tried using nvfortran or mpifort.

  • Use the smartredis build based on GPU. That is:

    make lib-with-fortran CC=nvc CXX=nvc++ FC=nvfortran
    

Error Info

The outputs are belows:

      mkdir -p build
      mkdir -p build/include
      mkdir -p build/lib
      mpifort -O2 -fPIC -I/scratch/yuningw/reinforcement_learning/04-SmartSOD2D-Reproduce/envs/SmartFlow/gpu_smartreids-mpi/install/include -cpp -D_SINGLE_PRECISION -Ibuild/include -Jbuild/include -c src/precision.f90 -o build/precision.o
      nvfortran-Error-Unknown switch: -Jbuild/include
      make: *** [Makefile:45: build/precision.o] Error 1

Can you have a look at this issue? Thanks!

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