Welcome, Guest
Username: Password: Remember me

TOPIC: error in linking

error in linking 12 years 11 months ago #3253

  • tannycke
  • tannycke's Avatar
Hello

I try to launch a simulation with artemis, but there is a problem with linking. I work with V6P1, intel fortran and widows7. here is the problem :


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

HOSTTYPE : wintel32s
PROJECT : C:\opentelemac\wintels
BASE DIRECTORY : C:\simulations\BP\agitation
LAUNCH DIRECTORY : C:\simulations\BP\agitation
WORK DIRECTORY : C:\simulations\BP\agitation\para_2905648_tmp
PARAMETER FILE : para_290


*** Fichier de configuration SPECIFIQUE :
C:\opentelemac\wintels\config\systel.ini ***



*** ARTEMIS sur STATION ***


*** Lancement en interactif ***


*** VERSION v6p1 ***

________________________________________________________
Fichier des parametres : para_290
________________________________________________________

________________________________________________________
Starting execution: artemis.bat
________________________________________________________
- FICHIER FORTRAN : borh_290.f
______________________________________________________________________________
*** COMPILATION ***

ifort.exe /c /O2 /iface:cref /iface:nomixed_str_len_arg /nologo /names:upperc
ase /convert:big_endian /extend_source:132 /include:C:\opentelemac\wintels\art
emis\arte_v6p1\wintel32s /include:C:\opentelemac\wintels\bief\bief_v6p1\wintel32
s /include:C:\opentelemac\wintels\damocles\damo_v6p1\wintel32s /include:C:\opent
elemac\wintels\paravoid\paravoid_v6p1\wintel32s /include:C:\opentelemac\wintels\
special\special_v6p1\wintel32s artfort.f
______________________________________________________________________________
*** BIBLIOTHEQUES ***

- C:\opentelemac\wintels\artemis\arte_v6p1\wintel32s\artemisv6p1.lib
- C:\opentelemac\wintels\bief\bief_v6p1\wintel32s\biefv6p1.lib
- C:\opentelemac\wintels\damocles\damo_v6p1\wintel32s\damov6p1.lib
- C:\opentelemac\wintels\paravoid\paravoid_v6p1\wintel32s\paravoidv6p1.lib
- C:\opentelemac\wintels\special\special_v6p1\wintel32s\specialv6p1.lib

*** EDITION DE LIENS ***

xilink: executing 'link'
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

/stack:536870912
/subsystem:console
/incremental:no
/stack:536870912
/nodefaultlib:libc.lib
/out:out5648_wintel32s.exe
artfort.obj
C:\opentelemac\wintels\artemis\arte_v6p1\wintel32s\artemisv6p1.lib
C:\opentelemac\wintels\bief\bief_v6p1\wintel32s\biefv6p1.lib
C:\opentelemac\wintels\damocles\damo_v6p1\wintel32s\damov6p1.lib
C:\opentelemac\wintels\paravoid\paravoid_v6p1\wintel32s\paravoidv6p1.lib
C:\opentelemac\wintels\special\special_v6p1\wintel32s\specialv6p1.lib
biefv6p1.lib(solve.obj) : error LNK2019: symbole externe non rÚsolu _PRE4_MUMPS
rÚfÚrencÚ dans la fonction _SOLVE
out5648_wintel32s.exe : fatal error LNK1120: 1 externes non rÚsolus
ERREUR A L'EDITION DE LIEN

________________________________________________________
Execution terminee: artemis.bat
________________________________________________________




Thanks a lot for your help !!
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3255

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
This is a configuration problem
The mumpsvoid library isn't declare in the library list
Have a look in the systel.ini file (if you use perl) and update the variable libmumpspar and libmumpsseq.

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: tannycke

Re: error in linking 12 years 11 months ago #3257

  • tannycke
  • tannycke's Avatar
hello

thanks a lot, I done this before but there was a declaration missing. Now it works
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3259

  • tannycke
  • tannycke's Avatar
hello,

in fact, it doesn't work. Whan I lauch artemis, this message appears : 'out420_wintel32s.exe a cessé de fonctionner'. I don't know why...


In the command board there is :
*****************************
* ALLOCATION DE LA MEMOIRE *
*****************************



READGEO1 : TITRE= C:\simulations_telemac\/portouest_test.MAT


NOMBRE D'ELEMENTS: 51323
NOMBRE REEL DE POINTS: 26477
MXPTEL (BIEF) : NOMBRE MAXIMUM D'ELEMENTS VOISINS D'UN POINT : 8
NOMBRE MAXIMUM DE POINTS VOISINS D'UNPOINT : 8
CORRXY (BIEF) : PAS DE MODIFICATION DES COORDONNEES

MAILLAGE : MESH ALLOUE



****************************************
* FIN DE L'ALLOCATION DE LA MEMOIRE : *
****************************************

INBIEF (BIEF) : MACHINE NON VECTORIELLE (SELON VOS DONNEES)
STRCHE (BIEF) : PAS DE MODIFICATION DU FROTTEMENT


