Skip to content

Compiling OpenSeesPy for parallel processing #140

Open

Description

@mbbatukan

I was able to follow the steps given here. I successfully created binaries (sequential, MP, and SP) and the OpenSeesPy.so in lib directory. However, I cannot use the MUMPS solver when I call the application with mpiexec. Is there another step or option to include those files in the Python library (OpenSeesPy.so)?

This is the error I get:

WARNING unknown system type Mumps WARNING unknown system type Mumps ops.system("Mumps") ops.system("Mumps") opensees.OpenSeesError: See stderr output opensees.OpenSeesError: See stderr output

Activity

  1. zhuminjie commented on Aug 1, 2024

    @zhuminjie
    Owner

    You are running MP or SP? Did you define "_MUMPS" macro when compiling?

  2. mbbatukan commented on Aug 1, 2024

    @mbbatukan
    Author

    Thanks, @zhuminjie, for the prompt response. I'm not running either of those binaries; I just call OpenSees from Python like this -> mpiexec -np 2 python script.py

    I simply provide this option to CMake: -DMUMPS_DIR=$PWD/../../mumps/build. Is it enough or I should add more?

  3. mbbatukan commented on Aug 1, 2024

    @mbbatukan
    Author

    Also, I have no issues with testing the MP and SP binaries. They both run well with the TCL script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions