<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Firman, maybe these will be useful to you: <a href="https://github.com/coessing/coessing-mitgcm-2023/tree/main/doc">https://github.com/coessing/coessing-mitgcm-2023/tree/main/doc</a>
<div><br>
</div>
<div>In particular look at Ubuntu_on_Windows.txt and MITgcm_on_Ubuntu.txt</div>
<div><br>
</div>
<div>For 1, the optfile should be selected automatically.</div>
<div><br>
</div>
<div>For 2a, you need to specify location of your MPI include directory.</div>
<div><br>
</div>
<div>For 2b, you need to modify SIZE.h</div>
<div><br>
</div>
<div>If you follow instructions in documents above, it should work — if not, please let me know and I will adjust.</div>
<div><br>
</div>
<div>Cheers, Dimitris</div>
<div><br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Aug 20, 2024, at 4:06 AM, Mochamad Firman Ghazali <afghazali25@gmail.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div dir="ltr">
<div dir="ltr">Dear MITgcm team,
<div dir="auto"><br>
<div dir="auto">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.</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<ol>
<li>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. </li><li>After googling, I found the example of the optfile that suit with my laptop (I guess) from <a href="https://urldefense.us/v3/__https://www.coaps.fsu.edu/pub/taylor/haibo_sim_011421/MITgcm/tools/suggest_optfile_names__;!!PvBDto6Hs4WbVuu7!N5bbYoWXLvmUr56TC1repC48OONvP7KNblSiaWThc8e90vHeqv8UHR4zXsXpTaBwK4uYQa5Py9x1sQo371feoAoY5277bxtk$">https://www.coaps.fsu.edu/pub/taylor/haibo_sim_011421/MITgcm/tools/suggest_optfile_names</a>.
I am not sure, but it worked then the following error comes after activating the "make depend" and "make"</li></ol>
</div>
<div dir="auto">/home/firmanghazali/MITgcm/tools/cyrus-imapd-makedepend/makedepend: warning: all_proc_die.F (reading EESUPPORT.h, line 173): cannot find include file "mpif.h"<br>
not in mpif.h<br>
not in mpif.h<br>
not in ./mpif.h<br>
not in /usr/lib/gcc/x86_64-linux-gnu/11/include/mpif.h<br>
not in /usr/local/include/mpif.h<br>
not in /usr/include/x86_64-linux-gnu/mpif.h<br>
not in /usr/include/mpif.h<br>
not in /usr/include/mpif.h<br>
/home/firmanghazali/MITgcm/tools/f90mkdepend >> Makefile<br>
</div>
<div dir="auto"><br>
</div>
<div>and</div>
<div><br>
</div>
<div>Update AD_CONFIG.h and make ./mitgcmuv<br>
make -f Makefile ./mitgcmuv<br>
make[1]: Entering directory '/home/firmanghazali'<br>
f77 -c chksum_tiled.f<br>
chksum_tiled.f:434:4:<br>
<br>
434 | These lines are here to deliberately cause a compile-time error. | 1<br>
Error: Non-numeric character in statement label at (1)<br>
chksum_tiled.f:435:4:<br>
435 | If you see these lines in your .F files or the compiler shows them | 1<br>
Error: Non-numeric character in statement label at (1)<br>
chksum_tiled.f:436:4:<br>
436 | as an error then it means you have not placed your configuration | 1<br>
Error: Non-numeric character in statement label at (1)<br>
chksum_tiled.f:437:4:<br>
437 | files in the appropriate place. | 1<br>
Error: Non-numeric character in statement label at (1)<br>
chksum_tiled.f:438:4:<br>
438 | You need to place you own copy of SIZE.h in the include | 1<br>
Error: Non-numeric character in statement label at (1)<br>
chksum_tiled.f:439:4:<br>
439 | path for the model, and comment out these lines. | 1<br>
Error: Non-numeric character in statement label at (1)<br>
make[1]: *** [Makefile:1224: chksum_tiled.o] Error 1<br>
make[1]: Leaving directory '/home/firmanghazali'<br>
make: *** [Makefile:1136: fwd_exe_target] Error 2<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div dir="auto">Many thanks,</div>
<div dir="auto">Firman Ghazali</div>
</div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div><b><font size="1"><span style="font-family:verdana,sans-serif">Mochamad Firman Ghazali, S. Pd., M. T.<br>
</span></font></b></div>
<div><font size="1"><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(0,0,255)"><span></span></span></span><span style="font-family:verdana,sans-serif"><span>(<span style="color:rgb(0,0,255)">Environmental Remote Sensing</span>)</span></span></font></div>
<div><font size="1"><span style="font-family:verdana,sans-serif">Department of Geodesy and Geomatics<br>
</span></font></div>
<div><font size="1"><span style="font-family:verdana,sans-serif">Faculty of Engineering, University of Lampung</span><b><br>
</b></font></div>
<div><font size="1"><span style="color:rgb(255,0,0)"><b>======================================</b></span></font></div>
<div><font size="1"><b>Associate Researcher <br>
</b></font></div>
<div><font size="1"><b>Center for Remote Sensing, Bandung Institute of Technology<br>
</b></font></div>
<b><span style="background-color:rgb(255,255,255)"><span style="color:rgb(0,255,0)"><font size="1">+62 821 2193 5513</font></span></span></b></div>
<div><b><span style="background-color:rgb(255,255,255)"><font size="1">======================================</font></span></b></div>
<div><span style="background-color:rgb(255,255,255)"><font size="1"><b>
<div>Sinta ID = 6679166</div>
<div>Google Scholar ID = lzTlSHkAAAAJ</div>
<div>Scopus ID = 57210807769</div>
<div>ORCID iD = <a href="https://urldefense.us/v3/__https://orcid.org/0000-0003-1716-4063__;!!PvBDto6Hs4WbVuu7!N5bbYoWXLvmUr56TC1repC48OONvP7KNblSiaWThc8e90vHeqv8UHR4zXsXpTaBwK4uYQa5Py9x1sQo371feoAoY551jb4G9$" target="_blank">
https://orcid.org/0000-0003-1716-4063</a> </div>
</b></font></span></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
https://urldefense.us/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!N5bbYoWXLvmUr56TC1repC48OONvP7KNblSiaWThc8e90vHeqv8UHR4zXsXpTaBwK4uYQa5Py9x1sQo371feoAoY5w6rFRan$
<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>