<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Courier;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Helvetica Neue";
panose-1:2 0 5 3 0 0 0 2 0 4;}
@font-face
{font-family:Roboto;
panose-1:2 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word;overflow-wrap: break-word;-webkit-nbsp-mode: space;line-break:after-white-space">
<div class="WordSection1">
<p class="MsoNormal">Hello, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This may be related to your environment variables LANG and/or LC_ALL.<o:p></o:p></p>
<p class="MsoNormal">Try setting it to en_US.UTF-8<o:p></o:p></p>
<p class="MsoNormal">bash:<o:p></o:p></p>
<p class="MsoNormal">export LANG=en_US.UTF-8<o:p></o:p></p>
<p class="MsoNormal">or <o:p></o:p></p>
<p class="MsoNormal">csh:<o:p></o:p></p>
<p class="MsoNormal">setenv LANG en_US.UTF-8<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Also, you are using the optile linux_amd64_ifort+mpi_ice_nas, which works for NASA’s Pleiades but may not work for your machine and compilers. There are various optiles in MITgcm/tools/build_options/. Try to use one that matches your machine
and compilers. You can read more about how to build MITgcm in the readthedoc MITgcm manual, section 3.5 at<o:p></o:p></p>
<p class="MsoNormal">https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html#building-the-model<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Ou Wang<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of Zih En Tseng <zizien@umich.edu><br>
<b>Date: </b>Wednesday, May 3, 2023 at 6:58 PM<br>
<b>To: </b>mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>Subject: </b>[EXTERNAL] [MITgcm-support] How to make the executable with Intel compiler?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">To those who may concern,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hi, I’m working on the CYGNSS project and I’m trying to reproduce ECCOv4r4 data.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I followed the reproduce instruction (https://ecco-group.org/docs/v4r4_reproduction_howto.pdf) step by step.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">So after cloning all essential data I did:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">$ module load intel impi<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica Neue";color:black">$ ../../../MITgcm/tools/genmake2 -rd=../../../MITgcm -mods=../code -optfile=../code/linux_amd64_ifort+mpi_ice_nas -mpi</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica Neue";color:black">$ make -j16 depend</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Helvetica Neue";color:black">$ make -j16 all</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">but I encountered the following error:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Courier;color:#3B2322;background:#D7D3B7">Catastrophic error: could not set locale "" to allow processing of multibyte characters</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">I searched for this error, and some forum suggested it is a problem with Intel compiler, but my IT consultant think that:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">“</span><span style="font-family:Roboto;color:#333333;background:#F4F3F2">it has little to do with the Intel compiler. This is problem with the overly complicated build systems that derivate
from standard practices.</span><span style="font-family:Helvetica;color:black">”<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">Have you encountered a problem like this? How did you solve this error? Is there any specific requirement on the version of compilers?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">Sorry that I’m not super familiar with the Fortran code structure, but please let me know if there is any more detail that I can provide to help explain my problem clearer and perhaps make
it easier for us to figure out what happened.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Thanks!<br>
-<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Alan (Zih-En Tseng)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Graduate Student Research Assistant<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Department of Naval Architecture and Marine Engineering<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">University of Michigan<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black">Mail: zizien@umich.edu<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-family:Helvetica;color:black">Mobile: +1(737)206-9891<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>