UPDATE from previous post

UPDATE from previous post

par Dave Bhullar,
Nombre de réponses : 3

Update: I got to a point where the code runs quite faster, as below, but the integratedtest still fails and I am having some trouble seeing why


En réponse à Dave Bhullar

Re: UPDATE from previous post

par Ramses van Zon,
I cannot see anything obviously wrong, but I also don't know exactly how you determined the localnrows and localncols, or how you read in the data. Note that the solution does not necessarily have to involve send and recv, because all the data is also already in the netcdf file.
En réponse à Ramses van Zon

Re: UPDATE from previous post

par Dave Bhullar,
Hi Dr. van Zon,

I have this



and I determined localnrows like this

and I also have a slightly modified code like 

I do not know, I thought I followed the lecture notes example pretty carefully but it fails the integratedtest... triste 
En réponse à Dave Bhullar

Re: UPDATE from previous post

par Linan Shi,
I haven't checked your code in detail but I suspect there is a problem of calculating the energy as I mentioned in a new question, which might lead to fail the integrated test...