Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac2D V7p2 in parallel

Telemac2D V7p2 in parallel 6 years 2 months ago #31541

  • myousef
  • myousef's Avatar
Hi there,

I am new to Telemac2D (version v7p2) and would like to use the parallel mode to speed up the computation time. I am using a Windows 7 PC.

I have referred to the manual (Section: 15. PARALLELISM), and my understanding is that the default setting of Telemac2D is to run with a single processor.

The manual also mentions the parallel input command for Telemac2D: telemac2d.py –s --ncsize=4 txt.cas, where 4 is the number of processors to be used in the simulation.

I ran it, and I waited for a few hours but nothing happened, and when I checked, the temporary file there was no update. However, in the screenshot attached, in the end, it states the file name: out_telemac2d.exe

When I clicked on the file, it opened, a new window and the simulations started. Is this the correct way to run some processors in parallel? I used eight processors; however, I believe there is something I am missing here because it took longer than one processor only.

Any help is greatly appreciated.

Thank you
M Yousef
Attachments:
The administrator has disabled public write access.

Telemac2D V7p2 in parallel 6 years 2 months ago #31543

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
you didn't register your account with mpiregister so mpi wait for a login/password but you didn't see the message because the launch is made by the script...
regards
Christophe
The administrator has disabled public write access.

Telemac2D V7p2 in parallel 6 years 2 months ago #31561

  • myousef
  • myousef's Avatar
Hi there,

Thank you for the reply.

Can you please advise me on how to go about it?

Many thanks!
The administrator has disabled public write access.

Telemac2D V7p2 in parallel 6 years 2 months ago #31562

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
use mpiregister
Christophe
The administrator has disabled public write access.

Telemac2D V7p2 in parallel 6 years 2 months ago #31563

  • myousef
  • myousef's Avatar
Hi again,

I managed to do it, just in case someone else runs into the same issue in the future, here are the steps I followed:

In a cmd window type the following commands:
1. smpd -install
2. mpiexec -remove
3. mpiexec -register (with your windows login username and password)
4. run simulation in parallel
The administrator has disabled public write access.

Telemac2D V7p2 in parallel 6 years 1 month ago #31709

Hi everyone,

Please could they help me, Because I have a problem when I running TELEMAC-2D I am not sure maybe is the meshing.
Please explained what happen.

Thank you
... modifying run command to MPI instruction

... modifying run command to PARTEL instruction

... partitioning base files (geo, conlim, sections, zones and weirs)
    +>  /opt/opentelemac/v7p2r2/builds/cengfimpi/bin/partel < PARTEL.PAR >> partel_T2DGEO.log
