May 2020

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