Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling OpenSeesPy for parallel processing #140

Open
mbbatukan opened this issue Aug 1, 2024 · 3 comments
Open

Compiling OpenSeesPy for parallel processing #140

mbbatukan opened this issue Aug 1, 2024 · 3 comments

Comments

@mbbatukan
Copy link

mbbatukan commented Aug 1, 2024

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

@zhuminjie
Copy link
Owner

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

@mbbatukan
Copy link
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?

@mbbatukan
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants