Comments (4)
Well;
as the error message says the python module can not locate the underlying shared library libecl.so
- and why is that is not immediately clear to me. If you find the location of the libecl.so
file you can set the LD_LIBRARY_PATH
variable to point there:
export LD_LIBRARY_PATH=/path/to/libecl/library
That being said something was slightly broken with the 2017.10 version of the libecl packages. For Python and plotting with summaryplot
you can just download and build your own version; it is quite simple:
git clone [email protected]:Statoil/libecl
cd libecl
mkdir build ; cd build
cmake .. -DENABLE_PYTHON=ON -DCMAKE_INSTALL_PREFFIX=$HOME/libecl/install
make
make install
Then you can set PYTHONPATH=$HOME/llibecl/install/lib/python2.7/dist-packages
and things should work.
The Python bindings in the libecl distribution are quite well maintained, and generally work well. However the summaryplot
in opm-utilities is not equally well maintained; and you might have to make some changes there as well. I'd be happy to assist you.
For something more feature complete you could give Resinsight a try, that will also show 3D fields like pressure and saturations.
from resdata.
Or perhaps sudo make install
is simpler if you want to avoid path managing
from resdata.
Thank you so much for the guidance ! I followed the above mentioned set of instructions, but i now i am getting a new error:
ubuntu@ubuntu-xenial:~/opm-data-master/spe1$ python summaryplot WBHP:INJ WBHP:PROD WOPR:PROD WGPR:PROD WGIR:INJ SPE1CASE1.DATA
Menu: 'q' = quit, 'r' = reload plots
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "summaryplot", line 344, in summaryplotter
fig = pyplot.figure()
File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 527, in figure
**kwargs)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 84, in new_figure_manager
return new_figure_manager_given_figure(num, figure)
File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 92, in new_figure_manager_given_figure
window = Tk.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: no display name and no $DISPLAY environment variable
how can I fix this ?
Joakim,
I like ResInsight, but I am trying to automate the generation of graphs, so that with one command the system will display a list of graphs for me. Can ResInsight do something like that ?
from resdata.
Closing due to age. Looks like a Linux environment issue rather than anything in libecl.
from resdata.
Related Issues (20)
- Docs do not always render great HOT 1
- EclSum doesn't read network vectors HOT 2
- Bug in `_compile_headers_list`
- Crash in summary files from Eclipse 2023, double free or corruption HOT 3
- Some tests fail on python3.11 when running with test data onprem (Equinor)
- resdata and xtgeo seems to disagree on grdecl order
- Make c/c++ interface private
- pip install resdata error
- multisegment well - summary results HOT 2
- get_num_cpu hangs on empty SLAVES section HOT 1
- util_sscanf_int treats empty string as 0 without errors
- Well names starting with a digit will fail resdata HOT 1
- ResdataGrav.add_survey_FIP will segfault if add_std_density is not called for corresponding pvtnum
- rd_grav_survey_assert_RPORV has infinite loop if no init_porv > 0
- Reading non-complaint grdecl files
- Grid.get_global_index1F will segfault if there are no active fractures
- Adding a method which can read Region outputs
- Windows Python bindings HOT 1
- resdata uses setuptools attribute that does not exist HOT 5
- writing restart file from scratch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resdata.