Welcome, Guest
Username: Password: Remember me

TOPIC: Erreur a l'edition de lien

Erreur a l'edition de lien 13 years 3 months ago #2156

  • ntdon
  • ntdon's Avatar
Bonjour
Je suis tout nouveau utilisateur de Telemac. J'ai une version TelemacV6P0 pour etudiant. J'ai essaye de l'installer en suivant exactement le Installation de Telemac V6.0 sur Windows avec compilateur gratuit g95
Apres complation, a l'etape edition de lien, le logiciel preavis

g95: C:\TELEMAC\V6P0\special\special_v6p0\g95\specialv6p0.lib: No such file or directory
g95: C:\TELEMAC\V6P0\damocles\damo_v6p0\g95\damov6p0.lib: No such file or directory
g95: C:\TELEMAC\V6P0\paravoid\paravoid_\g95\paravoid.lib: No such file or directory

Je ne sais pas pourquoi, peut être la version que j'ai manque encore ces fichier bibliotheque.
Veuillez m'indiquer surpasser ce problem
Je vous merci beacoup
NTĐôn
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 3 months ago #2161

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

First of all, please write your message in English to allow most of the users to understand and answer to you.

There was no student version so which file did you try to install?

The message you had means the compilation step failed due tothe lack of some libraries.
If you try to make a full compilation that means the first step (the compilation of libraries) crash.
If you try to run a simulation (test case) with a fortran file, taht means the libraries are not avaialble so you should make a full compialtion of Telemac first.

Hope this helps
Christophe
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 2 months ago #2276

  • KingVu
  • KingVu's Avatar
Hello COULET,
I have same errors as NTDON, I complied the telemac successful. But when i tried to run one example, i have error as closed file.
Please help me to slove this problem.
Attachments:
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 2 months ago #2277

  • ntdon
  • ntdon's Avatar
Hi
In my opnion, you should return to the first step, recompile the full system V6P1, with changing the file maketel.f90
Best hope
NTDon
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 2 months ago #2282

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
=> @KingVu.

Indeed, there's a mistake in the [g95] section of the online systel.ini

As stated before in this thread, this linking error is due to the LIB_OPT_LIBEXT variable in the [g95] section. is You should try to remove spaces in LIB_OPT_LIBEXT:

LIB_OPT_LIBEXT=" lib " should be replaced by "[/i] by LIB_OPT_LIBEXT="lib"

Apply changes with cfgmak.

For example, LIB_OPT_LIBEXT in [gfortran] is ok.

We will update the systel.ini available online.

Regards,

Fabien
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 2 months ago #2516

  • ntdon
  • ntdon's Avatar
Thanks you very much :evil:
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 3 months ago #2191

  • ntdon
  • ntdon's Avatar
Hi
First of all I thank you for answering my enthusiasm. I have tried many times but the program is always the following error message.

Création de la librairie.
ar cruparavoidV6P0.lib errpvm.obj get_mpi_parameters.obj p_dmax.obj p_dmin.obj p_dsum.obj p_exit.obj p_imax.obj p_imin.obj p_init.obj p_iread.obj p_iread_c.obj p_isum.obj p_iwrit.obj p_iwrit_c.obj p_lsum.obj p_mail.obj p_mpi_address.obj p_mpi_address2.obj p_mpi_address3.obj p_mpi_alltoall.obj p_mpi_alltoallv.obj p_mpi_type_commit.obj p_mpi_type_extent.obj p_mpi_type_free.obj p_mpi_t
ype_lb.obj p_mpi_type_struct.obj p_mpi_type_ub.obj p_read.obj p_sync.obj p_wait_paraco.obj p_writ.obj build_global_bound.obj p_mpi_alltoallv_toma1.obj p_mpi_alltoallv_toma2.obj p_mpi_alltoallv_toma3.obj p_mpi_alltoallv_toma4.obj
ar: two different operation options specified
NMAKE : fatal error U1077: 'ar' : return code '0x1'
Stop.
===== C:\TELEMAC\V6P0/paravoid/paravoid_v6p0/sources_g95 : maktel install

I found the program did not create the library, I do not know what reason. Please help me.
Thanks
NTĐôn
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 3 months ago #2192

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hi,

1 - Can you confirm that you have updated your maktel.bat script in the bin directory? You have to uncomment the compiling sequence corresponding to g95 (default is for Intel compiler) :
nmake /f makefile.gfo %1 %2 %3

2 - LIB_NAM in [g95] is different than in [gfortran]. You should try to replace :

LIB_NAM=" ar "[/i] by LIB_NAM=ar

3 - You can also try to add some additional spaces in :

LIB_OPT_LIBEXT=" lib "
LIB_OPT_OUTNAME="cru "


Best regards,

Fabien Decung
The administrator has disabled public write access.
The following user(s) said Thank You: ntdon

Re: Erreur a l'edition de lien 13 years 3 months ago #2195

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Definitely the first point.

==> Please modify maktel.bat in the bin directory according to g95. Instructions are given in the file.
The administrator has disabled public write access.

Re: Erreur a l'edition de lien 13 years 3 months ago #2198

  • ntdon
  • ntdon's Avatar
Thanks all veru much.
I have tried yours guides and it seem run very well. :lol:
The administrator has disabled public write access.
Moderators: borisb

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