Welcome, Guest
Username: Password: Remember me

TOPIC: compile with perl

compile with perl 10 years 2 months ago #14277

  • NHEILI
  • NHEILI's Avatar
Hello,
I need to install telemac with the script perl i follow the step in the documentation 'www.opentelemac.org/index.php/documentat...3/73-installwithperl' but i have problems.Can help me?
====================================================================
nheili@nheili:~/telemac_version/comperl/scripts/perl5$ makeall90



Ready for making System TELEMAC90
Automatic mode.



========== sources/utils/special :

===== Making : /home/nheili/telemac_version/comperl/sources/utils/special
Can't exec "maktel": No such file or directory at makeall90.pl line 81.
Can't exec "maktel": No such file or directory at makeall90.pl line 82.
===== /home/nheili/telemac_version/comperl/sources/utils/special : Error while running maktel install
============================================================================
The administrator has disabled public write access.

compile with perl 10 years 2 months ago #14278

  • jmhervouet
  • jmhervouet's Avatar
Hello Rafife,

This is probably a problem of path, maktel is a perl command in the directory .../V6P3/scripts/perl5 and this directory must be in the path. I enclose an example of source file that is executed every time I open a window on Linux, the second line changes the path to include this directory.

With kind regards,

Jean-Michel
The administrator has disabled public write access.

compile with perl 10 years 2 months ago #14279

  • jmhervouet
  • jmhervouet's Avatar
With file in the zip archive...
Attachments:
The administrator has disabled public write access.

compile with perl 10 years 2 months ago #14282

  • NHEILI
  • NHEILI's Avatar
Thank you M. Hervouet,
In the file systel.ini: How I can set up multiple versions and where i identify the path of metis.

Like in the systel.cfg when i use python script i do that for 4 versions;
[Configurations]
configs: sdot mpidot sdot2 mpidot2

and i have the key libs_partel: for the path metis.

Best regards
The administrator has disabled public write access.

compile with perl 10 years 2 months ago #14284

  • jmhervouet
  • jmhervouet's Avatar
Hello again,

In the file systel.ini you can configure as many versions as you want, then you select one with the variable HOSTTYPE at the beginning of the file. However in this case you must each time update the file cfgmak.cfg by executing the command cfgmak (after setting the correct variable SYSTELCFG). Actually I have several folders with different systel.ini files and use different source files (like the one I sent previously) for every one, so it directs the path to a different folder where cfgmak.cfg is already done once for all. When all this is done, I use only an alias command like nag70 or intel70 that puts me in the right configuration by sourcing the relevant file.
I hope it is clear, but if not, just ask...

Regards,

Jean-Michel
The administrator has disabled public write access.

run with perl 10 years 2 months ago #14305

  • NHEILI
  • NHEILI's Avatar
Hello,
Running Perl can not find the file telemac2d.dico, even though it is in its place, I can identify why! Do you have an idea?

============================================================================
nheili@nheili:~/telemac_version/comperl/examples/telemac2d/malpasset$ telemac2d t2d_malpasset-small.cas

=========================================================
Telemac System 5.6 to 6.2 - Perl scripts version 6.2
=========================================================
starting...

HOSTTYPE : gfortran_linux
PROJECT : /home/nheili/telemac_version/comperl
BASE DIRECTORY : /home/nheili/telemac_version/comperl/examples/telemac2d/malpasset
LAUNCH DIRECTORY : /home/nheili/telemac_version/comperl/examples/telemac2d/malpasset
WORK DIRECTORY : /home/nheili/telemac_version/comperl/examples/telemac2d/malpasset/t2d_malpasset-small.cas8296_tmp
PARAMETER FILE : t2d_malpasset-small.cas


*** Using CUSTOM configuration file :
/home/nheili/telemac_version/comperl/config/systel.ini ***



*** Using specific version v6p3 ***

________________________________________________________
ERROR : unable to find the dictionary :
'/home/nheili/telemac_version/comperl/sources/telemac2d.dico'

________________________________________________________
Returning exit status 1

=========================================================
Telemac System 5.6 to 6.2 - Perl scripts version 6.2
=========================================================
...stopping.

nheili@nheili:~/telemac_version/comperl/examples/telemac2d/malpasset$

============================================================================

Best Regards
The administrator has disabled public write access.

run with perl 10 years 2 months ago #14306

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You need to put the good version number in your .sh file (RELTEL) and in the .ini file (At the beginning of the file for each module).

If you are using the latest stable version it should be v6p3.
If you are using the trunk it should be v7p0.

Hope it helps.
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.
The following user(s) said Thank You: NHEILI
Moderators: borisb

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