GithubHelp home page GithubHelp logo

Comments (5)

JamesEMcClure avatar JamesEMcClure commented on August 20, 2024

I have not tried this GPU version but I think it should work in principle -- can you share the cmake configure step here, especially the CUDA compile line. For GTX1060 I think it should look something like this

    -D CMAKE_CUDA_FLAGS="-arch sm_61"   \

Also, re you launching this with one MPI process per GPU or in some other way? I am not sure if four processes per GPU will work unless cuda MPS is running on your machine.

Sometimes I've seen funny errors if the GPU runs out of memory, so it could be worth confirming that this isn't happening here. Once this is ruled out, the next thing to do is to build with debugging symbols and launch with cuda-memcheck for a single GPU run

mpirun -np 1 cuda-memcheck $LBPM_DIR/lbpm_color_simulator input.db

This should quickly narrow down the location of the illegal memory access.

from lbpm.

thomaram avatar thomaram commented on August 20, 2024

The command:
mpirun -np 1 cuda-memcheck $LBPM_DIR/lbpm_color_simulator input.db

gave the following warning:
Warning: Failed to start MPI with necessary thread support, thread support will be disabled

Is this causing the issue?

from lbpm.

JamesEMcClure avatar JamesEMcClure commented on August 20, 2024

No, this just means that MPI_THREAD_MULTIPLE is not enabled (either because it isn't turned on or because the MPI library you are using doesn't support it). This just means the analysis threads will be serialized, and should not impact the results.

from lbpm.

thomaram avatar thomaram commented on August 20, 2024

Ok. Here is the rest of the pipe:

Stack Trace:
0x00000000004396ea: lbpm_color_simulator
0x000000000043a2c9: lbpm_color_simulator StackTrace::backtrace()
0x000000000043d411: lbpm_color_simulator StackTrace::getCallStack()
0x000000000042cc2d: lbpm_color_simulator Utilities::abort(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)
0x0000000000426823: lbpm_color_simulator Domain::initialize(std::shared_ptr)
0x0000000000427133: lbpm_color_simulator Domain::Domain(std::shared_ptr, ompi_communicator_t*)
0x0000000000421bcc: lbpm_color_simulator ScaLBL_ColorModel::SetDomain()
0x0000000000419c4f: lbpm_color_simulator main
0x00007fcca5873830: libc.so.6 __libc_start_main libc-start.c:325
0x000000000041aea9: lbpm_color_simulator _start

Failed insist: nprocs == nproc[0]*nproc[1]*nproc[2]
Message: Fatal error in processor count!

from lbpm.

thomaram avatar thomaram commented on August 20, 2024

After amending the input.db and run on only one GPU. The build ran. I therefore close this issue

from lbpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.