WSL

Computing
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 […]

Read more
Computing
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 […]

Read more
Computing
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 […]

Read more
Computing
Installing NetCDF-Fortran using Intel oneAPI on Ubuntu 22.04 on WSL2

November 5, 2023: Installation environment is updated. Prerequisites It is assumed that Ubuntu 22.04LTS is installed on WSL2 on Windows 11 Pro; Intel oneAPI is installed as well. 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 introduec here in Japanese, but it is time consuming. Install GNU libraries with apt HDF5 (referenced here) and GNU version of NetCDF-C (libnetcdf-dev) and NetCDF-Fortran (libnetcdff-dev, refer to here) are installed as follows. libnetcdff-dev should not be installed as building Intel version failed. $ sudo apt update $ sudo apt install hdf5-tools hdf5-helpers libhdf5-dev libhdf5-doc libhdf5-serial-dev $ sudo […]

Read more
Computing
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 […]

Read more