[MITgcm-support] Ask for MITgcm optfile and generating "make"

Mochamad Firman Ghazali afghazali25 at gmail.com
Tue Aug 20 07:06:53 EDT 2024


Dear MITgcm team,

I am Firman Ghazali. I just started to learn ocean numerical modelling, my
background is in remote sensing. I am interested in learning and using
MITgcm. I have tried to install the MITgcm under my Windows subsystem linux
(WSL) on my Windows 10, AMD Ryzen 7, AMD Radeon graphic, and 16GB of RAM.


   1. The installation process was successfully completed. However, I
   encountered an issue when completing the opt file. I found it difficult to
   select suitable content for the opt file in the tools/build_options
   directory. Therefore, I would like to ask for help to solve this issue.
   2. After googling, I found the example of the optfile that suit with my
   laptop (I guess) from
   https://www.coaps.fsu.edu/pub/taylor/haibo_sim_011421/MITgcm/tools/suggest_optfile_names.
   I am not sure, but it worked then the following error comes after
   activating the "make depend" and "make"

/home/firmanghazali/MITgcm/tools/cyrus-imapd-makedepend/makedepend:
warning:  all_proc_die.F (reading EESUPPORT.h, line 173): cannot find
include file "mpif.h"
        not in mpif.h
        not in mpif.h
        not in ./mpif.h
        not in /usr/lib/gcc/x86_64-linux-gnu/11/include/mpif.h
        not in /usr/local/include/mpif.h
        not in /usr/include/x86_64-linux-gnu/mpif.h
        not in /usr/include/mpif.h
        not in /usr/include/mpif.h
/home/firmanghazali/MITgcm/tools/f90mkdepend >> Makefile

and

Update AD_CONFIG.h and make ./mitgcmuv
make -f Makefile ./mitgcmuv
make[1]: Entering directory '/home/firmanghazali'
f77   -c chksum_tiled.f
chksum_tiled.f:434:4:

  434 |   These lines are here to deliberately cause a compile-time error.
    |    1
Error: Non-numeric character in statement label at (1)
chksum_tiled.f:435:4:
  435 |   If you see these lines in your .F files or the compiler shows
them     |    1
Error: Non-numeric character in statement label at (1)
chksum_tiled.f:436:4:
  436 |   as an error then it means you have not placed your configuration
    |    1
Error: Non-numeric character in statement label at (1)
chksum_tiled.f:437:4:
  437 |   files in the appropriate place.      |    1
Error: Non-numeric character in statement label at (1)
chksum_tiled.f:438:4:
  438 |   You need to place you own copy of SIZE.h in the include      |
 1
Error: Non-numeric character in statement label at (1)
chksum_tiled.f:439:4:
  439 |   path for the model, and comment out these lines.      |    1
Error: Non-numeric character in statement label at (1)
make[1]: *** [Makefile:1224: chksum_tiled.o] Error 1
make[1]: Leaving directory '/home/firmanghazali'
make: *** [Makefile:1136: fwd_exe_target] Error 2


Many thanks,
Firman Ghazali

-- 

*Mochamad Firman Ghazali, S. Pd., M. T.*
(Environmental Remote Sensing)
Department of Geodesy and Geomatics
Faculty of Engineering, University of Lampung
*======================================*

*Associate Researcher *

*Center for Remote Sensing, Bandung Institute of Technology*
*+62 821 2193 5513*
*======================================*
*Sinta ID = 6679166Google Scholar ID = lzTlSHkAAAAJScopus ID =
57210807769ORCID iD = https://orcid.org/0000-0003-1716-4063
<https://orcid.org/0000-0003-1716-4063> *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240820/27ad3768/attachment.html>


More information about the MITgcm-support mailing list