MEGAN v3.2 cantype preprocessor error

Hi all,
I have some problems when running the cantype MEGANv3.2 preprocessor (compiled by ifort).
Other preprocessors (e.g. lai, ecotype, landtype etc.) has successfully created the .csv file I want. But the cantype preprocessor stopped in the middle of the processing with showing forrtl: severe (174): SIGSEGV, segmentation fault occurred.

I have tried all suggestions form https://www.intel.com/content/www/us/en/developer/articles/troubleshooting/determining-root-cause-of-sigsegv-or-sigbus-errors.html
but none of them work. I wonder if there are any suggestions?
Thank you.

Looks like it’s failing on the tree file. What does the tree section of your prepmegan4cmaq.cantype.inp namelist look like? Is it consistent with the input?

For example, my .inp file:

 treefilename  = 'GF3aTree.nc'
 treevarname   = 'm20tree'
 treefillvalue = '-128'

And the input file I’m using:

ncdump -h …/GF3aTree.nc | more

 netcdf GF3aTree {
 dimensions:
    lon = 43200 ;
    lat = 16800 ;
  variables:
    double lon(lon) ;
            lon:long_name = "longitude coordinate" ;
            lon:standard_name = "longitude" ;
            lon:units = "degrees_east" ;
    double lat(lat) ;
            lat:long_name = "latitude coordinate" ;
            lat:standard_name = "latitude" ;
            lat:units = "degrees_north" ;
    byte m20tree(lat, lon) ;
            m20tree:long_name = "m20tree" ;

.
.
.

There are a couple versions of these files floating around but I can’t remember which ones have changed over time. Check that first.