Killed message in matlab when I'm using make_OGCM_mercator

Hi all,
Killed message appears in matlab when execute make_OGCM_mercator.m, it looks like the problem comes when the script is interpolating to generate clm file (croco_clm_mercator_Y2022M06.nc). The size of the matrix is LLm0=813, MMm0=518, N=42 and dl=1/100. At the moment of killed message appears, the clm file weighed 18GB.

Should I change to a computer with more ram?, or are any other thing I can do?

I really appreciated any help.
Eric

@EricLSM
dl=1/100 ? what is OGCM spatial resolution. is their have any down scaling methods for that? i dont know what you want to do.
I hope this problem related to matlab, used more memory.
some tips: try matlab --no-desktop

there have development in croco_pytools, when it finish i hope your problem will resolve. i don’t know parallel pool will support or not in current case.
Best,
Subhadeep

Thanks for the answer,

I want to generate mercator bry files, I don’t need clm files actually.

dl=1/100 is resolution what I put in crocotools_param.m. The killed message comes after download the mercator raw data and after the script make_OGCM_mercator generates the .cdf files.

I don’t know if the croco_clm_mercator_Y2022M06.nc which is being creating is too big for matlab (18 GB in the moment of Killed message), or just the process need more ram.

I didn’t find something similar to make_OGCM_mercator in croco_pytools.

Eric

@EricLSM
Indeed.
Suggestion: IF its .m then supplies less variables (temp then salinity etc one by one after that concat it).
I will just do git clone croco_pytools. see I can create a file of dl=1/300 (mode analytical).
Best,
Subhadeep