[MITgcm-support] Surface Deep Convection Tutorial

Jean-Michel Campin jmc at ocean.mit.edu
Fri Dec 6 19:42:03 EST 2013


Hi Ashley,

There was a problem in the axis of the plot (imagesc)
that, I think, I've just fixed.
Note that this does not affect the binary input file
 "Qnet_p32.bin" that gendata.m produces.

If you could try with the recent update.

And regarding this:
> 2.) In the script, what is var calculating, and what what does the [1:1000) and /1000 come from?
As you can see from gendata.m, line 57, this is used to 
calculate xl,yl so that we can draw a circle (line 66) to indicate
where the cooling disk is.

Cheers,
Jean-Michel

On Fri, Dec 06, 2013 at 10:22:09PM +0000, Stroman, Ashley wrote:
> Hello.
> 
> I am trying to run the gendata script within the surface deep convection tutorial and I have two questions.
> 
> 1.) When I run the script in Matlab, I get an error output that says
> 
> BLAS loading error:
> mkl.so: failed to map segment from shared object: Cannot allocate
> memory
> 
> Error in gendata (line 41)
> xc=x'*ones(1,ny); yc=ones(nx,1)*y;
> 
> Is there a way to rewrite this part of the code so it won’t crash on me?
> 
> 2.) In the script, what is var calculating, and what what does the [1:1000) and /1000 come from?
> 
> Thanks.
> 
> Best,
> Ashley Stroman
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list