Computing
Working on GitLab by mirroring open source model

Clone open source model to GitLab Taking an ocean model ROMS as an example, let's consider the best practice of operating the ROMS repositories by cloning (not forking) the original ROMS repository to GitLab, where the mirroring is set to automatically import the update of the original repository. Please refer to this article for the settings up to this point. I will create and operate my own devel branch to avoid changing the repository cloned from the original repository on GitLab. Now the remote repository is GitLab cloning (mirroring) the original ROMS repository; local repository is operated using GitBash on Windows 10 Pro and Git on Supercomputer ITO. Final workflow […]

Read more
Computing
Git for Windows

Install Install Git for Windows on Windows 10 Pro and manage version control with Git Bash. It is assumed that the compilation and execution will be done on Ubuntu 18.04 LTS on WSL on Windows 10 Pro. Therefore, the linefeed code should always be in Linux format. This linefeed code stuff is a trap for beginners, so be careful. Download Git for Windows from here and start installation by double-clicking. Basically, the default is OK, but in the question about line endings appearing nearly at the end (Configuring line ending conversions), click the third option below. This allows you to work while always maintaining the Linux linefeed code. Checkout as-is, […]

Read more
Computing
Using Markdown editor StackEdit on GSuite

StackEdit initial settings Our lab members use GSuite; it is convenient if README.MD is prepared in Markdown in a shared folder and can be viewed. This can be realized by StackEdit. Here and here (both in Japanese) are helpful. StackEdit is a browser-based (confirmed using Chrome) Markdown editor and can be used standalone. You do not need to register; access here, read the explanation, and start writing with START WRITING at the top. At first, the following Welcome to StackEdit document appears, the left is the manuscript in Markdown notation while the right is its display. There are Toggle explorer buttons in the upper left and upper right. As shown […]

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
Exporting PowerPoint slide images in high resolution

Saving in PNG is coarse in 96dpi When saving (exporting) images in PNG of PowerPoint slides of Microsoft Office 2016 on Windows 10 Pro, the output is in 96dpi by default; the resolution is too low as a graphic to be inserted into a paper or thesis. A method to increase the resolution was introduced in here. The method is common to any type of images, including PNG and JPEG. Edit Registry Editor Since it operates the registry editor, if you make a mistake, Windows may be damaged at worst. Close all running software and then work carefully. Right-click the "Start button", type regedit in the "Name box" of "Run", […]

Read more
Computing
Install Intel Parallel Studio XE for Linux 2020

Obtaining the installation package Intel Parallel Studio XE Composer Edition for Fortran and C ++ Linux on Ubuntu 18.04 LTS (WSL1 on Windows 10 Pro 64bit) is being installed. Its version is 2020 Update 1 (Build on March 26, 2020). It is assumed that a tgz file of full package has been downloaded from the license management site and is in an appropriate folder (directory). The default download folder on Windows 10 is C:\Users\username\Downloads (replace username). On Linux, it corresponds to /mnt/c/Users/username/Downloads. The size of this file is 1.7GB. WSL2 has already been released, but I installed it on Ubuntu 18.04 LTS of WSL1. The Intel compiler seems not to […]

Read more
Research Topics
On the status and mechanisms of coastal erosion in Marawila Beach, Sri Lanka

Research overview Coastal erosion has been a serious threat to the properties and livelihoods of coastal communities on the western coast of Sri Lanka. Since the cause of the erosion was not fully investigated, there were arguments over the selection of countermeasures among beach users. This study found that a decrease in sand supply from rivers was a main reason for the initiation of erosion in the 1980s. An increase in wave energy has become a main cause of coastal erosion since the 2010s. This study suggests the significance of integrated coastal erosion management for the sustainability of the coast and its users. Publication Ratnayakage, S. M. S., Sasaki, J., […]

Read more
Computing
Mounting G Suite Google drive on Windows PC

Background FApps has been introduced in the Graduate School of Frontier Sciences, the University of Tokyo. I was considering how to access data on the shared drive (formerly called team drive) of G Suite from a local Python code on Windows 10 Pro using PyDrive. However, it ended in failure. In addition, uninstalling PyDrive installed with conda also failed. Recently, I learned that there is a way to mount Google shared drive locally with Google Drive File Stream as a way to access the data on the shared drive. Google drive file stream Login with your FApps account and open Google Drive. There are My Drive and Shared Drive. Mounting […]

Read more
Computing
MATLAB on Supercomputer ITO

MATLAB can be used on Supercomputer ITO in GUI (Graphical User Interface) via X-Window or CUI (Command Line Environment). Online manual is here. You cannot install it on your local PC. Loading MATLAB To use MATLAB, your favorite version of MATLAB should be loaded. You can confirm whether it has been loaded using module list command. Available versions are R2019b, R2018a, or R2017a as on April 30, 2020. $ ulimit -v 31457280 $ module load matlab/R2019b $ module list Currently Loaded Modulefiles: 1) intel/2019.4 2) matlab/R2019b MATLAB in CUI CUI is reqcommended considering slow connection in GUI. CUI interactive interface can be invoked by the following: $ matlab -nodisplay It […]

Read more