Comments (4)
I was able to run your script successfully on multiple systems after replacing the actual data (loaded from files that I don't have) with simulated data (using pygsti.construction.generate_fake_data
). I don't think this change should make any difference in the issue you're seeing, so I think there may be an issue with your MPI installation.
I've seen this same error once before, and in that case it was an MPI library error - not mpi4py
but the underlying openmpi
or mpich
installation. To test this, please try to run the following script, which just tests whether your MPI split
function works independently of anything pyGSTi related.
Put this in test.py
:
from mpi4py import MPI
comm = MPI.COMM_WORLD
rank = comm.Get_rank()
color = rank / 4
spltcomm = comm.Split(color=color, key=rank)
print("Rank %d: color=%d, split-comm rank=%d" % (rank, color, spltcomm.Get_rank()))
and then execute it via mpiexec -n 16 python test.py
. This produces the following output on my system (line ordering is inconsequential and may be different on your machine):
Rank 3: color=0, split-comm rank=3
Rank 5: color=1, split-comm rank=1
Rank 6: color=1, split-comm rank=2
Rank 7: color=1, split-comm rank=3
Rank 8: color=2, split-comm rank=0
Rank 9: color=2, split-comm rank=1
Rank 10: color=2, split-comm rank=2
Rank 11: color=2, split-comm rank=3
Rank 12: color=3, split-comm rank=0
Rank 13: color=3, split-comm rank=1
Rank 14: color=3, split-comm rank=2
Rank 15: color=3, split-comm rank=3
Rank 0: color=0, split-comm rank=0
Rank 1: color=0, split-comm rank=1
Rank 2: color=0, split-comm rank=2
Rank 4: color=1, split-comm rank=0
If you get an error or different output this probably means your MPI library is broken. The last time I saw this, the MPI error you cited above was reproduced by the comm.Split
call in test.py
.
from pygsti.
Thanks for the hints! Unfortunately the test script appears to work fine on this machine. I'll do some more investigating and try a clean install of MPI as soon as I can.
from pygsti.
@gribeill, did we decide this was due to a parser issue/malformed file?
from pygsti.
Yes, fixing the data file (no extra comments!) and a clean install of MPI seems to have fixed everything so I will close.
from pygsti.
Related Issues (20)
- Method `parameter_labels()` returns an empty array HOT 1
- 1/2 Diamond Norm Errorbars
- Raw Estimates Errorbars for TPInstrument HOT 1
- CP Instruments & Instrument Error Generators
- QI Report Fixes & Additions
- Wildcard w/ QILGST
- Fisher Information w/ Experiment Designs Containing MCMs
- Explicit Model Construction from MCM-Containing Pspec
- Help with detecting crosstalk errors of simulated data
- Serialization Issue w/ Processor Spec Nonstd_Instruments HOT 1
- Numpy version dependency HOT 1
- Gswap cannot be used as a two-qubit standard native gate for two-qubit RB as CliffordCompilationRules taking too long
- Line label reordering during `Circuit` concatenation
- Generating Random Error Generators HOT 4
- Design pspec sslbl bug in modelpacks
- Serialization for ModelEstimateResults HOT 2
- Depolarizing SPAM in H-Only Models Silently Fails (and Discussion of How to Properly Regularize Reduced Models)
- Add cycle benchmarking with mid-circuit measurements
- `germsel.find_germs()` does not support `operations.ComposedOp()` and is limited in large models. HOT 2
- Affine term disappers when applying cloud crosstalk model HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygsti.