Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with anconda3

Problem with anconda3 3 years 11 months ago #37243

  • pok94
  • pok94's Avatar
Hello
I am using Ubuntu 18.04 LTS, I have the v8p0r0 version of telemac on my computer, following the installation of Anaconda3, when I run an example (bumpflu), it tells me that the ConfigParser module is not found, what would be the Solution? I don't know how to use telemac with python3, what should be changed?

Thank you for your help
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37244

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,


First I would recommend using v8p1r2 instead of v8p0r0 or at least v8p0r3. Python3 was experimental in v8p0 so the r3 might be more stable.

To use python3 you need to add <hometel>/scripts/python3 to your PYTHONPATH instead of <hometel>/scripts/python27 for python2.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37281

  • pok94
  • pok94's Avatar
Hello

So i install telemac v8p2r0, anaconda3 is uninstall, i try to compil with this command :
python3 /home/masterccce/telemac/v8p2r0/scripts/python3/compile_telemac.py


I have an error that I am attaching as an attachment

if you can see my config file because I don't know if it's correct.

Thank's for your time
Attachments:
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37286

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

That is a bug I will fix it in the trunk straight away.

To bypass the error you just need to add the following line
options:

in your systel.cfg file (under [general]).
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37307

  • pok94
  • pok94's Avatar
Hello
So I added this options line in my configuration file, I restarted the compilation and a new error message appears, any idea? in attachement

Thank's
Attachments:
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37310

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You are compiling with -DHAVE_MUMPS but you did not add any of the link to MUMPS.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37311

  • pok94
  • pok94's Avatar
Im sorry, can you explain how i can fix that
The administrator has disabled public write access.

Problem with anconda3 3 years 11 months ago #37314

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Either you remove -DHAVE_MUMPS in you cmd_obj.

Or you add:
incs_all: -I $MUMPSHOME/include
libs_all: -L $MUMPSHOME/lib -lmumps

Replacing $MUMPSHOME by the path to your mumps installation.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.