Dear Sir/Madam,
I have gone through the 'WRF-Chem 3.9.1.1 Emissions Guide'. Now, I am using mozbc to generate chemical lateral boundary conditions for WRF-Chem simulations (as described on page 38 of the emission guide). For that, I am using the MOZART-MOSAIC_4BINS input provided in the document from NCAR/ACD (the pdf is attached for your convenience). But I am getting the following error:
*** Error in `./mozbc': free(): invalid next size (normal): 0x00000000015c1ce0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81489)[0x7f317a0d8489]
./mozbc[0x4052d2]
./mozbc[0x41cbcc]
./mozbc[0x422cff]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f317a0793d5]
./mozbc[0x4016e9]
======= Memory map: ========
00400000-00426000 r-xp 00000000 08:31 109183004 /data2/sunny/EMISSIONDATA/MOZBC/mozbc
00625000-00626000 r--p 00025000 08:31 109183004 /data2/sunny/EMISSIONDATA/MOZBC/mozbc
00626000-00627000 rw-p 00026000 08:31 109183004 /data2/sunny/EMISSIONDATA/MOZBC/mozbc
00627000-0063b000 rw-p 00000000 00:00 0
015b4000-015d5000 rw-p 00000000 00:00 0 [heap]
7f3170000000-7f3170021000 rw-p 00000000 00:00 0
7f3170021000-7f3174000000 ---p 00000000 00:00 0
7f3177e35000-7f3177e4c000 r-xp 00000000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f3177e4c000-7f317804b000 ---p 00017000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f317804b000-7f317804c000 r--p 00016000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f317804c000-7f317804d000 rw-p 00017000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f317804d000-7f3178051000 rw-p 00000000 00:00 0
7f3178051000-7f3178058000 r-xp 00000000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178058000-7f3178257000 ---p 00007000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178257000-7f3178258000 r--p 00006000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178258000-7f3178259000 rw-p 00007000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178259000-7f31789b1000 r-xp 00000000 fd:00 45542960 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/release_mt/libmpi.so.12.0
7f31789b1000-7f3178bb1000 ---p 00758000 fd:00 45542960 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/release_mt/libmpi.so.12.0
7f3178bb1000-7f3178bea000 rw-p 00758000 fd:00 45542960 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/release_mt/libmpi.so.12.0
7f3178bea000-7f3178f81000 rw-p 00000000 00:00 0
7f3178f81000-7f31790ff000 r-xp 00000000 fd:00 167307467 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/libmpifort.so.12.0
7f31790ff000-7f31792ff000 ---p 0017e000 fd:00 167307467 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/libmpifort.so.12.0
7f31792ff000-7f3179306000 rw-p 0017e000 fd:00 167307467 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/libmpifort.so.12.0
7f3179306000-7f317932a000 rw-p 00000000 00:00 0
7f317932a000-7f3179342000 r-xp 00000000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179342000-7f3179541000 ---p 00018000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179541000-7f3179542000 r--p 00017000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179542000-7f3179543000 rw-p 00018000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179543000-7f3179545000 r-xp 00000000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179545000-7f3179745000 ---p 00002000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179745000-7f3179746000 r--p 00002000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179746000-7f3179747000 rw-p 00003000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179747000-7f3179751000 r-xp 00000000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179751000-7f3179951000 ---p 0000a000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179951000-7f3179952000 r--p 0000a000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179952000-7f3179953000 rw-p 0000b000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179953000-7f317995b000 rw-p 00000000 00:00 0
7f317995b000-7f3179c29000 r-xp 00000000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179c29000-7f3179e28000 ---p 002ce000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179e28000-7f3179e2d000 r--p 002cd000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179e2d000-7f3179e34000 rw-p 002d2000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179e34000-7f3179e36000 rw-p 00000000 00:00 0
7f3179e36000-7f3179e54000 r-xp 00000000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f3179e54000-7f317a054000 ---p 0001e000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f317a054000-7f317a055000 r--p 0001e000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f317a055000-7f317a056000 rw-p 0001f000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f317a056000-7f317a057000 rw-p 00000000 00:00 0
7f317a057000-7f317a219000 r-xp 00000000 fd:00 10536 /usr/lib64/libc-2.17.so
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x7F317AB91697
#1 0x7F317AB91CDE
#2 0x7F317A08D27F
#3 0x7F317A08D207
#4 0x7F317A08E8F7
#5 0x7F317A0CFD26
#6 0x7F317A0D8488
#7 0x4052D1 in __utils_MOD_mapper at mo_utils.f90:291
#8 0x41CBCB in MAIN__ at main_bc_wrfchem.f90:134
./run_mozbc: line 1: 116370 Aborted (core dumped) ./mozbc < MOZART_MOSAIC_4_BINS.inp > MOZART_MOSAIC_4_BINS.out
Can you tell me why I am getting this error and how to solve it? I used the 'spc_map' option exactly as it is suggested in the document. I want to mention here that I used the EDGARv5_MOZART_dataset (from EDGAR v5.0 emissions inventory speciated for the MOZART chemical mechanism), which is a global emission dataset for the year 2015, for creating anthropogenic emission input files. There it is mentioned that "the dataset is also ready to use in the WRF-Chem atmospheric model with MOZART-MOSAIC options". That is why I am using the MOZART-MOSAIC option. I have used the 'edgarv5_MOZART_MOSAIC.inp' file (attached) given on their webpage after some modifications were made to the paths according to my case for generating anthropogenic emission input files (i.e.,'wrfchemi_d<nn>_<date>.nc'). I have checked after comparing these two input files and found that the 'emis_map' variable in 'edgarv5_MOZART_MOSAIC.inp' and 'spc_map' variable in 'MOZART-MOSAIC_4_BINS_INP.inp' (attached) are different. Should these have to be the same? I am really stuck with this issue. Since I am new to this model, any guidance would be greatly appreciated. For your convenience, I am also attaching the output file ('MOZART_MOSAIC_4_BINS._OUT.out'). Thank you.
With regards,
Ankan
I have gone through the 'WRF-Chem 3.9.1.1 Emissions Guide'. Now, I am using mozbc to generate chemical lateral boundary conditions for WRF-Chem simulations (as described on page 38 of the emission guide). For that, I am using the MOZART-MOSAIC_4BINS input provided in the document from NCAR/ACD (the pdf is attached for your convenience). But I am getting the following error:
*** Error in `./mozbc': free(): invalid next size (normal): 0x00000000015c1ce0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81489)[0x7f317a0d8489]
./mozbc[0x4052d2]
./mozbc[0x41cbcc]
./mozbc[0x422cff]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f317a0793d5]
./mozbc[0x4016e9]
======= Memory map: ========
00400000-00426000 r-xp 00000000 08:31 109183004 /data2/sunny/EMISSIONDATA/MOZBC/mozbc
00625000-00626000 r--p 00025000 08:31 109183004 /data2/sunny/EMISSIONDATA/MOZBC/mozbc
00626000-00627000 rw-p 00026000 08:31 109183004 /data2/sunny/EMISSIONDATA/MOZBC/mozbc
00627000-0063b000 rw-p 00000000 00:00 0
015b4000-015d5000 rw-p 00000000 00:00 0 [heap]
7f3170000000-7f3170021000 rw-p 00000000 00:00 0
7f3170021000-7f3174000000 ---p 00000000 00:00 0
7f3177e35000-7f3177e4c000 r-xp 00000000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f3177e4c000-7f317804b000 ---p 00017000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f317804b000-7f317804c000 r--p 00016000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f317804c000-7f317804d000 rw-p 00017000 fd:00 10580 /usr/lib64/libpthread-2.17.so
7f317804d000-7f3178051000 rw-p 00000000 00:00 0
7f3178051000-7f3178058000 r-xp 00000000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178058000-7f3178257000 ---p 00007000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178257000-7f3178258000 r--p 00006000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178258000-7f3178259000 rw-p 00007000 fd:00 10586 /usr/lib64/librt-2.17.so
7f3178259000-7f31789b1000 r-xp 00000000 fd:00 45542960 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/release_mt/libmpi.so.12.0
7f31789b1000-7f3178bb1000 ---p 00758000 fd:00 45542960 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/release_mt/libmpi.so.12.0
7f3178bb1000-7f3178bea000 rw-p 00758000 fd:00 45542960 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/release_mt/libmpi.so.12.0
7f3178bea000-7f3178f81000 rw-p 00000000 00:00 0
7f3178f81000-7f31790ff000 r-xp 00000000 fd:00 167307467 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/libmpifort.so.12.0
7f31790ff000-7f31792ff000 ---p 0017e000 fd:00 167307467 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/libmpifort.so.12.0
7f31792ff000-7f3179306000 rw-p 0017e000 fd:00 167307467 /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/lib/libmpifort.so.12.0
7f3179306000-7f317932a000 rw-p 00000000 00:00 0
7f317932a000-7f3179342000 r-xp 00000000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179342000-7f3179541000 ---p 00018000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179541000-7f3179542000 r--p 00017000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179542000-7f3179543000 rw-p 00018000 fd:00 217619979 /usr/local/gnuwrflib/zlib-128/zlibgnu/lib/libz.so.1.2.8
7f3179543000-7f3179545000 r-xp 00000000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179545000-7f3179745000 ---p 00002000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179745000-7f3179746000 r--p 00002000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179746000-7f3179747000 rw-p 00003000 fd:00 10549 /usr/lib64/libdl-2.17.so
7f3179747000-7f3179751000 r-xp 00000000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179751000-7f3179951000 ---p 0000a000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179951000-7f3179952000 r--p 0000a000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179952000-7f3179953000 rw-p 0000b000 fd:00 90213880 /usr/local/gnuwrflib/szip-21/szipgnu/lib/libsz.so.2.0.0
7f3179953000-7f317995b000 rw-p 00000000 00:00 0
7f317995b000-7f3179c29000 r-xp 00000000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179c29000-7f3179e28000 ---p 002ce000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179e28000-7f3179e2d000 r--p 002cd000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179e2d000-7f3179e34000 rw-p 002d2000 fd:00 154782284 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5.so.9.0.0
7f3179e34000-7f3179e36000 rw-p 00000000 00:00 0
7f3179e36000-7f3179e54000 r-xp 00000000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f3179e54000-7f317a054000 ---p 0001e000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f317a054000-7f317a055000 r--p 0001e000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f317a055000-7f317a056000 rw-p 0001f000 fd:00 154782296 /usr/local/gnuwrflib/hdf5-1814/h5gnu/lib/libhdf5_hl.so.9.0.0
7f317a056000-7f317a057000 rw-p 00000000 00:00 0
7f317a057000-7f317a219000 r-xp 00000000 fd:00 10536 /usr/lib64/libc-2.17.so
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x7F317AB91697
#1 0x7F317AB91CDE
#2 0x7F317A08D27F
#3 0x7F317A08D207
#4 0x7F317A08E8F7
#5 0x7F317A0CFD26
#6 0x7F317A0D8488
#7 0x4052D1 in __utils_MOD_mapper at mo_utils.f90:291
#8 0x41CBCB in MAIN__ at main_bc_wrfchem.f90:134
./run_mozbc: line 1: 116370 Aborted (core dumped) ./mozbc < MOZART_MOSAIC_4_BINS.inp > MOZART_MOSAIC_4_BINS.out
Can you tell me why I am getting this error and how to solve it? I used the 'spc_map' option exactly as it is suggested in the document. I want to mention here that I used the EDGARv5_MOZART_dataset (from EDGAR v5.0 emissions inventory speciated for the MOZART chemical mechanism), which is a global emission dataset for the year 2015, for creating anthropogenic emission input files. There it is mentioned that "the dataset is also ready to use in the WRF-Chem atmospheric model with MOZART-MOSAIC options". That is why I am using the MOZART-MOSAIC option. I have used the 'edgarv5_MOZART_MOSAIC.inp' file (attached) given on their webpage after some modifications were made to the paths according to my case for generating anthropogenic emission input files (i.e.,'wrfchemi_d<nn>_<date>.nc'). I have checked after comparing these two input files and found that the 'emis_map' variable in 'edgarv5_MOZART_MOSAIC.inp' and 'spc_map' variable in 'MOZART-MOSAIC_4_BINS_INP.inp' (attached) are different. Should these have to be the same? I am really stuck with this issue. Since I am new to this model, any guidance would be greatly appreciated. For your convenience, I am also attaching the output file ('MOZART_MOSAIC_4_BINS._OUT.out'). Thank you.
With regards,
Ankan