Welcome, Guest
Username: Password: Remember me

TOPIC: Compiling on Ubuntu 18.10

Compiling on Ubuntu 18.10 5 years 8 months ago #33051

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi,

Yes I am able to run python, both 2.7 and 3.
Attached you will see the screenshot.
Attachments:
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33054

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

I'm not fully sure about the python27 version, maybe too high.
What is the result of python compileTELEMAC.py in the script folder?

Could you try to downgrade python27. I'm sure it works with 2.7.14

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Mustermann

Compiling on Ubuntu 18.10 5 years 8 months ago #33060

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi again,

That actually works. Now I just get an error with my config file
Key root required non empty field

Not entirely sure about that. I attached my config file which I use.
Attachments:
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33061

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
I think you should give a value to sfx_exe
regards
Christophe
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33062

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
I never had a value there and it worked without problems.
Could it need root access since Intel compilers are globally installed?
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33082

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi again,

since I never had something at sfx_exe I am not sure what to put there. The attached .cfg worked fine on my old system.
Is there something else what could be wrong?

Thanks for help.
Attachments:
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33098

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
I just tried to compile without using Intel compilers but gnu8.
Strangely I get the same error which seems like the compilation is expecting a value for
root:

Attached are both .cfg files I tried to use.

This is the error I get with both of them
Scanning the source code for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    +> configuration: ubugfmpich

    +> parallel mode, using mpiexec directly (of the MPICH2 package).
    |  The only difference with the scalar versions (optimised) is the presence
    |  of the key mpi_cmdexec and the -DHAVE_MPI compilation directive.
    |  Of course, you also need the key par_cmdexec.
    |  Finally, note that this configuration also works whether
    |  processor is 0 or 1.

    +> root:          
    +> modules:       system


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Key root required non empty field 

The sfx_exe: seems not to be the problem, since it is empty in all linux based .cfg files and just defined as .exe in the Windows config file.

What could be the reason for my error?

I appreciate any help, thanks in advance.

Regards
Attachments:
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33157

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Is there nobody who could help me with this problem?
Please let me know what I could change so that I will be able install TELEMAC on my system.

Thank you so much and best regards,
Clemens
The administrator has disabled public write access.

Compiling on Ubuntu 18.10 5 years 8 months ago #33158

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

You can try doing either:
- setting the environment variable HOMETEL to the path of your installation
- adding the option -r <path> with the path to your installation to compileTELEMAC.py
- adding root: <path> in your systel.cfg file

one of those should do the work.
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.

Compiling on Ubuntu 18.10 5 years 8 months ago #33159

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi Yugi,

thanks for helping. I could compile now, but the compilation comes up with an error.
compileTELEMAC::main:
      +> creating executable: splitsel:
   |createExeFiles: something went wrong, I am not sure why (runcode=1).
   |      
   |... The following command failed for the reason above (or below)
   |/opt/intel/impi/2019.2.187/intel64/bin/mpif90 -convert big_endian -o /home/clemens/Telemac/v8p0r1/builds/ubuimpi/bin/splitsel pair.o splitsel.o  /home/clemens/Telemac/v8p0r1/builds/ubuimpi/lib/bief4splitsel.a /home/clemens/Telemac/v8p0r1/builds/ubuimpi/lib/hermes4splitsel.a /home/clemens/Telemac/v8p0r1/builds/ubuimpi/lib/special4splitsel.a  /opt/intel/impi/2019.2.187/intel64/lib/libmpich.so ~/Telemac/v8p0r1/optionals/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a

First I thought it might be that issue but it seems not to the same problem.

How could I solve my problem, since I do not really have a clue what this error tries to tell me.
The administrator has disabled public write access.
Moderators: borisb

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