Welcome, Guest
Username: Password: Remember me

TOPIC: Problems to compile on W7 64 bit - Intel - Perl

Problems to compile on W7 64 bit - Intel - Perl 12 years 6 months ago #4534

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all,

I am using Telemac for a while but I never managed to compile the system properly. I now need to get a little bit more into detail with Fortran files, I tried again to compile it, but I still face some problems.
It would be great if someone could give me some tips...

Information:
Machine : W7-64 bit with Intel (wintelmpi's Telemac version installed). Perl scripts.
I have modified maktel (in the bin directory) with the second option (s* -> s2) according to sebourban's tips (www.opentelemac.org/index.php?option=com...48&Itemid=89&lang=fr)
I have copied NMAKE.exe available in the dowanload section (even though only for g95, as it seems) into the bin folder (this file is not on my machine)

With such configuration, when launching "makeall90" in cmd window from the bin directory, the compilation does not run properly, and i have the following message "'ifort.exe' is not recognized as an internal or external command, operable program or batch file."

I then tried to copy several "intel" files (list: ifort.exe, fortcom.exe, FNP_Act_Installer.dll, xilib.exe et xilink.exe") into the bin folder. Compilation seemed then a little bit more proper, but still with some error messages : "xilib: executing 'lib'
xilib: error #10037: could not find 'lib'
NMAKE : fatal error U1081: 'C:\Windows\system32\cmd.exe' : program not found
Stop."

This has been my final try...

When launching a t2d computation with a fortran file, i have the following message:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
C:\opentelemac\test.fr\malpasset>telemac2d -s cas.txt

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

HOSTTYPE         : wintelmpi
PROJECT          : C:\opentelemac\v6p1\wintelmpi
BASE DIRECTORY   : C:\opentelemac\test.fr\malpasset
LAUNCH DIRECTORY : C:\opentelemac\test.fr\malpasset
WORK DIRECTORY   : C:\opentelemac\test.fr\malpasset\cas.txt4816_tmp
PARAMETER FILE   : cas.txt


*** Using CUSTOM configuration file :
    C:\opentelemac\v6p1\wintelmpi\config\systel.ini ***



*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE v6p1 ***

________________________________________________________
Steering file   :      cas.txt
________________________________________________________
________________________________________________________
Output file        :      cas.txt4816_sortie.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
 - FORTRAN FILE                                     : princi.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\v6p1\wintel
mpi\telemac2d\tel2d_v6p1\wintelmpi /include:C:\opentelemac\v6p1\wintelmpi\sisyph
e\sisyphe_v6p1\wintelmpi /include:C:\opentelemac\v6p1\wintelmpi\tomawac\toma_v6p
1\wintelmpi /include:C:\opentelemac\v6p1\wintelmpi\bief\bief_v6p1\wintelmpi /inc
lude:C:\opentelemac\v6p1\wintelmpi\special\special_v6p1\wintelmpi /include:C:\op
entelemac\v6p1\wintelmpi\damocles\damo_v6p1\wintelmpi /include:C:\opentelemac\v6
p1\wintelmpi\paravoid\paravoid_v6p1\wintelmpi t2dfort.f
______________________________________________________________________________
*** LIBRARIES ***

 - C:\opentelemac\v6p1\wintelmpi\telemac2d\tel2d_v6p1\wintelmpi\telemac2dv6p1.li
b
 - C:\opentelemac\v6p1\wintelmpi\sisyphe\sisyphe_v6p1\wintelmpi\sisyphev6p1.lib
 - C:\opentelemac\v6p1\wintelmpi\tomawac\toma_v6p1\wintelmpi\tomawacv6p1.lib
 - C:\opentelemac\v6p1\wintelmpi\bief\bief_v6p1\wintelmpi\biefv6p1.lib
 - C:\opentelemac\v6p1\wintelmpi\special\special_v6p1\wintelmpi\specialv6p1.lib
 - C:\opentelemac\v6p1\wintelmpi\damocles\damo_v6p1\wintelmpi\damov6p1.lib
 - C:\opentelemac\v6p1\wintelmpi\paravoid\paravoid_v6p1\wintelmpi\paravoidv6p1.l
ib
 - C:\opentelemac\v6p1\wintelmpi\mumpsvoid\mumpsvoid_v6p1\wintelmpi\mumpsvoidv6p
1.lib

*** LINKING ***

xilink: executing 'link'
xilink: error #10037: could not find 'link'
ERROR : DURING LINKING

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
Compilation/linking/file errors detected.
Please see messages in: stdout above, stderr,
       and/or file C:\opentelemac\test.fr\malpasset\cas.txt4816_error.log
No execution errors detected.

Working directory: C:\opentelemac\test.fr\malpasset\cas.txt4816_tmp
can be manually deleted with: C:\opentelemac\test.fr\malpasset\delete_cas.txt481
6.bat

Returning exit status 1

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


C:\opentelemac\test.fr\malpasset>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I thought a new problem might be the libraries, but my LIBMUMPSPAR and LIBMUMPSSEQ variables in the systel.ini file are correctly defined (and cfgmak has been run).

If someone has some tips, it would be much appreciated...

Thanks in advance for your help,
PL
The administrator has disabled public write access.

Re: Problems to compile on W7 64 bit - Intel - Perl 12 years 6 months ago #4539

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Please stop to do anything.
You don't have to use nmake with Intel Fortran. You don't have to copy some files in the bin. This will never allow you to properly compile telemac.

If you installed Intel well, you have a specific command windows in which some parameters are automatically set up according to your configuration (this was already written in some post!).

In this specific windows, ifort is recognized as well as xilink and nmake.

So please read the intel fortran user manual carefully. This will allow you to have a full version of telemac which run well.

Regards
Christophe
The administrator has disabled public write access.
Moderators: borisb

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