Dear RegCM users,
I am trying to set up RegCM4.5 in HPC. All the binaries are getting created. However, when I am running TERRAIN for the test case the netdcf file test_001_DOMAIN000.nc is not getting created, although the ascii LANDUSE file is getting created. The program is terminating with Segmentation fault. As a test, I have also set up the model in my Desktop (where terrain can generate the netcdf file). When I copy the netcdf output generated by TERRAIN from desktop to the HPC, SST and ICBC are running in the HPC and generating input files and also the model is running. So, something is happening with TERRAIN in the HPC which I am unable to figure out.
********************************************************************************************
This is Terrain part of RegCM package version 4
SVN Revision: 4.5.0 compiled at: data : Jun 24 2016 time: 16:30:58
: this run start at : 2016-06-24 16:38:55+0530
: it is submitted by : pbanerjee
: it is running on :
mandhan.caos.iisc.ernet.in : in directory : /home/pbanerjee/REGCM4.5/REGCM_RUN
Vertical Grid Description
-----------------------------------------
k sigma p(mb) z(m)
-----------------------------------------
19 1.000 1013.25 0.00
18 0.990 1003.62 80.95
17 0.980 993.99 162.69
16 0.960 974.72 329.40
15 0.930 945.82 587.10
14 0.890 907.29 945.29
13 0.840 859.13 1418.14
12 0.780 801.34 2026.47
11 0.710 733.91 2801.40
10 0.630 656.85 3790.93
9 0.550 579.79 4911.99
8 0.470 502.73 6204.88
7 0.390 425.67 7731.83
6 0.310 348.61 9596.31
5 0.230 271.55 11989.90
4 0.160 204.12 14776.13
3 0.100 146.32 18107.61
2 0.050 98.16 22245.98
1 0.000 50.00 30370.64
Doing Horizontal Grid with following parameters
iy = 34
jx = 64
ds = 60.000000000000000
clat = 45.390000000000001
clon = 13.480000000000000
iproj = LAMCON
Grid setup done
Geo mapping done
Calculated large extrema:
MINLAT = 34.000000000000000
MAXLAT = 55.000000000000000
MINLON = -15.000000000000000
MAXLON = 43.000000000000000
Determined Grid coordinate range
Using resampling at 15 minutes.
Opening /home/pbanerjee/REGCM4.5/REGCM_GLOBEDAT/SURFACE/GMTED_DEM_30s.nc
Resampling........ Done.
Static DEM data successfully read in
Interpolated DEM on model GRID
Opening /home/pbanerjee/REGCM4.5/REGCM_GLOBEDAT/SURFACE/GLCC_BATS_30s.nc
Resampling........ Done.
Static landcover BATS data successfully read in
Interpolated landcover on model GRID
Fudging data (if requested) succeeded
Skip moisture creation, no moisture file to read
Segmentation fault
************************************************************************************************************
I have tried changing the ulimit and that is not helping. I am getting the following output on running terrainDEBUG:
***************************************************************************************************************
Doing Horizontal Grid with following parameters
iy = 34
jx = 64
ds = 60.000000000000000
clat = 45.390000000000001
clon = 13.480000000000000
iproj = LAMCON
Grid setup done
Geo mapping done
Calculated large extrema:
MINLAT = 34.000000000000000
MAXLAT = 55.000000000000000
MINLON = -15.000000000000000
MAXLON = 43.000000000000000
Determined Grid coordinate range
Using resampling at 15 minutes.
INPSEC = 120
IOPSEC = 4
BOUNDS IN LAT: 33.995833333333330 55.004166666666670
BOUNDS IN LON: -15.004166666666666 43.004166666666670
WILL READ 6962 x 2522 points
WILL GIVE 233 x 85 points
Opening /home/pbanerjee/REGCM4.5/REGCM_GLOBEDAT/SURFACE/GMTED_DEM_30s.nc
Resampling........ Done.
Static DEM data successfully read in
Interpolated DEM on model GRID
INPSEC = 120
IOPSEC = 4
BOUNDS IN LAT: 33.995833333333330 55.004166666666670
BOUNDS IN LON: -15.004166666666666 43.004166666666670
WILL READ 6962 x 2522 points
WILL GIVE 233 x 85 points
Opening /home/pbanerjee/REGCM4.5/REGCM_GLOBEDAT/SURFACE/GLCC_BATS_30s.nc
Resampling........ Done.
Static landcover BATS data successfully read in
Interpolated landcover on model GRID
Fudging data (if requested) succeeded
Skip moisture creation, no moisture file to read
In File mod_ncstream.F90 at line: 314
NetCDF: Not a valid ID
nc_stream : Cannot close file P �S� 0����4T
Q ��� M5�yV ( � Y `��� 0���+�5= ����0����랕�*`����
b�5=F�5=���P�U 3�5)@�U�*: 1
Aborted
*****************************************************************************************************************
===> My system info is :
CentOS release 5.6 (Final)
Kernel \r on an \m
Linux
mandhan.caos.iisc.ernet.in 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
===> I am using GCC version 4.6.2. openmpi version 1.10.2, zlib-1.2.8, hdf5-1.8.12, netcdf-4.3.3.1 and netcdf-fortran 4.4.2.
I am attaching the RegCM4.5 config log file. Please help me to overcome this problem.