<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="font-family: 'Segoe UI',Frutiger,'Frutiger Linotype','Dejavu Sans','Helvetica Neue',Arial,sans-serif; font-size: 14px;">
<div class="hiri-body-wrapper">
<div>Hi all,<br>
<br>
We just updated margo (origin/master, tag v0.4.3, or spack margo@0.4.3) to have it automatically increase the Argobots stack size. I would strongly encourage you to update if you are using Margo or any libraries built atop it.<br>
<br>
The underlying problem is that Argobots has a very small default stack size for newly created ULTs. Libraries like Margo (that might make deep call paths into things like Mercury and libfabric) can overflow this value, in which case you might run into some
very difficult to diagnose memory corruption problems. We encountered this on two different platforms recently with two very different symptoms.<br>
<br>
You can see the exact tunable options we are setting for Argobots here if you are curious. The first is something we've been setting for a while already, the second is new. Both have links to more in depth explanation.<br>
<br>
<a href="https://xgitlab.cels.anl.gov/sds/margo/blob/master/src/margo.c#L180" _src="https://xgitlab.cels.anl.gov/sds/margo/blob/master/src/margo.c#L180">https://xgitlab.cels.anl.gov/sds/margo/blob/master/src/margo.c#L180</a><br>
<br>
We are still working through some options and may tweak this further, but we wanted to go ahead and get a reasonable interim fix out quickly.<br>
<br>
thanks,<br>
-Phil</div>
</div>
</body>
</html>