Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac with gfortran on ubuntu

Telemac with gfortran on ubuntu 12 years 10 months ago #3465

Hi,
Sorry for this long post but I feel I am doing something in a wrong way, probably with gfortran compiler options, and other things as well...

I am a student learning Telemac2D and I have tried to install Telemac at home using the last version on my ubuntu 11.04 station.

I followed the instruction using python compilation / installation scripts using gfortran-4.5.

I have been able to compile the whole Telemac project with both gfortran and openMpi tools.

I have benn in trouble with running Telemac2D in all cases and comparing my results with our Windows version installed at university:

1/ With the sequential configuration (without openmpi), I had a problem reading the discharge-rate file (fichier des courbes de tarages) : the simulation stopped while reading the file with en error code 2 (no problem on windows at university).
As a work-around I modified the read_fic_curves.f file, line 67 in order to avoid stopping the read instruction with error instruction code.

2/ With openmpi configuration : the run stop with a message expecting to read 72 characters somewhere (in the steering file) but there is a first segmentation fault while partitioning the grid.

3/ With the sequential configuration : the simulation run is quite slow on my computer with respect to the university one. I am surprised as my computer is an HP-xw6400 workstation with 4 intel xeon processors and 4gBytes of RAM memory. It runs faster at universiy with older intel dual core stations on windows

Thank you very much for any help or advise

Alain
The administrator has disabled public write access.

Re: Telemac with gfortran on ubuntu 12 years 10 months ago #3466

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

My first advice would be for you to upgrade to gfortran 4.6 -- you will need to recompile the whole of the system and before that the metis libraries too.

About the Metis library, pleae make sure you use the before-last version (4.x and not 5.x) -- there is another post on this forum about it.

Last but not least, please make sure that your ASCII files (such as your linquid file) are converter from windows to linux/unix formatting (end charaters are different). Also remember that all SELAFIN files are bid-endian (Blue Kenue should now save big-endian by default).

Hope this helps.

Sébastien.
The administrator has disabled public write access.
The following user(s) said Thank You: agauthier

Re: Telemac with gfortran on ubuntu 12 years 10 months ago #3486

Hi Sébastien,

Thank you for your your advices, I got some results.

- I have had no time to install and compile with gfortran 4.6 and staid to gfortran 4.5.
- With Metis v4 instead of v5 and parallel configuration, telemac2d runs now without error.

Reading a discharge rate file remains a problem, with linux or windows formatting character.
So I still use the workaround as mentioned in my first post.

Best regards

Alain
The administrator has disabled public write access.

Re: Telemac with gfortran on ubuntu 12 years 10 months ago #3517

Hello,
At the end I understood the problem I got with reading the discharge rate file.

On linux, at home but also at the university, it is necessary to add a line starting with a comment character '#' in order to be able to read the file without any error.

So all my problems are solved.

Alain
The administrator has disabled public write access.

Re: Telemac with gfortran on ubuntu 12 years 10 months ago #3518

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Very pleased to hear this -- Good luck and keep us up to date with your work and publications.

Sébastien.
The administrator has disabled public write access.
Moderators: pham

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