Opened 3 years ago
#99 new defect
concatnc doesn't handle variable names that are not in the files.nc
Reported by: | abierjon | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | MARS GCM | Version: | |
Keywords: | Cc: |
Description
When writing variable names in concatnc.def that are not in the diagfis you want to concatenate, it is badly handled by concatnc, as it display the horrendous error message below. A test should be done to handle things in a cleaner manner.
Error message :
which variables do you want to concatenate? all / list of <variables> (separated by <Enter>s) (an empty line , i.e: just <Enter>, implies end of list) *** Error in `concatnc.e': malloc(): memory corruption (fast): 0x0000000001524c70 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7f474)[0x2abbf4571474] /lib64/libc.so.6(+0x82bb0)[0x2abbf4574bb0] /lib64/libc.so.6(__libc_malloc+0x4c)[0x2abbf457778c] concatnc.e(for__get_vm+0x6d)[0x4405fd] concatnc.e(for_read_seq_fmt_xmit+0x1ca1)[0x436731] concatnc.e(for_read_seq_fmt+0xd4b)[0x433bfb] concatnc.e[0x40a338] concatnc.e[0x408e1e] /lib64/libc.so.6(__libc_start_main+0xf5)[0x2abbf4514555] concatnc.e[0x408d29] ======= Memory map: ======== 00400000-004ed000 r-xp 00000000 138:bbcd0 144152690119731950 /scratch/cnt0027/lmd1167/abierjon/simurefs_topflows_GCM6/test_JosephVSAntoine/newtuning_watercycle/concatnc_r2644.e 006ed000-006ee000 r--p 000ed000 138:bbcd0 144152690119731950 /scratch/cnt0027/lmd1167/abierjon/simurefs_topflows_GCM6/test_JosephVSAntoine/newtuning_watercycle/concatnc_r2644.e 006ee000-006f6000 rw-p 000ee000 138:bbcd0 144152690119731950 /scratch/cnt0027/lmd1167/abierjon/simurefs_topflows_GCM6/test_JosephVSAntoine/newtuning_watercycle/concatnc_r2644.e 006f6000-00757000 rw-p 00000000 00:00 0 0151c000-0153d000 rw-p 00000000 00:00 0 [heap] 2abbf3754000-2abbf3776000 r-xp 00000000 fd:00 524941 /usr/lib64/ld-2.17.so 2abbf3776000-2abbf3779000 rw-p 00000000 00:00 0 2abbf378c000-2abbf3817000 rw-p 00000000 00:00 0 2abbf3975000-2abbf3976000 r--p 00021000 fd:00 524941 /usr/lib64/ld-2.17.so 2abbf3976000-2abbf3977000 rw-p 00022000 fd:00 524941 /usr/lib64/ld-2.17.so 2abbf3977000-2abbf3978000 rw-p 00000000 00:00 0 2abbf3978000-2abbf3a45000 r-xp 00000000 00:2b 508325895 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdff.so.6.0.1 2abbf3a45000-2abbf3c44000 ---p 000cd000 00:2b 508325895 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdff.so.6.0.1 2abbf3c44000-2abbf3c45000 r--p 000cc000 00:2b 508325895 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdff.so.6.0.1 2abbf3c45000-2abbf3c46000 rw-p 000cd000 00:2b 508325895 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdff.so.6.0.1 2abbf3c46000-2abbf3fd4000 rw-p 00000000 00:00 0 2abbf3fd4000-2abbf40d5000 r-xp 00000000 fd:00 524956 /usr/lib64/libm-2.17.so 2abbf40d5000-2abbf42d4000 ---p 00101000 fd:00 524956 /usr/lib64/libm-2.17.so 2abbf42d4000-2abbf42d5000 r--p 00100000 fd:00 524956 /usr/lib64/libm-2.17.so 2abbf42d5000-2abbf42d6000 rw-p 00101000 fd:00 524956 /usr/lib64/libm-2.17.so 2abbf42d6000-2abbf42ed000 r-xp 00000000 fd:00 524974 /usr/lib64/libpthread-2.17.so 2abbf42ed000-2abbf44ec000 ---p 00017000 fd:00 524974 /usr/lib64/libpthread-2.17.so 2abbf44ec000-2abbf44ed000 r--p 00016000 fd:00 524974 /usr/lib64/libpthread-2.17.so 2abbf44ed000-2abbf44ee000 rw-p 00017000 fd:00 524974 /usr/lib64/libpthread-2.17.so 2abbf44ee000-2abbf44f2000 rw-p 00000000 00:00 0 2abbf44f2000-2abbf46b6000 r-xp 00000000 fd:00 524948 /usr/lib64/libc-2.17.so 2abbf46b6000-2abbf48b5000 ---p 001c4000 fd:00 524948 /usr/lib64/libc-2.17.so 2abbf48b5000-2abbf48b9000 r--p 001c3000 fd:00 524948 /usr/lib64/libc-2.17.so 2abbf48b9000-2abbf48bb000 rw-p 001c7000 fd:00 524948 /usr/lib64/libc-2.17.so 2abbf48bb000-2abbf48c0000 rw-p 00000000 00:00 0 2abbf48c0000-2abbf48d5000 r-xp 00000000 fd:00 524307 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 2abbf48d5000-2abbf4ad4000 ---p 00015000 fd:00 524307 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 2abbf4ad4000-2abbf4ad5000 r--p 00014000 fd:00 524307 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 2abbf4ad5000-2abbf4ad6000 rw-p 00015000 fd:00 524307 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 2abbf4ad6000-2abbf4ad8000 r-xp 00000000 fd:00 524954 /usr/lib64/libdl-2.17.so 2abbf4ad8000-2abbf4cd8000 ---p 00002000 fd:00 524954 /usr/lib64/libdl-2.17.so 2abbf4cd8000-2abbf4cd9000 r--p 00002000 fd:00 524954 /usr/lib64/libdl-2.17.so 2abbf4cd9000-2abbf4cda000 rw-p 00003000 fd:00 524954 /usr/lib64/libdl-2.17.so 2abbf4cda000-2abbf4df3000 r-xp 00000000 00:2b 3964223189 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdf.so.11.0.0 2abbf4df3000-2abbf4ff2000 ---p 00119000 00:2b 3964223189 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdf.so.11.0.0 2abbf4ff2000-2abbf5040000 r--p 00118000 00:2b 3964223189 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdf.so.11.0.0 2abbf5040000-2abbf5043000 rw-p 00166000 00:2b 3964223189 /panfs/panasas/softs/occigen/libraries/netcdf/4.4.0_fortran-4.4.2/hdf5/1.8.17/intel/17.0/intelmpi/2017.0.098/lib/libnetcdf.so.11.0.0 2abbf5043000-2abbf504d000 rw-p 00000000 00:00 0 2abbf504d000-2abbf5057000 r-xp 00000000 00:2b 957907391 /panfs/panasas/softs/occigen/libraries/szip/2.1/intel/17.0/nompi/lib/libsz.so.2.0.0 2abbf5057000-2abbf5257000 ---p 0000a000 00:2b 957907391 /panfs/panasas/softs/occigen/libraries/szip/2.1/intel/17.0/nompi/lib/libsz.so.2.0.0 2abbf5257000-2abbf5258000 r--p 0000a000 00:2b 957907391 /panfs/panasas/softs/occigen/libraries/szip/2.1/intel/17.0/nompi/lib/libsz.so.2.0.0 2abbf5258000-2abbf5259000 rw-p 0000b000 00:2b 957907391 /panfs/panasas/softs/occigen/libraries/szip/2.1/intel/17.0/nompi/lib/libsz.so.2.0.0
Note: See
TracTickets for help on using
tickets.