[MITgcm-support] [EXTERNAL] How to make the executable with Intel compiler?
Wang, Ou (US 329B)
ou.wang at jpl.nasa.gov
Wed May 3 23:38:22 EDT 2023
Hello,
This may be related to your environment variables LANG and/or LC_ALL.
Try setting it to en_US.UTF-8
bash:
export LANG=en_US.UTF-8
or
csh:
setenv LANG en_US.UTF-8
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
https://mitgcm.readthedocs.io/en/latest/getting_started/getting_started.html#building-the-model
Best,
Ou Wang
From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of Zih En Tseng <zizien at umich.edu>
Date: Wednesday, May 3, 2023 at 6:58 PM
To: mitgcm-support at mitgcm.org <mitgcm-support at mitgcm.org>
Subject: [EXTERNAL] [MITgcm-support] How to make the executable with Intel compiler?
To those who may concern,
Hi, I’m working on the CYGNSS project and I’m trying to reproduce ECCOv4r4 data.
I followed the reproduce instruction (https://ecco-group.org/docs/v4r4_reproduction_howto.pdf) step by step.
So after cloning all essential data I did:
$ module load intel impi
$ ../../../MITgcm/tools/genmake2 -rd=../../../MITgcm -mods=../code -optfile=../code/linux_amd64_ifort+mpi_ice_nas -mpi
$ make -j16 depend
$ make -j16 all
but I encountered the following error:
Catastrophic error: could not set locale "" to allow processing of multibyte characters
I searched for this error, and some forum suggested it is a problem with Intel compiler, but my IT consultant think that:
“it has little to do with the Intel compiler. This is problem with the overly complicated build systems that derivate from standard practices.”
Have you encountered a problem like this? How did you solve this error? Is there any specific requirement on the version of compilers?
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.
Thanks!
-
Alan (Zih-En Tseng)
Graduate Student Research Assistant
Department of Naval Architecture and Marine Engineering
University of Michigan
Mail: zizien at umich.edu
Mobile: +1(737)206-9891
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20230504/a9d0dd54/attachment-0001.html>
More information about the MITgcm-support
mailing list