Welcome, Guest
Username: Password: Remember me

TOPIC: Problem compiling trunk version in ubuntu

Problem compiling trunk version in ubuntu 6 years 11 months ago #28350

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Hello,

I have been trying to compile the trunk version in ubuntu 16.04, but after several attempts I haven't managed to do it.

The procedure I follow unsuccessfully for the trunk version, but successfully for the versions v7p2r2 and v7p2r3, is this:
  1. Install python
  2. Install Numpy
  3. Install gfortran on Linux
  4. Install All Dependencies
  5. Download Telemac. using the command svn co svn.opentelemac.org/svn/opentelemac/trunk/ ~/telemac/trunk --username ot-svn-public --password telemac1*
  6. Modify bashrc settings
  7. Install Metis
  8. Copy the Config File systel.ubuntu.cfg into the configs folder of telemac
  9. compile TELEMAC. Using the comand compileTELEMAC.py
  10. compile TELEMAC
(Details of this procedure can be found here in the pdf attached, and it was taken from this post)

Everything seems to be fine until I try to compile (10th step), even if I exclude mascaret and nestor it will not compile.

Screenshotfrom2017-12-0614-04-06.png


Maybe it is my .cfg file? Does anyone have an idea why this doesn't work and/or how to compile the trunk in ubuntu?

File Attachment:

File Name: Installationtelemactrunklinux.pdf
File Size: 53 KB

File Attachment:

File Name: systel.ubuntu.cfg
File Size: 3 KB

File Attachment:

File Name: consoleoutput.txt
File Size: 313 KB



Thanks in advance,



Sebastian
The administrator has disabled public write access.

Problem compiling trunk version in ubuntu 6 years 11 months ago #28352

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
It seems api module needs nestor module so if you remove nestor module you should propably also remove api module...

Regards
Christophe
The administrator has disabled public write access.

Problem compiling trunk version in ubuntu 6 years 11 months ago #28354

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
Thanks for your answer c.coulet,

I tried removing api and it didn't work either. Here is the console output.

File Attachment:

File Name: output.txt
File Size: 314 KB


Note that the compilation error here is the same as before KeyError: 'nestor'. What is more strange, this error keeps arriving no matter what module I exclude from the compilation.

I tried excluding sysiphe, which I don't need for the time being. But then it crashed for telemac3d, and later for telemac2d, but this last one is crucial for my work so I am stuck here.

Best regards,


Sebastian
The administrator has disabled public write access.

Problem compiling trunk version in ubuntu 6 years 11 months ago #28355

  • jescobar
  • jescobar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 22
  • Thank you received: 2
I managed to solve it. Don't know exactly what the problem was but after doing this it worked:
  • Installed some dependencies that where missing
	      python-scipy
	      python-matplotlib
              dialog
	      cmake

  • Included the following lines in the cfg file

  • 	      incs_all:
                  incs_api:       -I /usr/lib/openmpi/include/



    File Attachment:

    File Name: systel.ubuntu_2017-12-06.cfg
    File Size: 3 KB
    The administrator has disabled public write access.
    Moderators: borisb

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