forked from ESGF/esg-publisher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
45 lines (32 loc) · 1.54 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#*****************************************************************
# Copyright (c) 2009 Larence Livermore National Security (LLNS)
# Produced at the Lawrence Livermore National Laboratory
# All rights reserved.
#*****************************************************************
#
# Description: Installation instructions for software products
# (See the documentaton in the "docs" directory for
# more detailed information)
#
#*****************************************************************
INSTALL:
This installer for the esgf publisher is intended to run on an existing esgf data node.
Additional prerequisites:
* The meta_synchro.py script has the additional dependency of the pysolr library.
* The handler module for CMIP6 requires CMOR, its dependencies, and CF checker.
1) as root:
source /etc/esg.env - needed to run commands using the correct version of python for esgf.
2) (CMOR)
(a) Download uuid hosted here: http://aims1.llnl.gov/nm-cfg/uuid-1.6.2.tar.gz
./configure --prefix=/usr/local/uvcdat/2.2.0/Externals
make
make install
(b) git clone https://github.com/PCMDI/cmor.git
git checkout cmor-3.1.2
./configure --prefix=/usr/local/cmor --with-uuid=/usr/local/uvcdat/2.2.0/Externals --with-netcdf=/usr/local/uvcdat/2.2.0/Externals --with-udunits2=/usr/local/uvcdat/2.2.0/Externals
3)
cd src/python/esgcet
./setup.py install
4) [optional]: easy_install pysolr
5) (CMOR) when running the publisher:
export UDUNITS2_XML_PATH=/usr/local/uvcdat/2.2.0/Externals/share/udunits/udunits2.xml