+ set -o nounset + set -o errexit + yearb=1983 + yeare=1983 + grid=eORCA1 + nbsmooth=2 + sosiedir=/gpfs/home/acad/ucl-elic/adelhass/tools/sosie-master/bin + mask=/gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/mask-eORCA1.nc + sourcedir=/gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450 + ioutdir=/gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450-on-nemo + scratchdir=/gpfs/home/acad/ucl-elic/adelhass/scratch_limhr/sosie + weightdir= + tmpdir=/gpfs/home/acad/ucl-elic/adelhass/scratch_limhr/sosie/TMP_28979 + echo 'TMPDIR IS >>>>>> /gpfs/home/acad/ucl-elic/adelhass/scratch_limhr/sosie/TMP_28979 <<<<<<<' + mkdir -p /gpfs/home/acad/ucl-elic/adelhass/scratch_limhr/sosie/TMP_28979 + cp namelist_OSISAF-conc namelist_OSISAF-error namelist_OSISAF-mask /gpfs/home/acad/ucl-elic/adelhass/scratch_limhr/sosie/TMP_28979 + [[ -f /sosie_mapping_OSISAF-nh-eORCA1.nc ]] + [[ -f /sosie_mapping_OSISAF-sh-eORCA1.nc ]] + cd /gpfs/home/acad/ucl-elic/adelhass/scratch_limhr/sosie/TMP_28979 + '[' '!' -f /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/mask-eORCA1.nc ']' + ln -sf /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/mask-eORCA1.nc mask_out.nc + ln -sf /gpfs/home/acad/ucl-elic/adelhass/tools/sosie-master/bin/sosie3.x . ++ seq 1983 1983 + for year in `seq ${yearb} ${yeare}` + echo 1983 + rm -f listfiles.txt + ls /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450/ice_conc_nh_ease2-250_cdr-v2p0_198312311200.nc ++ cat list_files.txt + for file in `cat list_files.txt` ++ sed -e s/ice_conc_nh_ease2-250_cdr-v2p0_// -e s/1200.nc// ++ basename /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450/ice_conc_nh_ease2-250_cdr-v2p0_198312311200.nc + tag=19831231 + echo 19831231 ++ wc -l ++ ls /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450/ice_conc_nh_ease2-250_cdr-v2p0_198312311200.nc /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450/ice_conc_sh_ease2-250_cdr-v2p0_198312311200.nc + nfile=2 + [[ 2 == 2 ]] + echo 'Two files were found for the time stamp 19831231!' + for hemi in nh sh + filein=/gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450/ice_conc_nh_ease2-250_cdr-v2p0_198312311200.nc + cp -f /gpfs/home/acad/ucl-elic/adelhass/git/EnKF/conversion_uf/OSI-SAF-450/ice_conc_nh_ease2-250_cdr-v2p0_198312311200.nc data_in_nh-19831231.nc + cdo chname,status_flag,mask -eqc,0 -selvar,status_flag data_in_nh-19831231.nc mask_in_nh-19831231.nc + [[ 2 == 0 ]] + mv data_in_nh-19831231.nc data_in_smooth0_nh-19831231.nc ++ seq 1 2 + for jsmooth in `seq 1 $nbsmooth` + cdo smooth9 data_in_smooth0_nh-19831231.nc data_in_smooth1_nh-19831231.nc + for jsmooth in `seq 1 $nbsmooth` + cdo smooth9 data_in_smooth1_nh-19831231.nc data_in_smooth2_nh-19831231.nc + mv data_in_smooth2_nh-19831231.nc data_in_smooth_nh-19831231.nc + sed -e s/TTAARRGGEETT/eORCA1/ -e s/HHEEMMII/nh/ -e s/TTAAGG/19831231/ namelist_OSISAF-mask + sed -e s/TTAARRGGEETT/eORCA1/ -e s/HHEEMMII/nh/ -e s/TTAAGG/19831231/ namelist_OSISAF-conc + ./sosie3.x At line 109 of file src/mod_init.f90 (unit = 13, file = 'namelist') Fortran runtime error: End of file Error termination. Backtrace: #0 0x7f5f40cc8ed4 in next_record_r at ../../../libgfortran/io/transfer.c:3842 #1 0x7f5f40ccb821 in finalize_transfer at ../../../libgfortran/io/transfer.c:4395 #2 0x45043d in __mod_init_MOD_read_nmlst at src/mod_init.f90:109 #3 0x4039b9 in sosie at src/sosie.f90:75 #4 0x408cfc in main at src/sosie.f90:40