Welcome, Guest
Username: Password: Remember me

TOPIC: can not run telemac2d between 2 PCs

can not run telemac2d between 2 PCs 13 years 2 months ago #2512

  • mtayel
  • mtayel's Avatar
hello,
telemac2d can run correctlz with one machine bz using 1,2,.... processors on the same machine.
the problem arise when trz to run telemac2d between two machines
following is the error

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

HOSTTYPE : wintel32s
PROJECT : C:\TELEMAC\V6P1
BASE DIRECTORY : T:\MERSEY_TESTCASE
LAUNCH DIRECTORY : T:\MERSEY_TESTCASE
WORK DIRECTORY : T:\MERSEY_TESTCASE\cas.txt4044_tmp
PARAMETER FILE : cas.txt


*** Using CUSTOM configuration file :
C:\TELEMAC\V6P1\config\systel.ini ***



*** Using GLOBAL MPI configuration file :
C:\TELEMAC\V6P1\install\wintel32s\mpi_telemac.conf ***


*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE v6p1 ***

________________________________________________________
Steering file : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
______________________________________________________________________________
*** DEFAULT PARALLEL EXECUTABLE ***

C:\TELEMAC\V6P1\telemac2d\tel2d_v6p1\wintel32s\telemac2dv6p1_MP.exe
______________________________________________________________________________
*** ALLOCATION OF USER FILES ***

- STEERING FILE : cas.txt
- DICTIONARY : telemac2dv6p1.dico

- GEOMETRY FILE : geo
(split for 6 processors)
- BOUNDARY CONDITIONS FILE : cli.txt

(split for 6 processors)
- REFERENCE FILE : ref
(split for 6 processors)
______________________________________________________________________________
*** MPI MACHINE ***
MPI machine ok (with 6 processors).
______________________________________________________________________________
*** RUNNING ***

MPI launcher : mpiexec -logon mpirun.txt
User credentials needed to launch processes:
account (domain\user) [HYKU31\Endnote-PC]: HYKU31\Mohamed
password:
launch failed: CreateProcess(mpirun.txt) on 'Hyku31' failed, error 193 - (null)
Duration of job : 25 seconds ( 0:0:25 ) (system=0 sec)
______________________________________________________________________________
*** FILES DELIVERY ***

- RESULTS FILE : mersey.res
ERROR : RESTITUTION FILE mersey.res
________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
Der Befehl "." ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
## Error : System command failed for ./delete_cas.txt4044.bat :256

T:\MERSEY_TESTCASE>

thanks
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 2 months ago #2521

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
This is a mpi problem.
check the MPI installation on all machines.
With mpiconfig you should check that MPI is corectly installed and could see the other computer.

Good luck
Christophe
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 2 months ago #2523

  • mtayel
  • mtayel's Avatar
Thanks and my pleasure for your help
I have checked the mpi configuration between the 2 pcs Hyku31 and Hyku75 but still the same error appear when try to use Telemac2d
i have mapped also the path of c:\telemac to T on Hyku31 and the path of c:\telemac to T on Hyku75
attached the result of running mpiexc between the 2 pcs using the cpi.exe example bundeled with mpich2 which run perfectly
attached also the configuration file for mpi with telemac and systel.ini
Thanks
Attachments:
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 2 months ago #2525

  • mtayel
  • mtayel's Avatar
sorry uploaded the rest of files
thanks
Attachments:
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 2 months ago #2526

  • mtayel
  • mtayel's Avatar
here is the content of my configuration file
#________________________________________________________
#Configuration de la machine MPI pour le calcul TELEMAC
#
#
# Nombre de processeurs :
24
#
# Pour chaque host :
#
# nom_du_host nombre_de_processeurs_sur_ce_host
#
Hyku31 3
Hyku75 3


thanks
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 2 months ago #2530

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
OK
I look precisely the containt of your error message.
The problem comes from mpirun.txt which seems to be considered by mpiexec as your program which should run in parallel.
I don't remember exactly the lines in mpirunt.txt but maybe this is the launcher which is wrong
Have a look on the options (just run mpiexec) and try with -file or -configfile.

Hope this helps
Christophe
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 2 months ago #2531

  • mtayel
  • mtayel's Avatar
hello,
i correct the systel.ini file on both pcs and run the cfgmak command the mpiexe work but another error appear due to the repeatation of the path to creat the process (please see the attacjhed error.txt).

so i tried to run the mpiexec with the following command
mpiexec -hosts 2 Hyku31 3 Hyku75 3 out4988_wintel32s.exe
but another error appear (please see the end part of error.txt)which aleardy discussed in the following topic

www.opentelemac.org/index.php?option=com...96&Itemid=62&lang=en

as you described i put the p_ini.f in a fortran file and compiled it during the run but the same error appear

thanks for your effort and help
Attachments:
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 1 month ago #2585

  • joysanyal21
  • joysanyal21's Avatar
Hi,

I have got the exactly same error. I started a thread (www.opentelemac.org/index.php?option=com...74&Itemid=62&lang=en).

I tried all sort of things, even with the 6.0 version to make it work on multiple PCs. It just doesn't work.

If you get a solution for this please share with me.

Cheers,

Joy
The administrator has disabled public write access.

Re: can not run telemac2d between 2 PCs 13 years 1 month ago #2586

  • mtayel
  • mtayel's Avatar
hello,
i am still stuck on the same problem
i want to ask about something in the runcod.pl

my $s1="$REPLANCE";
if ( ($UNCPATH eq "oui") && ($TM_UNCPATH ne "") )
{ $s1 =~s/^[A-Za-z]:/$TM_UNCPATH/; }

the variable s1 is used only in version 6.1 and not used in version 6.0
to build the path to the exe file
version 6.0 : print F2 "exe $REP$ps$EXEFILE\n";
but in version 6.1 : print F2 "exe $s1$ps$REP$ps$EXEFILE\n";
so the path is repeated in version 6.1

i want to ask about the following
is there an option in telemac2d called -uncpath?
is there relation between running telemac in parallel mode and the variable TM_UNCPATH in runcode.pl?
thanks
The administrator has disabled public write access.
Moderators: borisb

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