Welcome, Guest
Username: Password: Remember me

TOPIC: Strange MPI error

Strange MPI error 12 years 3 months ago #5205

  • bouanan.aissa
  • bouanan.aissa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 1
Hello,

I just installed TELEMAC on a new Win7 x64 machine. I installed MPICH2 ver 1.4.1p1.
When launching the "malpasset" test model with 1 proc --> it's ok. But when going on parallel (say two proc.) I have the following message @the end :

****************************************************************************
Starting execution: telemac2d.bat
________________________________________________________
- FICHIER FORTRAN : princi.f
______________________________________________________________________________
*** EXECUTABLE LOCAL ***

princi_win64_MP_v6p1.exe

______________________________________________________________________________
*** ACQUISITION DES FICHIERS ***

- FICHIER DES PARAMETRES : cas.txt

- DICTIONNAIRE : telemac2dv6p1.dico

- FICHIER DE GEOMETRIE : geo
(partitionne pour 2 processeurs)
- FICHIER DES CONDITIONS AUX LIMITES : cli.txt

(partitionne pour 2 processeurs)
- FICHIER DE REFERENCE : ref
(partitionne pour 2 processeurs)
______________________________________________________________________________
*** MACHINE MPI ***
Machine MPI ok (avec 2 processeurs).
______________________________________________________________________________
*** EXECUTION ***

lancement MPI : mpiexec -file mpirun.txt
launch failed: CreateProcess(c:\malpasset\c:\malpasset\cas.txt6060_tmp\out6060_w
in64.exe) on 'Calcul1' failed, error 2 - The system cannot find the file specifi
ed.

launch failed: CreateProcess(c:\malpasset\c:\malpasset\cas.txt6060_tmp\out6060_w
in64.exe) on 'Calcul1' failed, error 2 - The system cannot find the file specifi
ed.

Duree du calcul : 0 secondes ( 0:0:0 ) (systeme=0.015 sec)
______________________________________________________________________________
*** RESTITUTION DES FICHIERS ***

- FICHIER DES RESULTATS : res
ERREUR A LA RESTITUTION DU FICHIER res
________________________________________________________
Execution terminee: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
Returning exit status 0

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

******************************************************************

As you can see, the main path is written twice in mpirun.txt!
Any clue ?

Aissa
The administrator has disabled public write access.

Re: Strange MPI error 12 years 3 months ago #5206

  • riadh
  • riadh's Avatar
Hi Issa

I think that you have a problem with the path, because if you see the error message you can see clearly that "c:\malpasset\c:\malpasset\" is not a valid path. Thus MPI is not able to generate/use files that he needs.
I'm not able to help you more, I hope that Fabien or Christophe, will give further and deeper help.

With my best regards,
Riadh Ata
The administrator has disabled public write access.

Re: Strange MPI error 12 years 3 months ago #5207

  • bouanan.aissa
  • bouanan.aissa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 1
Indeed, I have a path pb. I copied the "malpasset" folder in the C:\ to check if I have the same pb again. I verified all the system variables without success.
Thank you for the message.

Aissa
The administrator has disabled public write access.

Re: Strange MPI error 12 years 3 months ago #5209

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hello Aissa
MPI configuration and run is sometimes quite boring on windows computer.
It's also not easy to give you a solution but you could check the following points:
- have a look into the mpirun.txt file
- use the -t option to let the temporary directory
- in the temp directory, try to launch manually the mpi process with the command mpiexec <parameters>

for the last point, you could try without using the mpirun.txt file. you could give all the parameters in the command line. (use mpiexec --help to have the full list of options).

Hope this helps

Best wishes
Christophe
The administrator has disabled public write access.

Re: Strange MPI error 12 years 3 months ago #5213

  • bouanan.aissa
  • bouanan.aissa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 1
HI Christophe,

Nice to hear from you, it's been a long time.
I'll give your hints a try and I'll be back.

Thank you guys, you're doing a great job :-)

Aissa
The administrator has disabled public write access.

Re: Strange MPI error 12 years 3 months ago #5214

  • bouanan.aissa
  • bouanan.aissa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 65
  • Thank you received: 1
Hello again,

I finally found the solution. I was running the model in a network instead of running it locally. A simple line modification in systel.ini and voila !

**************************************************************************
#- PC multiprocesseurs
RUN_MPI="mpiexec -localonly <N> <EXE>"
#- réseau de PCs
#RUN_MPI="mpiexec -file mpirun.txt"
#RUN_MPI="mpiexec -logon : -machinefile mpirun.txt -n <N> <EXE>"
#- PCs en réseau avec solution de connection simplifiee
#RUN_MPI="smpd -machinefile mpirun.txt"
***************************************************************************


Aissa,
The administrator has disabled public write access.
Moderators: pham

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