<div dir="ltr">Hello,<br><br>I am attempting to carry out some scaling tests on an HPC platform using ECCOv4-r4. As part of the scaling exercises, I change the number of cores using the procedure below. <br><br>If I want to use 360 cores, I use the following procedure. Before compiling, I change the following parameters in SIZE.h:<br><br>sNx = 15<div>sNy = 15</div><div>nPx = 360</div><div>nPy = 1<br><br>Based on my experience with ECCOv4-r3, I believe this should give me an executable that uses 360 cores. At run-time, I uncomment the lines following #15x15 nprocs=360 and comment out the lines for the nprocs=96 case. I also have a configuration that uses nprocs=192. In all three cases, the code compiles and runs.<br><br>However, I noticed that the cost function changes dramatically based on the number of cores, and it sometimes returns NaN. In both forward and adjoint mode, I get the following values for &quot;fc&quot; in the file named costfunction0129:</div><div><br></div><div>96 cores, fc = 6733184.16<br>192 cores, fc = NaN</div><div>360 cores, fc = 5883940.61<br><br>What am I missing in terms of calculating the cost function and changing the number of cores? Shouldn&#39;t fc be the same regardless of the number of cores used?<br><br>Best regards,<br>Dan<br><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:small"><div>--------------------------------------------------------------<br>Dr Dan Jones / British Antarctic Survey</div><div><a href="http://www.danjonesocean.com" target="_blank">danjonesocean.com</a> / @DanJonesOcean</div><div>--------------------------------------------------------------</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>