runPartition:
   |runPARTEL: Could not split your file T2DGEO (runcode=1) with the error as follows:
   |      
   |... The following command failed for the reason above (or below)
   |/opt/opentelemac/v7p2r2/builds/cengfimpi/bin/partel < PARTEL.PAR >> partel_T2DGEO.log
   |
   |      You may have forgotten to compile PARTEL with the appropriate compiler directive
   |        (add -DHAVE_MPI to your cmd_obj in your configuration file).
   |
   |Here is the log:
   |  
   |
   | +-------------------------------------------------+
   |
   |   PARTEL/PARRES: TELEMAC METISOLOGIC PARTITIONER
   |
   |                                                    
   |
   |   REBEKKA KOPMANN & JACEK A. JANKOWSKI (BAW)
   |
   |                  JEAN-MICHEL HERVOUET (LNHE)
   |
   |                  CHRISTOPHE DENIS     (SINETICS) 
   |
   |                  YOANN AUDOUIN        (LNHE) 
   |
   |   PARTEL (C) COPYRIGHT 2000-2002 
   |
   |   BUNDESANSTALT FUER WASSERBAU, KARLSRUHE
   |
   |  
   |
   |   METIS 5.0.2 (C) COPYRIGHT 2012 
   |
   |   REGENTS OF THE UNIVERSITY OF MINNESOTA 
   |
   |  
   |
   |   BIEF V7P2R0 (C) COPYRIGHT 2012 EDF
   |
   | +-------------------------------------------------+
   |
   |  
   |
   |  
   |
   |   MAXIMUM NUMBER OF PARTITIONS:       100000
   |
   |  
   |
   | +--------------------------------------------------+
   |
   |  
   |
   | --INPUT FILE NAME <INPUT_NAME>: 
   |
   | INPUT: T2DGEO
   |
   | --INPUT FILE FORMAT <INPFORMAT> [MED,SERAFIN,SERAFIND]: 
   |
   |  INPUT: SERAFIN 
   |
   | --BOUNDARY CONDITIONS FILE NAME: 
   |
   | INPUT: T2DCLI
   |
   |--NUMBER OF PARTITIONS <NPARTS> [2 -100000]: 
   |
   |  INPUT:          160
   |
   |  PARTITIONING METHOD <PMETHOD>                         [1 (METIS) OR 2 (SCOTCH)]: 
   |
   | --INPUT:            1
   |
   | --CONTROL SECTIONS FILE NAME (OR RETURN) : 
   |
   |  NO SECTIONS 
   |
   | --CONTROL ZONES FILE NAME (OR RETURN) : 
   |
   |  NO ZONES 
   |
   | --WEIR FILE NAME (OR RETURN) : 
   |
   |  NO WEIRS 
   |
   | --GEOMETRY FILE NAME <INPUT_NAME>: 
   |
   | INPUT: T2DGEO
   |
   | --GEOMETRY FILE FORMAT <GEOFORMAT> [MED,SERAFIN,SERAFIND]: 
   |
   |  INPUT: SERAFIN 
   |
   | +---- PARTEL: BEGINNING -------------+
   |
   |  - FILE    T2DGEO OF TYPE BIG_ENDIAN   
   |
   |  - FILE    T2DGEO IS SINGLE PRECISION 
   |
   |
   |
   |
   |
   | READ_MESH_INFO: TITLE= created with pputils                                                    
   |
   |            NUMBER OF ELEMENTS:    15362
   |
   |            NUMBER OF POINTS:     8032
   |
   |
   |
   |            FORMAT NOT INDICATED IN TITLE
   |
   |  
   |
   |  
   |
   | ONE-LEVEL MESH.
   |
   | NDP NODES PER ELEMENT:                    3
   |
   | ELEMENT TYPE :                           10
   |
   | NPOIN NUMBER OF MESH NODES:            8032
   |
   | NELEM NUMBER OF MESH ELEMENTS:        15362
   |
   |  
   |
   | THE INPUT FILE ASSUMED TO BE 2D
   |
   | THERE ARE            1  TIME-DEPENDENT RECORDINGS
   |
   |
   |
   | THERE IS     2 LIQUID BOUNDARIES:
   |
   |
   |
   | BOUNDARY    1 : 
   |
   |  BEGINS AT BOUNDARY POINT:      346 , WITH GLOBAL NUMBER:       377
   |
   |  AND COORDINATES:     34.83800           42.52300    
   |
   |  ENDS AT BOUNDARY POINT:      378 , WITH GLOBAL NUMBER:       409
   |
   |  AND COORDINATES:     25.86800           39.27400    
   |
   |
   |
   | BOUNDARY    2 : 
   |
   |  BEGINS AT BOUNDARY POINT:      669 , WITH GLOBAL NUMBER:         1
   |
   |  AND COORDINATES:    -24.00400           15.17000    
   |
   |  ENDS AT BOUNDARY POINT:        1 , WITH GLOBAL NUMBER:        33
   |
   |  AND COORDINATES:    -25.54200           5.694000    
   |
   |
   |
   | THERE IS     2 SOLID BOUNDARIES:
   |
   |
   |
   | BOUNDARY    1 : 
   |
   |  BEGINS AT BOUNDARY POINT:        1 , WITH GLOBAL NUMBER:        33
   |
   |  AND COORDINATES:    -25.54200           5.694000    
   |
   |  ENDS AT BOUNDARY POINT:      346 , WITH GLOBAL NUMBER:       377
   |
   |  AND COORDINATES:     34.83800           42.52300    
   |
   |
   |
   | BOUNDARY    2 : 
   |
   |  BEGINS AT BOUNDARY POINT:      378 , WITH GLOBAL NUMBER:       409
   |
   |  AND COORDINATES:     25.86800           39.27400    
   |
   |  ENDS AT BOUNDARY POINT:      669 , WITH GLOBAL NUMBER:         1
   |
   |  AND COORDINATES:    -24.00400           15.17000    
   |
   |  THE MESH PARTITIONING STEP STARTS
   |
   | BEGIN PARTITIONING WITH METIS
   |
   |  RUNTIME OF METIS    0.00000000      SECONDS
   |
   |  THE MESH PARTITIONING STEP HAS FINISHED
   |
   | ERROR IN BOUNDARIES J=           8
   |
   | WHILE NPTFR_P(I)=           7
   |
   | WHILE L=           7
   |
   |
   |
   |
   |
   |
   |
   | PLANTE: PROGRAM STOPPED AFTER AN ERROR
   |
   | RETURNING EXIT CODE:            2
The administrator has disabled public write access.

Telemac2D V7p2 in parallel 6 years 1 month ago #31714

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
We need the mesh to investigate
Regards
Christophe
The administrator has disabled public write access.
Moderators: pham

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