Welcome, Guest
Username: Password: Remember me

TOPIC: Reading error in validation procedure (bumpflu)

Reading error in validation procedure (bumpflu) 13 years 9 months ago #1112

  • jchauchat
  • jchauchat's Avatar
Dear all,

We have compiled Telemac on linux with gfortran. It works quite well but we have a problem with the validation procedure.

We have done the bumpflu test case and we get the following error:
================================================================================
                          PROCEDURE DE VALIDATION 
 --------------------------------------------------------------------------------

  1) RELECTURE DU FICHIER DE REFERENCE :
  --------------------------------------



 TITRE DU CAS PRECEDENT: TELEMAC 2D : ECOULEMENT FLUVIAL SUR UN OBSTACLE$                        

 NOM: VITESSE U         UNITE: M/S             
 NOM: VITESSE V         UNITE: M/S             
 NOM: HAUTEUR D'EAU     UNITE: M               
 NOM: SURFACE LIBRE     UNITE: M               
 NOM: FOND              UNITE: M               
 NOM: FROUDE            UNITE:                 
 NOM: DEBIT SCALAIRE    UNITE: M2/S            
 NOM: HAUTEUR EXACTE    UNITE: M               
 NOM: VITESSE EXACTE    UNITE: M/S             
 NOM: SURFACE EXACTE    UNITE: M               
 NOM: FROUDE EXACT      UNITE:                 
 LIT : FIN DE FICHIER ANORMALE
 ON VOULAIT LIRE UN
 ENREGISTREMENT DE     72 VALEURS
 DE TYPE : CH
 SUR LE CANAL :     22



 PLANTE : ARRET DU PROGRAMME APRES ERREUR
 Returning exit code:            2
6.09user 0.32system 0:12.95elapsed 49%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+1272minor)pagefaults 0swaps
 Duree du calcul : 13 secondes ( 0:0:13 ) (systeme=0 sec)

We have also tested to validate two output files of the same run obtained on the same computer and we get the same error !!!!!

If someone have a solution concerning this problem we are interested in.

Regards,

J. Chauchat
The topic has been locked.

Re:Reading error in validation procedure (bumpflu) 13 years 9 months ago #1113

  • jmhervouet
  • jmhervouet's Avatar
Hello Julien,

We already had this problem recently with a new version of Intel compiler on Linux. It could be we have a weakness in subroutine suite_serafin.f in library BIEF. In fact the file is read once to get the number of records correctly written. Then there is a REWIND to read it again. It is after that REWIND that there is an error when reading the title again (in subroutine skipgeo.f). So it is like the REWIND does not work.
However installations of gfortran do work on Linux, so it can probably be solved by a compiler option.
We still look for a possible solution and keep you posted.

Regards,

Jean-Michel
The topic has been locked.

Re:Reading error in validation procedure (bumpflu) 13 years 9 months ago #1118

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
We have compiled TELEMAC with gfortran on Ubuntu (one of our vritual computer for automated validtaion of the system). We do not seem to have this problem. The bumpflu test case also works in parallel.

If it helps, here are the three command line options:

Creating obejcts:
gfortran -c -O3 -ffixed-line-length-132 -fconvert=big-endian -frecord-marker=4 ...
Creating libs:
ar cru ...
Creating executables:
gfortran -fconvert=big-endian -frecord-marker=4 -v -lm -lz -o ....

For the parallel verison you need to add the -lpthread to the executable commande.

Hope this helps.
Sébastien.
The topic has been locked.

Re:Reading error in validation procedure (bumpflu) 12 years 9 months ago #3614

  • jchauchat
  • jchauchat's Avatar
Hello

We were able to reproduce the problem with the release v6p1 and the same compiler (gfortran 4.1.2). After upgrading the compiler to version 4.4.6 the reading problem of selafin files has been corrected.

So if you encounter this problem look at your gfortran compiler version ;-)

J. CHAUCHAT
The topic has been locked.

Re: Reading error in validation procedure (bumpflu) 12 years 9 months ago #3615

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Thank you for confirming ! We will make this a requisite for TELEMAC.

Glad it helped.

Sébastien.
The topic has been locked.
Moderators: borisb

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