<div dir="ltr"><div dir="ltr">Hi Martin,</div><div dir="ltr"><br></div><div>It isn't a general problem on ARCHER2. Fortunately, we are able to run several different configurations of MITgcm on ARCHER2, including the ECCOv4-r4 setup, for example.<br><br>You're right, SINGLE_DISK_IO was defined in the setup that I am using (which is partially based on SOSE). I hadn't noticed before. When I reverted to the default case, with #undef SINGLE_DISK_IO, this problem went away. Thanks for your help!<br><br>Best,<br>Dan<br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 24, 2021 at 4:00 PM <<a href="mailto:mitgcm-support-request@mitgcm.org">mitgcm-support-request@mitgcm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send MITgcm-support mailing list submissions to<br>
        <a href="mailto:mitgcm-support@mitgcm.org" target="_blank">mitgcm-support@mitgcm.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:mitgcm-support-request@mitgcm.org" target="_blank">mitgcm-support-request@mitgcm.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:mitgcm-support-owner@mitgcm.org" target="_blank">mitgcm-support-owner@mitgcm.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of MITgcm-support digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Crashing at run-time because /dev/null is not     available<br>
      (Dan Jones)<br>
   2. Re: Crashing at run-time because /dev/null is not available<br>
      (Martin Losch)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 23 Mar 2021 16:26:05 +0000<br>
From: Dan Jones <<a href="mailto:dcjones.work@gmail.com" target="_blank">dcjones.work@gmail.com</a>><br>
To: <a href="mailto:mitgcm-support@mitgcm.org" target="_blank">mitgcm-support@mitgcm.org</a><br>
Subject: [MITgcm-support] Crashing at run-time because /dev/null is<br>
        not     available<br>
Message-ID:<br>
        <<a href="mailto:CAPj3iHSi%2B4oW5JokOPaa2hQjoRLmRsO4FTc%2BGf4zgG-two31qw@mail.gmail.com" target="_blank">CAPj3iHSi+4oW5JokOPaa2hQjoRLmRsO4FTc+Gf4zgG-two31qw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
I am trying to run MITgcm on [ARCHER2](<a href="https://www.archer2.ac.uk/" rel="noreferrer" target="_blank">https://www.archer2.ac.uk/</a>),<br>
compiled using the gnu compiler. I'm getting the following runtime issue:<br>
<br>
```<br>
Error termination. Backtrace:<br>
At line 1598 of file eeboot_minimal.f (unit = 15)<br>
Fortran runtime error: Cannot open file '#dev/null': No such file or<br>
directory<br>
```<br>
I notice that it's not looking for "/dev/null", but for some reason instead<br>
the first character in the address is #.<br>
<br>
The relevant block of code appears to be:<br>
<br>
```<br>
        IF( myProcId .EQ. 0 ) THEN<br>
          WRITE(fNam,'(A,A)') 'STDERR.', myProcessStr(1:iTmp)<br>
          OPEN(errorMessageUnit,FILE=fNam,STATUS='unknown')<br>
          WRITE(fNam,'(A,A)') 'STDOUT.', myProcessStr(1:iTmp)<br>
          OPEN(standardMessageUnit,FILE=fNam,STATUS='unknown')<br>
        ELSE<br>
          OPEN(errorMessageUnit,FILE='/dev/null',STATUS='unknown')<br>
          standardMessageUnit=errorMessageUnit<br>
        ENDIF<br>
```<br>
<br>
Any ideas on what I should do? Where is the extra "#" character coming from?<br>
<br>
Best,<br>
Dan<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20210323/125df85e/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20210323/125df85e/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 23 Mar 2021 18:04:49 +0100<br>
From: Martin Losch <<a href="mailto:Martin.Losch@awi.de" target="_blank">Martin.Losch@awi.de</a>><br>
To: MITgcm Support <<a href="mailto:mitgcm-support@mitgcm.org" target="_blank">mitgcm-support@mitgcm.org</a>><br>
Subject: Re: [MITgcm-support] Crashing at run-time because /dev/null<br>
        is not available<br>
Message-ID: <<a href="mailto:B61BCE50-54AE-4841-BF6E-1C76E7B37DAE@awi.de" target="_blank">B61BCE50-54AE-4841-BF6E-1C76E7B37DAE@awi.de</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Dan,<br>
<br>
are you sure you want to define SINGLE_DISK_IO? Setting this to undef (default) will remove the line of code that opens ?/dev/null? for easier debugging. <br>
Otherwise it?s probably a question for the sysadmins on Archer2? I would try simpler programmes for testing if this is a principal problem on that platform with that compiler.<br>
<br>
Martin<br>
<br>
> On 23. Mar 2021, at 17:26, Dan Jones <<a href="mailto:dcjones.work@gmail.com" target="_blank">dcjones.work@gmail.com</a>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> I am trying to run MITgcm on [ARCHER2](<a href="https://www.archer2.ac.uk/" rel="noreferrer" target="_blank">https://www.archer2.ac.uk/</a>), compiled using the gnu compiler. I'm getting the following runtime issue:<br>
> <br>
> ```<br>
> Error termination. Backtrace:<br>
> At line 1598 of file eeboot_minimal.f (unit = 15)<br>
> Fortran runtime error: Cannot open file '#dev/null': No such file or directory<br>
> ```<br>
> I notice that it's not looking for "/dev/null", but for some reason instead the first character in the address is #. <br>
> <br>
> The relevant block of code appears to be:<br>
> <br>
> ```      <br>
>         IF( myProcId .EQ. 0 ) THEN<br>
>           WRITE(fNam,'(A,A)') 'STDERR.', myProcessStr(1:iTmp)<br>
>           OPEN(errorMessageUnit,FILE=fNam,STATUS='unknown')<br>
>           WRITE(fNam,'(A,A)') 'STDOUT.', myProcessStr(1:iTmp)<br>
>           OPEN(standardMessageUnit,FILE=fNam,STATUS='unknown')<br>
>         ELSE<br>
>           OPEN(errorMessageUnit,FILE='/dev/null',STATUS='unknown')<br>
>           standardMessageUnit=errorMessageUnit<br>
>         ENDIF<br>
> ```<br>
> <br>
> Any ideas on what I should do? Where is the extra "#" character coming from?<br>
> <br>
> Best,<br>
> Dan <br>
> _______________________________________________<br>
> MITgcm-support mailing list<br>
> <a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
> <a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: smime.p7s<br>
Type: application/pkcs7-signature<br>
Size: 1665 bytes<br>
Desc: not available<br>
URL: <<a href="http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20210323/eb2c7260/attachment-0001.p7s" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20210323/eb2c7260/attachment-0001.p7s</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank">MITgcm-support@mitgcm.org</a><br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
<br>
------------------------------<br>
<br>
End of MITgcm-support Digest, Vol 213, Issue 10<br>
***********************************************<br>
</blockquote></div></div>