FAQ
Installation
- Error message "make: *** [htcreatenc] Error 1" appears when I install H08.
- This error appears when the compiler fails to link the netcdf library with two programs: "htcreatenc" and "htputncts". It seems that the netcdf library and Fortran objective files conflict quite easily. There are two practical solutions:1) Just ignore, because these two programs are not indispensable to complete the standard simulation described in the "H08 Manual User's Edition". These programs are used to convert H08 formatted files (plain binary files) into netcdf files. 2) Install netcdf to your home directory (unless you are administrator) from the source, using a C compiler compatible to your Fortran compiler. For example, if you are using Intel Fortran Compiler (ifort), compile netcdf from the source with Intel C Compiler (icc).
- How can I install H08 on Ubuntu?
- Update your software
- % sudo apt-get update
- Install Imagemagick
- % sudo apt-get install Imagemagick
- Install gfortran
- % sudo apt-get install gfortran
- Install emacs (optional)
- % sudo apt-get install emacs
- Install H08 by following the manual.
- Install GMT
- %sudo apt-get install GMT
- Execute the command "pscoast"
- % pscoast
- If a message "pscoast: command not found" or a similar one appears on your screen, execute the command "GMT pscoast".
- % GMT pscoast
- If "GMT pscoast" works, open the file "$DIRH08/bin/htdraw" with editor software, and remove "#" on lines 15-20, and save.
- Similarly, edit "$DIRH08/bin/htdrawts" with editor software, and remove "#" of line 12-14, and save.
- Execute the command "htdraw"
- % htdraw
- If a message "shift: 18; can't shift that many" or a similar one appears on your screen, open the file "$DIRH08/bin/htdraw", and put a "#" ahead of "shift 9" (line 34). Then, following the comment of the shell script, change the arguments on lines 36-41. Finally, the script looks like below.
#shift 9 BIN=$10 CPT=$11 EPS=$12 TITLE1=$13 TITLE2=$14 OPT=$15
