WSL
Change font color settings in Ubuntu terminal on WSL
I found it difficult to see some of the colors of the terminals on WSL2 Ubuntu 18.04LTS on Windows 10 Pro. So you can customize the text color. Install Windows Terminal Install from Microsoft Store. Register in the start menu. Start Windows Terminal Start Windows Terminal from the Start menu, then Windows PowerShell terminal will be launched. Click on the downward-facing symbol to the right of the "+" on the right of the tab to open the menu. Click on Settings in the menu, edit it (Append "colorScheme": "One Half Dark",) as follows: { "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}", "hidden": false, "name": "Ubuntu-18.04", "colorScheme": "One Half Dark", "source": "Windows.Terminal.Wsl" }, Color setting using […]
Making vim (vi) text color easier to see on WSL-Ubuntu
Comments in .bashrc hard to see I'm using WSL-Ubuntu session of MobaXterm on Ubuntu 18.04LTS on WSL, but when I open .bashrc with vi (vim), comments are hard to see. So make the text color easier to see. Referring to this site (in Japanese), let's introduce a color scheme of molokai to make it easier to see. Installing molokai Start a terminal, create vim's personal setting directory .vim in the home directory, install molokai, and open .vimrc using vi. $ mkdir .vim $ cd .vim $ mkdir colors $ git clone https://github.com/tomasr/molokai Cloning into'molokai'... remote: Enumerating objects: 148, done. remote: Total 148 (delta 0), reused 0 (delta 0), pack-reused 148 […]
HYCOM dataset usage
HYCOM Datasets In HYCOM Data Server, the results of HYCOM's global ocean flow field reproduction prediction results are available as a dataset. The two main ones are: They are Analysis and Reanalysis. The difference in contents is written in here. The items are the same for both, SSH (sea surface height), zonal velocity (east-west velocity), meridional velocity (north-north velocity), temperature (in-situ water temperature), and salinity. GOFS 3.1: 41-layer HYCOM + NCODA Global 1/12 ° Analysis Archive from July 2014 to the present. Details are here. Be careful that there are Missing days. GOFS 3.1: 41-layer HYCOM + NCODA Global 1/12 ° Reanalysis This is an archive every 3 hours from […]
Installing NetCDF-Fortran using Intel oneAPI on WSL2 Ubuntu 24.04
May 20, 2025: Installation environment is updated. Prerequisites It is assumed that Ubuntu 24.04L is installed on WSL2 on Windows 11 Home; Intel oneAPI is installed as well. However, due to updates to oneAPI, verification is being conducted with oneAPI-2025.1 installed. In oneAPI-2025.1, ifort and icc have been removed, and ifx and ifc are used instead. Builds NetCDF-Fortran, which is often required for Fortran-based models such as FVCOM. Referring to this article, libraries other than NetCDF-Fortran are easily installed with apt (compiled with GNU). How to compile NetCDF-C with Intel oneAPI is introduced here in Japanese, but it is time consuming. Install GNU libraries with apt HDF5 (referenced here) and […]
Install Intel Parallel Studio XE 2018 Composer on WSL Ubuntu on Windows10
I installed Inte Parallel Studio XE 2018 Composer on WSL Ubuntu on Windows 10. In November, 2017, I tried to install it as posted here (in Japanese), it was not successful. This time I successfully installed it on Windows 10 ver. 1803 issued in April, 2018. Installation Download [cci]Version 2018 (Update 2) March 21, 2018[/cci] from the license administration server in here and save it in an appropriate directory and extract it. Move to the extracted directory and invoke [cci]install_sh[/cci]. [cc lang="bash"] $ tar xf parallel_studio_xe_2018_update2_composer_edition_online.tgz $ cd parallel_studio_xe_2018_update2_composer_edition_online $ sudo ./install.sh [/cc] Just follow the instruction. Basically the default values are fine. After completing the installation, invoke a tool […]