Skip to content

Installation with CUDA #12

@aerpearson

Description

@aerpearson

I am attempting to build relax using CUDA, but it fails when running ./waf. The configure step runs correctly using the following code: FCFLAGS="-I/usr/lib64/gfortran/modules" ./waf configure --use-fftw --use-cuda --cuda-dir=/usr/local/cuda

Image

However, it fails on building it with ./waf, with the following error:
[ 5/22] Compiling src/cugreen.cu
[ 9/22] Compiling src/cuelastic.cu
nvcc fatal : Unknown option '-osrc/cugreen.cu.1.o'

nvcc fatal : Unknown option '-osrc/cuelastic.cu.1.o'

It seems to be an issue only with compiling those two codes, but I can't find anything in particular about that kind of error. Thanks in advance for any help, and sorry if this isn't really the kind of thing to put in an issue!

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