A personal memorandum when I setup my laptop (Windows 11) in October 2022.
To setup H08 environment
To connect remote Linux servers
Install PuTTY
Install VcXsrv
Initially, an error message "plink unknown option -ssh" appeared. It seems plink.exe doesn't work properly. Overwrite C:\Program Files\VcXsrv\plink.exe with C:\Program Files\PuTTY\plink.exe
To setup local Linux environment
Install WSL (https://learn.microsoft.com/ja-jp/windows/wsl/install )
Only root account is created. Create my own account.
Install fundamental software for H08
% apt update
% apt install emacs
% apt install gfortran
% apt install imagemagick
% apt install gmt
Tips
imagemagick
[Problem] With the default setting, the conversion from eps to png does't work
[Solution] Following this information, comment out "<policy domain="coder" rights="none" pattern="{PS}" />" in /etc/ImageMagick/policy.xml.
GMT (General Mapping Tools)
[Problem] With the default setting, the coastline does not appear.
[Solution] Following this information, just install coastline data.
% apt install gmt-gshhg-high gmt-gshhg-low
X11
Following this information, set up your display for X11.
Install optional software for H08
netcdf fortran library
1) Install libnetcdff-dev
% su
% apt install libnetcdf-dev
2) Edit ${DIRH08}/adm/Mkinclude
% INC = -I/usr/include
% LIB = -L/usr/lib/x86_64-linux-gnu/ -lnetcdff
(NB: not “-lnetcdf” but “-lnetcdff”)
3) Compile ${DIRH08}/bin
% cd ${DIRH08}/bin
% make all
Others
R
Install R (install "C:\Users\xxxx" to avoid unnecessary troubles)
Install R Studio (install "C:\Users\xxxx" to avoid unnecessary troubles)
Set user environmental variable "R_USER" as "C:\Users\xxxx" (consult google how to do this)