GenericMappingTools / gmtserver-admin

Cache data and script for managing the GMT data server
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Install GMT on the gmt server #76

Closed PaulWessel closed 3 years ago

PaulWessel commented 3 years ago

I realize I cannot run my update_doi_age.sh on the server since it has no gmt installation. Seems like that should be fixed, no @seisman? This is CentOS-7. I am not sure what is the best approach here. We do not plan to do much cutting-edge-GMT work on this machine, so it could just have a relative recent GMT version from CentOS. What is the latest GMT on CentOS-7? As long as 6 or better I think that is OK. Shall I just follow our INSTALL instructions?

seisman commented 3 years ago

https://github.com/GenericMappingTools/gmt/wiki/Install-latest-GMT-on-RHEL-CentOS

You can install gmt 6.1.1 on centos following the above instructions.

PaulWessel commented 3 years ago

OK, and those yum calls do not require sudo, like for the others, like apt-get for Ubuntu?

seisman commented 3 years ago

sudo is still required.

PaulWessel commented 3 years ago

Thought so, just pointing out an inconsistency on the INSTALL page in that regard.

PaulWessel commented 3 years ago

yum config-manager --set-enabled PowerTools

Command line error: no such option: --set-enabled

PaulWessel commented 3 years ago
Loaded plugins: fastestmirror, langpacks
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
fs             Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts.
fssnapshot     Creates filesystem snapshots, or lists/deletes current snapshots.
groups         Display, or use, the groups information
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages
install        Install a package or packages on your system
langavailable  Check available languages
langinfo       List languages information
langinstall    Install appropriate language packs for a language
langlist       List installed languages
langremove     Remove installed language packs for a language
list           List a package or groups of packages
load-transaction load a saved transaction from filename
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repo-pkgs      Treat a repo. as a group of packages, so we can install/remove all of them
repolist       Display the configured software repositories
search         Search package details for the given string
shell          Run an interactive yum shell
swap           Simple way to swap packages, instead of using shell
update         Update a package or packages on your system
update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo     Acts on repository update information
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.
seisman commented 3 years ago

No, you're running the commands for CentOS 8 only.

For CentOS 7, you should run (with sudo):

yum install epel-release
yum install yum-plugin-copr
yum copr enable genericmappingtools/gmt
yum install gmt
PaulWessel commented 3 years ago

Sorry, I blame.... the chemo? Running well now, thanks.

PaulWessel commented 3 years ago

Hm, so the server has the full grids for the tiled grids:

ls -lh earth_age_01m_g.grd
-rw-r--r-- 1 pwessel gmt 188M Jul  3 14:23 earth_age_01m_g.grd

-bash-4.2$ ls -lh earth_age_01m_g    
total 28M
-rw-r--r-- 1 pwessel gmt  67K Jul  3 14:24 N00E000.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 306K Jul  3 14:24 N00E030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 528K Jul  3 14:24 N00E060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 175K Jul  3 14:24 N00E090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 676K Jul  3 14:24 N00E120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 554K Jul  3 14:24 N00E150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 588K Jul  3 14:24 N00W030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 854K Jul  3 14:24 N00W060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 368K Jul  3 14:24 N00W090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 503K Jul  3 14:24 N00W120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 468K Jul  3 14:24 N00W150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 523K Jul  3 14:24 N00W180.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  69K Jul  3 14:24 N30E000.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 9.5K Jul  3 14:24 N30E030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  764 Jul  3 14:24 N30E060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  764 Jul  3 14:24 N30E090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 130K Jul  3 14:24 N30E120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 485K Jul  3 14:24 N30E150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 466K Jul  3 14:24 N30W030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 755K Jul  3 14:24 N30W060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 173K Jul  3 14:24 N30W090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 7.8K Jul  3 14:24 N30W120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 471K Jul  3 14:24 N30W150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 457K Jul  3 14:24 N30W180.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 362K Jul  3 14:24 N60E000.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 139K Jul  3 14:24 N60E030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 140K Jul  3 14:24 N60E060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 200K Jul  3 14:24 N60E090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 145K Jul  3 14:24 N60E120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  60K Jul  3 14:24 N60E150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 514K Jul  3 14:24 N60W030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 149K Jul  3 14:24 N60W060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 106K Jul  3 14:24 N60W090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  28K Jul  3 14:24 N60W120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 128K Jul  3 14:24 N60W150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  78K Jul  3 14:24 N60W180.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 373K Jul  3 14:24 S30E000.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 673K Jul  3 14:24 S30E030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 888K Jul  3 14:24 S30E060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 627K Jul  3 14:24 S30E090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt  69K Jul  3 14:24 S30E120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 623K Jul  3 14:24 S30E150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 787K Jul  3 14:24 S30W030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 291K Jul  3 14:24 S30W060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 261K Jul  3 14:24 S30W090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 603K Jul  3 14:24 S30W120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 501K Jul  3 14:24 S30W150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 626K Jul  3 14:24 S30W180.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 911K Jul  3 14:24 S60E000.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 934K Jul  3 14:24 S60E030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 914K Jul  3 14:24 S60E060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 608K Jul  3 14:24 S60E090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 486K Jul  3 14:24 S60E120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 590K Jul  3 14:24 S60E150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 872K Jul  3 14:24 S60W030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 628K Jul  3 14:24 S60W060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 481K Jul  3 14:24 S60W090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 668K Jul  3 14:24 S60W120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 608K Jul  3 14:24 S60W150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 621K Jul  3 14:24 S60W180.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 246K Jul  3 14:24 S90E000.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 184K Jul  3 14:24 S90E030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 119K Jul  3 14:24 S90E060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 102K Jul  3 14:24 S90E090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 119K Jul  3 14:24 S90E120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 295K Jul  3 14:24 S90E150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 290K Jul  3 14:24 S90W030.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 272K Jul  3 14:24 S90W060.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 200K Jul  3 14:24 S90W090.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 228K Jul  3 14:24 S90W120.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 301K Jul  3 14:24 S90W150.earth_age_01m_g.jp2
-rw-r--r-- 1 pwessel gmt 390K Jul  3 14:24 S90W180.earth_age_01m_g.jp2

I wonder if this was accidental? The age files are unknown to GMT 6 or 5.4, and only we do not try to download the full 1x1 arc file anyway since our gmt_data_server says it is tiled. Must be an upload mistake and I should remove the tiled mastergrids.

PaulWessel commented 3 years ago

I have all those files in my staging directory so must have just copied over *.grd. For earth_relief I did not do that.

PaulWessel commented 3 years ago

OK, completed. GMT 6.1.1 installed, extraneous large grids of age deleted, and the 6m and up have had their remarks updated.

seisman commented 3 years ago

FYI, i also added sudo to the centos install instructions.

PaulWessel commented 3 years ago

Maria is still hoping to give us a 1x1m pixel grid as well but very busy with teaching the next few weeks...