# Some models run without problems, but more complex give error: Error in unserialize(socklist\[\[n\]\]) : error reading/writing from connection

**URL:** <https://discourse.mc-stan.org/t/some-models-run-without-problems-but-more-complex-give-error-error-in-unserialize-socklist-n-error-reading-writing-from-connection/17298>\
**Category:** RStan\
**Created:** [August 7, 2020, 10:43am UTC](https://discourse.mc-stan.org/t/some-models-run-without-problems-but-more-complex-give-error-error-in-unserialize-socklist-n-error-reading-writing-from-connection/17298 "2020-08-07T10:43:15Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![torkar](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/torkar/32/1355_2.png) [@torkar](https://discourse.mc-stan.org/u/torkar)\
**Post date:** [September 1, 2020, 3:01pm UTC](https://discourse.mc-stan.org/t/some-models-run-without-problems-but-more-complex-give-error-error-in-unserialize-socklist-n-error-reading-writing-from-connection/17298/12 "2020-09-01T15:01:35Z")

</div>

@jonah, I experienced the same error, i.e., “unserialize”, on OS X. Removing `-march=native` works for me too.

---

_[View the full topic](https://discourse.mc-stan.org/t/some-models-run-without-problems-but-more-complex-give-error-error-in-unserialize-socklist-n-error-reading-writing-from-connection/17298)._
