Welcome, Guest
Username: Password: Remember me

TOPIC: Error link to MAXFRO - MAX NB OF BOUNDARIES (V7P1) in parallel mode

Error link to MAXFRO - MAX NB OF BOUNDARIES (V7P1) in parallel mode 6 years 4 months ago #30770

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 97
  • Thank you received: 5
Hi everyone,


I am facing a problem that I can not solve alone.
In PARALLEL MODE only, I get an error message about increasing the maximum number of boundaries.
Default value is obviously : 9000. I tried to change it using :

MAXIMUM NUMBER OF BOUNDARIES : 11000 (but in french ... and in english)

but it doesn't succeed.

I tried to run in sequential (not in parallel) and it works. But not in parallel :unsure:

What I tried to fix this problem :
- Change MAXFRO value in partel.f and partel_para.f
- Define MAXFRO=200000 in front2.f and telemac2d.f
- Delete front2.f and telemac2d.f

Nothing changes!


So I give you the error mesasge and my CAS file. I hope you could help me !

Thanks !


First, I have this error message :
THE INPUT FILE ASSUMED TO BE 2D
 THERE ARE            1  TIME-DEPENDENT RECORDINGS
 FRONT2: SIZE OF ARRAYS EXCEEDED
         INCREASE THE KEYWORD
         MAXIMUM NUMBER OF BOUNDARIES
         IN THE CALLING PROGRAM
         THE CURRENT VALUE IS         9000



 PLANTE: PROGRAM STOPPED AFTER AN ERROR
 RETURNING EXIT CODE:            2


My CAS file (Parallel):
/
/------------------------------------------------------------------------------------------------------------
/                      ENVIRONNEMENT INFORMATIQUE
/------------------------------------------------------------------------------------------------------------
/
FICHIER DES CONDITIONS AUX LIMITES  : './BC.cli'
FICHIER DE GEOMETRIE                : './Bottom.geo'
FICHIER DES RESULTATS               : './Resultat.res'
FICHIER DES FRONTIERES LIQUIDES     : './Discharge.txt'
FICHIER DU CALCUL PRECEDENT         : './ini.rep'
FICHIER DES COURBES DE TARAGE       : './QH.txt'
IMPRESSION DU CUMUL DES FLUX        : OUI
/
/------------------------------------------------------------------------------------------------------------
/                        OPTIONS GENERALES
/------------------------------------------------------------------------------------------------------------
/
/
VARIABLES POUR LES SORTIES GRAPHIQUES :'U,V,S,B,H,Q,
M,L,W,F,MAXV,MAXZ'
VARIABLES A IMPRIMER                  : ''
PAS DE TEMPS                          : 1.5
DUREE DU CALCUL                       : 255000
PERIODE POUR LES SORTIES GRAPHIQUES   : 600
PERIODE DE SORTIE LISTING             : 600
PROCESSEURS PARALLELES                : 12
NOMBRE MAXIMUM DE FRONTIERES        : 30000
/
/------------------------------------------------------------------------------------------------------------
/                    CONDITIONS INITIALES
/------------------------------------------------------------------------------------------------------------
/
/
CONDITIONS INITIALES : 'HAUTEUR NULLE'
SUITE DE CALCUL                       : OUI
REMISE A ZERO DU TEMPS                : OUI
/BRECHE =true
/
/------------------------------------------------------------------------------------------------------------
/                    CONDITIONS AUX LIMITES
/------------------------------------------------------------------------------------------------------------
/
LOI DE FROTTEMENT SUR LE FOND         : 3
COEFFICIENT DE FROTTEMENT             : 30
DEBITS IMPOSES          : 10;10;0;10;0;0;0;0;10
COTES IMPOSEES          : 0;0;204.9;0;196.5;195;193.5;191.5;0
COEFFICIENT DE DIFFUSION DES VITESSES             : 0.01
PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE     : 0.05
MODELE DE TURBULENCE                              : 1
COURBES DE TARAGE                         : 0;0;0;0;1;1;0;0;0
/
/------------------------------------------------------------------------------------------------------------
/                       OPTIONS NUMERIQUES
/------------------------------------------------------------------------------------------------------------
/
BANCS DECOUVRANTS                                 : OUI
BILAN DE MASSE                                    : OUI
PRECISION DU SOLVEUR                              : 1.D-8
FORME DE LA CONVECTION                            : 1;5
SOLVEUR                                           : 1
MASS-LUMPING SUR H                                : 1
MASS-LUMPING SUR LA VITESSE                       : 1
TRAITEMENT DU SYSTEME LINEAIRE                    : 2
PROFILS DE VITESSE                                : 4;4;1;4;1;1;1;4
COMPATIBILITE DU GRADIENT DE SURFACE LIBRE        : 0.8
TRAITEMENT DES HAUTEURS NEGATIVES                 : 2
CORRECTION DE CONTINUITE                          : OUI
OPTION DE SUPG                                    : 0;0;0;0
MAXIMUM D'ITERATIONS POUR LE SOLVEUR              : 500
IMPLICITATION POUR LA VITESSE                     : 1
IMPLICITATION POUR LA HAUTEUR                     : 1
&ETA
The administrator has disabled public write access.

Error link to MAXFRO - MAX NB OF BOUNDARIES (V7P1) in parallel mode 6 years 4 months ago #30840

  • riadh
  • riadh's Avatar
Hello

Sorry for this late reply

what kind of error do you get ?
can you send us a screenshot.

kind regards

Riadh
The administrator has disabled public write access.

Error link to MAXFRO - MAX NB OF BOUNDARIES (V7P1) in parallel mode 6 years 4 months ago #30860

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 97
  • Thank you received: 5
Hello,

Thanks for your answer riadh.
I finally found the solution, I hope it could help others people.

Error message :
CaptureERROR.png


I have learned that "MAXIMUM NUMBER OF BOUNDARIES" is a key word that can only be used in scalar mode (1 processor), for V7P1R1 and V7P2R0.

In parallal mode, we have to modify the parameter MAXFRO in "partel.f" and "partel_para.f" in TELEMAC folders.

C:\TELEMAC\v7p1r1\sources\utils\partel

Then, re-compile TELEMAC to update the value of MAXFRO
--> Open the cmd window of Telemac2d (V7P1R1 or V7P2R0) and enter the comand : compileTELEMAC.py
The administrator has disabled public write access.
Moderators: pham

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