- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to compile an example furnished with ANSYS software, and I obtain the following message :
******************************************************************
This is the ANSYS Revision 120 RDRWRT batch file. It is
used to link the Reader/Writer programs to demonstrate reading
and writing ANSYS blocked binary files on the Windows 32-bit
systems.
This version uses the Intel Visual Fortran Compiler
******************************************************************
1 fichier(s) copi(s).
1 fichier(s) copi(s).
Intel Visual Fortran Compiler for applications running on IA-32, Version 10.1
Build 20080212 Package ID: w_fc_p_10.1.019
Copyright (C) 1985-2008 Intel Corporation. All rights reserved.
LINKING resrddemo.exe
Microsoft Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'
Microsoft Manifest Tool version 5.2.3790.2014
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
mt.exe : general error c10100b1: Failed to load file "resrddemo.exe". Le fichier
spicifii est introuvable.
compilation is run with the following *.bat file (extract) :
ifort -D__IFL -DNOSTDCALL -DARGTRAIL /Zp4 -DPCWINNT_SYS -DCADOE_ANSYS -Qfpp -Qopenmp -4Yportlib -4Ya /c /Fo.\ /DFORTRAN /MD /W0 /include:"%ipath%" %srcfiles%
echo.
echo LINKING %filnam%.exe
link /machine:%platform% /subsystem:console /out:%filnam%.exe /debug:none /stack:0x4000000 -manifest -manifestfile:%filnam%.exe.intermediate.manifest %objfiles% binlib.lib
mt /outputresource:%filnam%.exe;#1 /manifest %filnam%.exe.intermediate.manifest
I have installed Visual Studio 2005 and Intel Fortran 10.1, but I have clearly pb of adress.
I found another discussion on your forum where you explain that it is necessary to modify lib path in VS/tools/... but it does not work for me.
Have you an idea ?
Thanks
I am trying to compile an example furnished with ANSYS software, and I obtain the following message :
******************************************************************
This is the ANSYS Revision 120 RDRWRT batch file. It is
used to link the Reader/Writer programs to demonstrate reading
and writing ANSYS blocked binary files on the Windows 32-bit
systems.
This version uses the Intel Visual Fortran Compiler
******************************************************************
1 fichier(s) copi(s).
1 fichier(s) copi(s).
Intel Visual Fortran Compiler for applications running on IA-32, Version 10.1
Build 20080212 Package ID: w_fc_p_10.1.019
Copyright (C) 1985-2008 Intel Corporation. All rights reserved.
LINKING resrddemo.exe
Microsoft Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'
Microsoft Manifest Tool version 5.2.3790.2014
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
mt.exe : general error c10100b1: Failed to load file "resrddemo.exe". Le fichier
spicifii est introuvable.
compilation is run with the following *.bat file (extract) :
ifort -D__IFL -DNOSTDCALL -DARGTRAIL /Zp4 -DPCWINNT_SYS -DCADOE_ANSYS -Qfpp -Qopenmp -4Yportlib -4Ya /c /Fo.\ /DFORTRAN /MD /W0 /include:"%ipath%" %srcfiles%
echo.
echo LINKING %filnam%.exe
link /machine:%platform% /subsystem:console /out:%filnam%.exe /debug:none /stack:0x4000000 -manifest -manifestfile:%filnam%.exe.intermediate.manifest %objfiles% binlib.lib
mt /outputresource:%filnam%.exe;#1 /manifest %filnam%.exe.intermediate.manifest
I have installed Visual Studio 2005 and Intel Fortran 10.1, but I have clearly pb of adress.
I found another discussion on your forum where you explain that it is necessary to modify lib path in VS/tools/... but it does not work for me.
Have you an idea ?
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that the ANSYS batch file does not correctly set up the Intel Visual Fortran environment. It should call a file "ifortvars.bat" which will add to the LIB environment variable a folder containing ifconsol.lib.
Try this - start your command prompt session with Start > Programs > Intel Software Development Tools > Intel Fortran Compiler 10.0 > Build environment for 32-bit applications
Then from that run the ANSYS batch file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page