Welcome, Guest
Username: Password: Remember me

TOPIC: w7 64bit, problem with intel fortran

w7 64bit, problem with intel fortran 12 years 4 months ago #5089

  • AlexV
  • AlexV's Avatar
Hi,

I'm trying to install telemac with intel visual fortran compiler v11 on a W7, 64 bits machine with the python script.

First, i should say that the instalation WORKS with the g95 fortran compiler. But, as i want to later install the parallel option, i switch to intel fortran.

For now, i'm just trying to install the scalar version with ifort.

The beginning of the compilation works fine when the python scripts uses "ifort.exe" to create the .obj objects from the .f files.
When it comes to the execution of xilib.exe, i have a error, similar to the one in these posts :
post1
post2

So the error is for the line :
xilib.exe /nologo /out:c:\TELEMAC2\v6p1\telemac2d\tel2d_v6p1\wintels\telemac2dv6p1.lib .......[lots of .obj]
And the error message is :
xilib: executing ' lib'
xilib: error #10037: could not find ' lib'
xilib: error spwan_errno_default : spawn('c:\intel\composerXE-2011\bin\intel64\xilink.exe'> failed, errno=0


Thanks for any help.



My config file looks like this :
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs:    wintels
# _____                       ______________________________________
# ____/ windows intel scalar /_____________________________________/
[wintels]
#
root:       C:\TELEMAC2\v6p1
version:    v6p1
language:   2
modules:    update system
options:
#
cmd_obj:    ifort.exe /c /Ot /iface:cref /iface:nomixed_str_len_arg /nologo /names:uppercase /convert:big_endian /extend_source:132 <mods> <incs> <f95name>
cmd_lib:    xilib.exe /nologo /out:<libname> <objs>
cmd_exe:    xilink.exe /nologo /subsystem:console /stack:536870912 /out:<exename> <objs> <libs>
#
mods_all:   /include:<config>
#
val_dir:    validation
val_exe:
#
sfx_zip:    .zip
sfx_lib:    .lib
sfx_obj:    .obj
sfx_mod:    .mod
sfx_exe:    .exe

and my path :
C:\Intel\ComposerXE-2011\redist\intel64\mkl;C:\Intel\ComposerXE-2011\redist\ia32\mkl;%IFORT_COMPILER12%redist\intel64\mpirt;%IFORT_COMPILER12%redist\intel64\compiler;%IFORT_COMPILER12%redist\ia32\mpirt;%IFORT_COMPILER12%redist\ia32\compiler;%IFORT_COMPILER12%compiler\lib;c:\Python27;C:\Intel\ComposerXE-2011\bin\intel64;;C:\TELEMAC2\V6P1\bin;C:\TELEMAC2\V6P1\pytel
The administrator has disabled public write access.

Re: w7 64bit, problem with intel fortran 12 years 4 months ago #5093

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
In your path you have reference to 32 and 64 bits version of Intel Compiler, maybe that could create some confusion...
If you don't have to generate 32 bits version you could uninstall all the modules linked to the 32 bits version and just keep the 64 bits version.
For the python version of telemac, you just should have the path to pytel in your path, the bin directory is not mandatory...

On my computer (W7-64bits) i have similar configuration except i added /machine:X64 on the cmd_lib and cmd_exe lines...

Hope this helps

Regards
Christophe
The administrator has disabled public write access.

Re: w7 64bit, problem with intel fortran 12 years 4 months ago #5097

  • AlexV
  • AlexV's Avatar
Thanks for you answer.

I did clean my PATH and did try to add /machine:x64 to the cmd_lib and cmd_exe lines.

But i still have the same error.

I try under a dos command line (cmd) to just type "xilib.exe" and i have the same error.
So it's more likely a problem with my intel fortran installation, software i know nothing about.

I found this note on the intel's website :
software.intel.com/en-us/articles/intel-...-2011-release-notes/

More specificaly, thoses lines :
- To use command-line tools only to build Intel® 64 architecture applications, one of:
o Microsoft Windows Software Development Kit Update for Windows Vista*
o Microsoft Windows SDK for Windows 2008 and .NET Framework 3.5*

or
- To use the Microsoft Visual Studio development environment or command-line tools to
build IA-32 or Intel® 64 architecture applications, one of:
o Microsoft Visual Studio 2010* with C++ and “X64 Compiler and Tools”
components installed [1]
o Microsoft Visual Studio 2008* Standard Edition or higher with C++ and “X64
Compiler and Tools” components installed [1]
o Microsoft Visual Studio 2005* Standard Edition or higher with C++ and “X64
Compiler and Tools” components installed [1]
o Intel® Visual Fortran development environment based on Microsoft Visual Studio
2010 Shell (included with some license types of Intel® Fortran Compiler) [2]
o Intel® Visual Fortran development environment based on Microsoft


I will try to find a version of visual studio. For the "Microsoft Windows SDK for Windows 2008", i'm not sure what it is.

If i find the solution, i will tell the forum.
The administrator has disabled public write access.

Re: w7 64bit, problem with intel fortran 12 years 4 months ago #5100

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Yes that's logical
But Intel fortran composer XE 2011 is delivered with visual studio 2008.
That prabably means your installation was not fully achieved.

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

Re: w7 64bit, problem with intel fortran 12 years 3 months ago #5153

  • AlexV
  • AlexV's Avatar
Ok, I did solve my problem and succeded to compile TELEMAC with intel fortran (but it worked only for 32bits, no 64bits).

I had lots of issue with .lib files missing. All came from a bad intel compiler / visual studio configuration. I'm not sure why but i solved it by :
- following the procedure of the last post of this topic :
link
-installating 32bits version but not 64bits (still works fine on a 64bits machine)
- lauching the command prompt with the intel bat file (ipsxe-comp-vars.bat" ia32 vs2010"). The shortcut in the start menu "intel32 visual 32 mode" points directly to it (for my intel composer xe 2011 version);
- lauching the command prompt with "right click"-> "run as administrator".

Hope it will help someone one day.
The administrator has disabled public write access.

Re: w7 64bit, problem with intel fortran 12 years 3 months ago #5161

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Did you install VS before Compiler?
On my W7-64 bits computer, i installed the compiler and VS was installed at the same time (it's VS2008 for me) and everything goes well for telemac in 32 and 64 bits.
I just have to choose the right command windows in the start menu to use 32 or 64 bits. The command are similar to yours:
  • 32bits: ipsxe-comp-vars.bat" ia32 vs2008"
  • 64bits: ipsxe-comp-vars.bat" intel64 vs2008"

Could you give use some informations about the .lib which are missing?

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

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