Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

add ESMF #47

Closed
alaniwi opened this issue Nov 18, 2015 · 4 comments
Closed

add ESMF #47

alaniwi opened this issue Nov 18, 2015 · 4 comments

Comments

@alaniwi
Copy link
Contributor

alaniwi commented Nov 18, 2015

As requested by a user (far too long ago...) and now required for cf-python

Source at:

http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_6_3_0rp1/esmf_6_3_0rp1_src.tar.gz

Docs at:

http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_6_3_0rp1/ESMF_usrdoc/
http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_6_3_0rp1/ESMF_refdoc/

Licence text for inclusion:

 Earth System Modeling Framework

Copyright 2002-2014, University Corporation for Atmospheric Research,
Massachusetts Institute of Technology, Geophysical Fluid Dynamics Laboratory,
University of Michigan, National Centers for Environmental Prediction, Los
Alamos National Laboratory, Argonne National Laboratory, NASA Goddard Space
Flight Center.  Licensed under the University of Illinois-NCSA License.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
with the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

    Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimers.

    Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimers in the documentation
    and/or other materials provided with the distribution.

    Neither the names of , nor the names of its contributors may be used to
    endorse or promote products derived from this Software without specific
    prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH
THE SOFTWARE. 
@alaniwi
Copy link
Contributor Author

alaniwi commented Nov 18, 2015

Some instructions relevant to potentially including ESMF in a source build of NCL could possibly be relevant to the ESMF build itself. See #43

@alaniwi
Copy link
Contributor Author

alaniwi commented Nov 18, 2015

Instructions from Andy:

"cf-python needs a specific version of ESMF as that's the one that they have bug-fixed the Python interface in. I installed it yesterday at Reading without issue and have appended the instructions for this."

  • Download
cd /usr/local/src
git archive --remote=git://git.code.sf.net/p/esmf/esmf --format=tar --prefix=esmf/ ESMF_7_0_0_beta_snapshot_57 | tar xf -
  • Fortran install
cd esmf
export ESMF_DIR=`pwd`
make
make all_tests
  • Python install
cd src/addon/ESMPy
python2.7 setup.py build --ESMFMKFILE=/usr/local/src/esmf/lib/libO/Linux.gfortran.64.mpiuni.default/esmf.mk
python2.7 setup.py install

@alaniwi
Copy link
Contributor Author

alaniwi commented Nov 19, 2015

Now built and tested. (Fiddly!) It was not really designed to be installable into a temporary location other than the final destination, as is required by the RPM build process, so various ad-hoc fixes were needed. Built on mpich. Need to build another version on top of platform-MPI, for use on Lotus.

@alaniwi alaniwi mentioned this issue Nov 19, 2015
@alaniwi
Copy link
Contributor Author

alaniwi commented Dec 4, 2015

Platform_mpi version now built as esmf-lotus and tested. Needed to disable some autoreq dependencies because of issues with the platform_mpi RPM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant