Hi,
*Concerning the python problem:*
Ubuntu/debian had two incompatible python versions (2.* and 3.*) during
some time. Just use python3 command instead of python:
*python3 summaryplot WBHP:INJ WBHP:PROD WOPR:PROD WGPR:PROD WGIR:INJ
SPE1CASE1.DATA*
Or install the mentioned package:
sudo apt-get install python-is-python3
After that using python should also work.
*Concerning libecl-dev*
the package that is in Ubuntu seems to be something completely different
from what we meant our website. The one in Ubuntu is titled: "
Embeddable Common-Lisp: development files and has nothing to do with OPM.
So I guess if Lisa can run the script then libecl is not needed and you
can ignore the error when installing it. You definitely should not need
to upgrade your system.
Cheers,
Markus
On 17.07.24 12:59, Lisa Julia Nebel wrote:
Hello Emmanuel,
cool that you could install the python packages! :)
Regarding libecl-dev: I have a debian 12 machine and also a Ubuntu
22.04.4 LTS machine, for both this package is available. I suggest you
either try to install libecl-dev from here:
https://packages.debian.org/sid/libdevel/libecl-dev or upgrade to
22.04 (or even to 24.04).
Alternatively you can install ResInsight
(https://resinsight.org/getting-started/download-and-install/build-instructions-ubuntu/).
Best regards,
Lisa
On 7/17/24 12:35, Ndip Ojong Emmanuel wrote:
Hi Lisa. Thank you so much for reaching out to help.
The version of Ubuntu I use is Ubuntu 20.04.1 LTS
Exactly. You understand the problem, but even using the commands you
sent above didn't work for me. I have attached some screenshots of
the error messages to this email.
So the problem has not been solved.
Error messages below.
E: Unable to locate package libecl-dev ( I get this when trying to
install the libecl)
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3 ( I get this when I
type the command "*python summaryplot WBHP:INJ WBHP:PROD WOPR:PROD
WGPR:PROD WGIR:INJ SPE1CASE1.DATA")*
**
*I would be happy if you could help me further to find a solution. *
Ndip Ojong Emmanuel
On Wed, 17 Jul 2024 at 08:43, Lisa Julia Nebel
<[email protected]> wrote:
Hello Emmanuel,
first of all: sorry for not getting back to you earlier, I saw
you wrote an email already yesterday, and I had a look yet
yesterday I was busy.
You mean this here? https://opm-project.org/?page_id=197&page=6
<https://opm-project.org/?page_id=197&page=6>
On my system, the command
*sudo apt-get install python-ecl python-numpy python-matplotlib
libecl-dev
*did not work, so I did
*sudo apt install libecl-dev
**pip install ecl numpy matplotlib
*and then
*python summaryplot WBHP:INJ WBHP:PROD WOPR:PROD WGPR:PROD
WGIR:INJ SPE1CASE1.DATA
*worked.
Does that possibly already solve your question?
If not: What error are you getting?
Best regards,
Lisa
On 7/17/24 07:56, Markus Blatt wrote:
Dear Patricia,
very cool that you are using OPM. I have a dear friend who is
also from Cameroon. Great to meet you guys.
We will try to look into this.
Unfortunately, we often do not find the necessary time to
maintain all the scripts in
https://github.com/OPM/opm-utilities/, which is a bit of a
shame, but there is just so much important work to do and always
so little time.
The same holds for the tutorials that you found/used. "My first
reservoir simulation" <https://opm-project.org/?page_id=197>
<https://opm-project.org/?page_id=197> seems to not have been
updated for some years.
What system is your student using (e.g. Ubuntu 22.04 or the
likes)? If he is using Ubuntu, he might be able to easily
install ResInsight, see Resinsight Installation instructions for
Ubuntu
<https://resinsight.org/getting-started/download-and-install/linux-installation/>
<https://resinsight.org/getting-started/download-and-install/linux-installation/>.
That software is rather powerful and many people use it on a
day-day basis Even those not using OPM for simulation. You can
easily plot summary curves with it.
Kind regards,
Markus
On 17.07.24 03:06, Patricia Carreras wrote:
Hello all,
Ndip, a master's student from Cameroon cc in this email, is
having trouble to install the Python script called Summary Plot
necessary to generate X-Y plots (OPR vs time, OPT vs time,
etc.). It seems that he is installing it, but it is not
working. He can visualize grid plots with no problem.
My questions:
* Is it mandatory to install the Phyton script to be able
to visualize the X-Y plots (unsmry)?
* Any clues about why the script or the installation might
not be working?
* Any other guidance that you might provide?
He is really in a hurry to have the graphical software working
because he is planning to use OPM-Flow for his thesis.
Thank you so much for any help that you might provide.
Kind regards.
Patricia Carreras
_______________________________________________
Opm mailing list [email protected]
To unsubscribe send an email [email protected]
--
Markus Blatt |https://de.linkedin.com/in/markusblatt
CEO @ OPM-OP AS, Oscars gate 27, 0352 Oslo, Norway
https://opm-op.com | +4916097590858
_______________________________________________
Opm mailing list -- [email protected]
To unsubscribe send an email to [email protected]