Skip to content

Problem while running code with GPU but running well using CPU

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB Bug Reports Problem while running code with GPU but running well using CPU

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9147

    Dear OpenLB team,
    I was running the Cylinder3d program while I am a new stl file which is extended at Y-axis. But while I am increasing the resolution (N) from 20 and above it does not run in ‘GPU’ but it is running well in ‘CPU’. When I used the ‘Gpu only’ config file it is giving an error: out of memory, so, I used the ‘Gpu openmpi’ config file and its giving error:

    root@acmt-gpu:/home/achaudhury/olb-1.7r0/examples/laminar/cylinder3d# mpirun –allow-run-as-root -np 2 ./cylinder3d
    ./cylinder3d: symbol lookup error: /lib/x86_64-linux-gnu/libmpi_cxx.so.40: undefined symbol: ompi_mpi_errors_throw_exceptions
    ./cylinder3d: symbol lookup error: /lib/x86_64-linux-gnu/libmpi_cxx.so.40: undefined symbol: ompi_mpi_errors_throw_exceptions
    ————————————————————————–
    prterun detected that one or more processes exited with non-zero status,
    thus causing the job to be terminated. The first process to do so was:

    Process name: [prterun-acmt-gpu-192644@1,0] Exit code: 127
    ————————————————————————–
    root@acmt-gpu:/home/achaudhury/olb-1.7r0/examples/laminar/cylinder3d# mpicc -o cylinder3d cylinder3d.c
    gcc: error: cylinder3d.c: No such file or directory
    root@acmt-gpu:/home/achaudhury/olb-1.7r0/examples/laminar/cylinder3d# mpirun –version
    mpirun (Open MPI) 5.0.5

    Report bugs to https://www.open-mpi.org/community/help/

    Please help me to solve this bug.

    #9148
    Adrian
    Keymaster

    Please learn to read what the computer tells you. If your GPU simulation is out of memory in a single process on a single GPU, using more won’t change anything.

    This is not a bug. I know I said this before on this forum but I am finally close to just blocking you, you literally don’t follow any advice.

    #9150

    I will try Multi GPU. Sorry for the inconvience caused Sir.

    Thank you

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