# BUFFIN error in createbc

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757>\
**Category:** Unified Model\
**Tags:** ARCHER2\
**Created:** [18 October 2022 15:02 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757 "2022-10-18T15:02:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shakka](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/shakka/32/111_2.png) [@shakka](https://cms-helpdesk.ncas.ac.uk/u/shakka)\
**Post date:** [18 October 2022 15:02 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757/1 "2022-10-18T15:02:05Z")

</div>

Hi CMS,

I’ve started getting file reading errors in the createbc step of u-co433. It only appears at the second cycle and appears to be related to the input.nl file not being shared between tasks (ie. only used in the first cycle but not subsequent ones). I’ve gotten this impression based on warnings about IOSCNTL and SHARED\_NLIST not being set in the .err file and the fact that the FAIL error seems to be related to the read-in of the input.nl.

The fort.103 file seems to be empty and I can’t remember how to open the core file (could someone please remind me how?) to dig further. Have you come across this error before?

BUFFIN: Read Failed: No such file or directory

???  
???!!!???!!!???!!!???!!!???!!! ERROR ???!!!???!!!???!!!???!!!???!!!  
? Error code: 24  
? Error from routine: io:buffin  
? Error message: Error in buffin errorCode= 0.00 len=0/1  
? Error from processor: 0  
? Error number: 2  
???

[0] exceptions: An non-exception application exit occured.  
[0] exceptions: whilst in a serial region  
[0] exceptions: Task had pid=0 on host  
[0] exceptions: Program is “/work/n02/n02/dcase/random\_bin/um-createbc.exe”  
Warning in umPrintMgr: umPrintExceptionHandler : Handler Invoked  
gc\_abort (Processor 0): um\_abort called  
[FAIL] /work/n02/n02/dcase/random\_bin/um-createbc.exe input.nl \<\<‘ **STDIN** ’  
[FAIL]  
[FAIL] ‘ **STDIN** ’ # return-code=-6  
2022-10-18T10:17:27Z CRITICAL - failed/EXIT

---

<div class="post-metadata">

**Author:** ![grenville](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/grenville/32/29_2.png) [@grenville](https://cms-helpdesk.ncas.ac.uk/u/grenville)\
**Post date:** [21 October 2022 15:00 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757/2 "2022-10-21T15:00:35Z")

</div>

please change permissions on `/mnt/lustre/a2fs-work2/work/n02/n02/shakka/cylc-run/u-co433/work/20211201T1200Z/Antarctic_12km_ERA5_JULES10_cyc12_fcst24_um_createbc_000/core` so we can read it.

---

<div class="post-metadata">

**Author:** ![shakka](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/shakka/32/111_2.png) [@shakka](https://cms-helpdesk.ncas.ac.uk/u/shakka)\
**Post date:** [21 October 2022 15:13 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757/3 "2022-10-21T15:13:45Z")

</div>

Hi Grenville, should be good to go now. can you also please remind me what program I need to use to read core files? E

---

<div class="post-metadata">

**Author:** ![grenville](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/grenville/32/29_2.png) [@grenville](https://cms-helpdesk.ncas.ac.uk/u/grenville)\
**Post date:** [21 October 2022 16:16 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757/4 "2022-10-21T16:16:07Z")

</div>

Ella

This file looks dodgy  
`/home/n02/n02/shakka/cylc-run/u-co433/work> xconv /work/n02/n02/shakka/cylc-run/u-co433/share/cycle/20211201T1200Z/ec/um/ec_cb036`

xconv can not determine its file type, same for `home/n02/n02/shakka/cylc-run/u-co433/work> xconv /work/n02/n02/shakka/cylc-run/u-co433/share/cycle/20211201T1200Z/ec/um/ec_cb048`

ec\_cb000, 012, and 024 look OK (xconv can read them)

ahh - just seen this – I’m guessing this is the problem?

grenvill@ln01:/work/n02/n02/shakka/cylc-run/u-co433/share/cycle/20211201T1200Z/ec/um\> ls -lrt  
total 17976876  
-rw-r–r-- 1 shakka n02 0 Sep 3 10:39 ec\_cb048  
-rw-r–r-- 1 shakka n02 0 Sep 3 10:39 ec\_cb036  
-rw-r–r-- 1 shakka n02 6138568704 Oct 18 14:42 ec\_cb024  
-rw-r–r-- 1 shakka n02 6138568704 Oct 18 14:42 ec\_cb012  
-rw-r–r-- 1 shakka n02 6138568704 Oct 18 14:42 ec\_cb000

`gdb /work/n02/n02/dcase/random_bin/um-createbc.exe core` (but it didn’t help much here)

Grenville

---

<div class="post-metadata">

**Author:** ![shakka](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/shakka/32/111_2.png) [@shakka](https://cms-helpdesk.ncas.ac.uk/u/shakka)\
**Post date:** [24 October 2022 11:31 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757/5 "2022-10-24T11:31:15Z")

</div>

Aha! Have deleted the offending files and the step seems to be running smoothly…

Thanks Grenville!  
E

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/1fd2411499ffcbc299fe756cd5cdf26e44956558.png) [@system](https://cms-helpdesk.ncas.ac.uk/u/system)\
**Post date:** [26 October 2022 11:31 UTC](https://cms-helpdesk.ncas.ac.uk/t/buffin-error-in-createbc/757/6 "2022-10-26T11:31:53Z")

</div>

Closed on 26 October 2022 11:31 UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
