I got it. It worked using now mpiexec.hydram in my case intel/2020.1:
$ mpiexec.hydra -n 2 python test.py
np: 2
np: 2
Process 1 Terminating
Process 0 Terminating
Search found 4 matches
- Mon May 22, 2023 10:32 am
- Forum: OpenSeesPy
- Topic: issue with ops.getNP()
- Replies: 6
- Views: 12020
- Mon May 22, 2023 7:33 am
- Forum: OpenSeesPy
- Topic: issue with ops.getNP()
- Replies: 6
- Views: 12020
Re: issue with ops.getNP()
I got it, but I don't use it on the AWS cluster, I am trying to use it on local HPC. I'll try install OpenSeesMP as well.
Anyway, thanks for the suggestion.
Anyway, thanks for the suggestion.
- Sat May 20, 2023 7:41 am
- Forum: OpenSeesPy
- Topic: issue with ops.getNP()
- Replies: 6
- Views: 12020
Re: issue with ops.getNP()
Thank you for the suggestion. I really appreciate it.
But it is the point.
How to set up my server to work like this AWS to do getNP() function to work? Do I also need to install OpenSeesMP?
But it is the point.
How to set up my server to work like this AWS to do getNP() function to work? Do I also need to install OpenSeesMP?
- Thu May 18, 2023 2:01 pm
- Forum: OpenSeesPy
- Topic: issue with ops.getNP()
- Replies: 6
- Views: 12020
issue with ops.getNP()
I'm running this openseespy code below with openmpi 4.1.4 version in Linux. I always retrieve 1 para ops.getNP() function. Any suggestions? # ------------------ python test.py file import openseespy.opensees as ops np = ops.getNP() print('np: ', np) if np < 2: exit() # ------------------ command lin...