Hello;

When/if this: https://github.com/OPM/opm-autodiff/pull/417 is merged the 
opm-autodiff repository can run SPE1 as a regression test, the test code is 
based on the Python code in the ERT distribution.

Whether the ERT code should "build" and install the Python code depends on the 
setting BUILD_PYTHON. The BUILD_PYTHON setting previously defaulted to OFF - 
that has been changed to ON. To get Python support from ert:


1.       Fetch latest and greatest ert.

2.       Configure and make  ; make install.

You should then have a top level Python package ert under 
${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_PREFIX}. The variable 
${PYTHON_INSTALL_PREFIX} is set in the ERT build system - it defaults to 
lib/python${VERSION}/(site-packages|dist-packages). If you have gone the 
'all-default' route the Package should be in your PYTHONPATH and:

python -m ert.ecl.ecl_grid

should "just work"; if you have installed things in nonstandard locations you 
must update your PYTHONPATH variable:

PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_PREFIX}:$PYTHONPATH

The Python code in ert has seen less battle testing outside Statoil than the C 
code; but it is used quite extensively in Statoil and should be stable enough. 
Please ask if there are problems.

J


Joakim

RDI project with IT elements -> Contact R&D 
Toolbox<https://statoil.service-now.com/selfservice/catalog_item_detail.do?sysparm_document_key=sc_cat_item,78bfbbce6fb455001f6446916e3ee453>



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to