Skip to content

Problem when run wihth K80 GPU

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Problem when run wihth K80 GPU

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8170
    thanhphatvt
    Participant

    Hi all,
    I have this problem when I make file with GPU.
    [root@gigabyte_cuda_03 olb-1.6r0]# make
    make CXX=nvcc CC=nvcc -C external
    make[1]: Entering directory `/home/gigabyte_cuda_03/Downloads/olb-1.6r0/external’
    make -C zlib
    make[2]: Entering directory `/home/gigabyte_cuda_03/Downloads/olb-1.6r0/external/zlib’
    nvcc -c -o build/adler32.o ./adler32.c
    nvcc -c -o build/crc32.o ./crc32.c
    nvcc -c -o build/deflate.o ./deflate.c
    nvcc -c -o build/infback.o ./infback.c
    nvcc -c -o build/inffast.o ./inffast.c
    nvcc -c -o build/inflate.o ./inflate.c
    nvcc -c -o build/inftrees.o ./inftrees.c
    nvcc -c -o build/trees.o ./trees.c
    nvcc -c -o build/zutil.o ./zutil.c
    nvcc -c -o build/compress.o ./compress.c
    nvcc -c -o build/uncompr.o ./uncompr.c
    nvcc -c -o build/gzclose.o ./gzclose.c
    nvcc -c -o build/gzlib.o ./gzlib.c
    nvcc -c -o build/gzread.o ./gzread.c
    nvcc -c -o build/gzwrite.o ./gzwrite.c
    ar rc build//libz.a ./build/adler32.o ./build/crc32.o ./build/deflate.o ./build/infback.o ./build/inffast.o ./build/inflate.o ./build/inftrees.o ./build/trees.o ./build/zutil.o ./build/compress.o ./build/uncompr.o ./build/gzclose.o ./build/gzlib.o ./build/gzread.o ./build/gzwrite.o
    make[2]: Leaving directory `/home/gigabyte_cuda_03/Downloads/olb-1.6r0/external/zlib’
    cp zlib/build/libz.a lib/
    make -C tinyxml
    make[2]: Entering directory `/home/gigabyte_cuda_03/Downloads/olb-1.6r0/external/tinyxml’
    nvcc -c tinystr.cpp -o build/tinystr.o
    In file included from tinystr.cpp:32:0:
    tinystr.h: In copy constructor ‘TiXmlString::TiXmlString(const TiXmlString&)’:
    tinystr.h:82:50: error: ‘nullptr’ was not declared in this scope
    TiXmlString ( const TiXmlString & copy) : rep_(nullptr)
    ^
    tinystr.h: In constructor ‘TiXmlString::TiXmlString(const char*)’:
    tinystr.h:89:58: error: ‘nullptr’ was not declared in this scope
    TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(nullptr)
    ^
    tinystr.h: In constructor ‘TiXmlString::TiXmlString(const char*, TiXmlString::size_type)’:
    tinystr.h:96:72: error: ‘nullptr’ was not declared in this scope
    TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(nullptr)
    ^
    make[2]: *** [build/tinystr.o] Error 1
    make[2]: Leaving directory `/home/gigabyte_cuda_03/Downloads/olb-1.6r0/external/tinyxml’
    make[1]: *** [tinyxml] Error 2
    make[1]: Leaving directory `/home/gigabyte_cuda_03/Downloads/olb-1.6r0/external’
    make: *** [dependencies] Error 2

    Please help me solve it.
    Thank you so much!

    #8175
    Adrian
    Keymaster

    Please do not post the same question two times. See my answer in the other thread.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.