<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- P { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div>Dear Ncl</div>
<div> I'm using NCL - version 6.3.0.</div>
<div> I’m using a computer with multiple cores and</div>
<div> I would like to optimizing the performance of my NCL code via parallel processing.</div>
<div><br>
</div>
<div> In particular the part of my script which is very time consuming and I would like to improve is this:</div>
<div><br>
</div>
<div> ;======================================</div>
<div> iday=-1</div>
<div> SpatialInterpTemp(iday,date_less1,file_indataOce_temp_less1,file_extrapdataOce_temp_less1, \</div>
<div> file_regriddataOce_temp_less1) </div>
<div> SpatialInterpSal(iday,date_less1,file_indataOce_sal_less1,file_extrapdataOce_sal_less1, \</div>
<div> file_regriddataOce_sal_less1) </div>
<div> SpatialInterpSsh(iday,date_less1,file_indataOce_ssh_less1,file_extrapdataOce_ssh_less1, \</div>
<div> file_regriddataOce_ssh_less1) </div>
<div> SpatialInterpVelU(iday,date_less1,file_indataOce_velU_less1,file_extrapdataOce_velU_less1, \</div>
<div> file_regriddataOce_velU_less1)</div>
<div> SpatialInterpVelV(iday,date_less1,file_indataOce_velV_less1,file_extrapdataOce_velV_less1, \</div>
<div> file_regriddataOce_velV_less1) </div>
<div><br>
</div>
<div> do iday=0,ndays-1</div>
<div><br>
</div>
<div> SpatialInterpTemp(iday,date(iday),file_indataOce_temp(iday),file_extrapdataOce_temp(iday), \</div>
<div> file_regriddataOce_temp(iday)) </div>
<div> SpatialInterpSal(iday,date(iday),file_indataOce_sal(iday),file_extrapdataOce_sal(iday), \</div>
<div> file_regriddataOce_sal(iday)) </div>
<div> SpatialInterpSsh(iday,date(iday),file_indataOce_ssh(iday),file_extrapdataOce_ssh(iday), \</div>
<div> file_regriddataOce_ssh(iday)) </div>
<div> SpatialInterpVelU(iday,date(iday),file_indataOce_velU(iday),file_extrapdataOce_velU(iday), \</div>
<div> file_regriddataOce_velU(iday))</div>
<div> SpatialInterpVelV(iday,date(iday),file_indataOce_velV(iday),file_extrapdataOce_velV(iday), \</div>
<div> file_regriddataOce_velV(iday)) </div>
<div><br>
</div>
<div> end do</div>
<div> ;======================================</div>
<div><br>
</div>
<div> Is there a way to do this optimization with ncl?</div>
<div><br>
</div>
<div>Thanks </div>
<div>Francesco<br>
</div>
<p><br>
</p>
<br>
</body>
</html>