IL Y A 1 FRONTIERE(S) LIQUIDE(S) :

FRONTIERE 1 :
DEBUT AU POINT DE BORD 1098 , DE NUMERO GLOBAL 143
ET DE COORDONNEES : 588380.4 371835.2
FIN AU POINT DE BORD 1224 , DE NUMERO GLOBAL 1361
ET DE COORDONNEES : 586937.1 370802.1

IL Y A 1 FRONTIERE(S) SOLIDE(S) :

FRONTIERE 1 :
DEBUT AU POINT DE BORD 1224 , DE NUMERO GLOBAL 1361
ET DE COORDONNEES : 586937.1 370802.1
FIN AU POINT DE BORD 1098 , DE NUMERO GLOBAL 143
ET DE COORDONNEES : 588380.4 371835.2

===============================================================================

PERIODE 1/ 5 : 3.6040 SECONDES

dir 305 -> 320

DIRECTION 1/ 5 : -32.9940 DEGRES

PHBOR : IL Y A : 0 FRONTIERE(S) DE TYPE ONDE INCIDENTE
END PHBOR

SOUS-ITERATION NUMERO : 1

CNTPRE (ARTEMIS) : PRECONDITIONNEMENT DIAGONAL NON APPLIQUE (UN ELEMENT DIAGON
L DE LA MATRICE EST NEGATIF OU NUL)

RESOLUTION DU SYSTEME LINEAIRE (SOLVE)

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

- FICHIER DES RESULTATS : res_281

- res_281

________________________________________________________
Execution terminee: artemis.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
'.' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
## Error : System command failed for ./delete_para_2811128.bat :256
C:\simulations_telemac\annuelle\agitation>

Thanks a lot for your help
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3261

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
This time it's not linked to the source but to your computation.
I don't know artemis well but as it's indicate in the listing you've got a O or negative value in the matrix, and the direction is negative.
Maybe you could change the direction from -33 to 327.

Hope it's help
Christophe
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3263

  • tannycke
  • tannycke's Avatar
hello,

In telemac v6p0, there were the message " CNTPRE (ARTEMIS) : PRECONDITIONNEMENT DIAGONAL NON APPLIQUE (UN ELEMENT DIAGONA
L DE LA MATRICE EST NEGATIF OU NUL)" too but the simulation lauched.

may it be an error in the dico file ?

thank you
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3268

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You're right! CNTPRE just check the matrix and eventually avoid the diagonal scalling but it doesn't stop the computation.

It seems there is a problem durind the resolution (Solve).
Maybe you could add the DEBUGGER=1 keyword, in order to add some information in the listing.

It's strange taht you only have a message from windows that indicate the program interruption without any other information in telemac listing.

With the debugger option, you will see the run and check in which subroutine the program was when it stop.

Hope it's help
Christophe
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3271

  • tannycke
  • tannycke's Avatar

File Attachment:

File Name: PDS_bathy.zip
File Size: 637 KB

Hello,

I don't find any "debbuger" keyword in artemis...

Can you have a look to my steering file ? It may be a problem with my computer...

Thank you !
The administrator has disabled public write access.

Re: error in linking 12 years 11 months ago #3290

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
I made a test on my computer and i also have a problem
================================================================================

       PERIODE  1/ 5 :       3.6040 SECONDES

 dir 305 -> 320
 PHBOR : IL Y A :   0 FRONTIERE(S)  DE TYPE ONDE INCIDENTE
 END PHBOR

 SOUS-ITERATION NUMERO :   1

forrtl: severe (157): Program Exception - access violation
Image              PC                Routine            Line        Source

out4604_win64.exe  00000001400E2CBC  Unknown               Unknown  Unknown
out4604_win64.exe  000000014014A2D8  Unknown               Unknown  Unknown
out4604_win64.exe  00000001400D4D27  Unknown               Unknown  Unknown
out4604_win64.exe  0000000140094084  Unknown               Unknown  Unknown
out4604_win64.exe  0000000140083C92  Unknown               Unknown  Unknown
out4604_win64.exe  000000014007BD8C  Unknown               Unknown  Unknown
out4604_win64.exe  00000001400757BC  Unknown               Unknown  Unknown
out4604_win64.exe  000000014005CCBF  Unknown               Unknown  Unknown
kernel32.dll       0000000076EFF56D  Unknown               Unknown  Unknown
ntdll.dll          0000000077033021  Unknown               Unknown  Unknown
 Duree du calcul : 1 secondes ( 0:0:1 ) (systeme=0.015 sec)
______________________________________________________________________________

Tha access violation means a memory problem but it's not simple to find where in the code ... but
I check the model works without fortran file so i suppose the problem is in it. Maybe you give a wrong index in a vector and this exceed the size of this vector...
Or maybe it's linked to the message boundary with incident wave. When i omit the fortran file Ihave 1 boundary with incident wave.

Hope it's helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: tannycke

Re: error in linking 12 years 11 months ago #3295

  • tannycke
  • tannycke's Avatar
hello !

you were right ! I had an error in my fortran file.

Thank you very much !
The administrator has disabled public write access.

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