CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Error 255 with intel fortran compiler (http://www.cfd-online.com/Forums/cfx/66395-error-255-intel-fortran-compiler.html)

J.Ramon July 14, 2009 07:28

Error 255 with intel fortran compiler
 
Hi:

I saw in the forum a threads similar like this but without answer, simply what ocurr is when i write in the CFXīs command editor the order: (all is about the 9 tutorial, like others threads):

! system ("cfx5mkext Pipevalve_inlet.F") < 1 or die;

in the comman window (ms-dos) appear the next error:

------------------------------------------------

ifort: error: could not find '\Bin'
An error has ocurred in cfx5mkext:

C:\Archivos de programa\Intel\Compiler\fortran\9.0\IA32\Bin\ifort could not be started, or exited with return code 255: .

------------------------------------------------

And the compiling process fail.

If anyone could help me about this issue, iīve searched in google and in the forum, but i havenīt found something that works.

Iīm working with ansys cfx 11, with intel fortran compiler 9.0, in a os windows xp pro (32 bit) with an AMD Athlon 64 X2 Dual Core processor and 2 GB RAM.

THANKS IN ADVANCE.

ckleanth July 14, 2009 08:08

assuming you installed fortran correclty and before compiling at the command line window, type "ifortvars"

rogbrito July 14, 2009 08:11

Donīt forget to include the PATH in the environment variables of your Windows:

C:\Program Files\ANSYS Inc\v120\CFX\bin\

Rogerio.

J.Ramon July 14, 2009 10:22

Thanks guys but i havenīt got it works, i donīt know what can i do...:(:(:(:(

Lance July 14, 2009 10:34

Could it be that you have spaces in the path?
"C:\Archivos de programa..."

J.Ramon July 14, 2009 11:00

C:\Program Files\... has spaces too.. prfff i donīt know what could be the problem

Thanks.

rogbrito July 17, 2009 22:15

You have to install (only for Windows XP 32 bits) MS Visual C++ 6.0 or .NET 2003 or MS Visual Studio 2005 Express Edition.

With kind regards,

Rogerio.


Quote:

Originally Posted by J.Ramon (Post 222602)
Hi:

I saw in the forum a threads similar like this but without answer, simply what ocurr is when i write in the CFXīs command editor the order: (all is about the 9 tutorial, like others threads):

! system ("cfx5mkext Pipevalve_inlet.F") < 1 or die;

in the comman window (ms-dos) appear the next error:

------------------------------------------------

ifort: error: could not find '\Bin'
An error has ocurred in cfx5mkext:

C:\Archivos de programa\Intel\Compiler\fortran\9.0\IA32\Bin\ifort could not be started, or exited with return code 255: .

------------------------------------------------

And the compiling process fail.

If anyone could help me about this issue, iīve searched in google and in the forum, but i havenīt found something that works.

Iīm working with ansys cfx 11, with intel fortran compiler 9.0, in a os windows xp pro (32 bit) with an AMD Athlon 64 X2 Dual Core processor and 2 GB RAM.

THANKS IN ADVANCE.


J.Ramon July 18, 2009 04:00

Thanks to all, finally iīve got the compiler works, the problem was i hadnīt installed the microsoft sdk platform, i had installed ms 2005 and i was thinking when i installed ms 2005, the microsoft sdk platform had been instaled with ms 2005, but it hadnīt been installed with this, and that was the problem, i installed microsoft sdk platform and added some values in the PATH and LIB variables at enviroment variables and system variables, and finally it worked, and i got do the tutorial 9 with ANSYS CFX CEL fucntion.

THANKS A LOT TO ALL PEOPLE FOR YOUR ADVICE, THANKS, THANKS.

rogbrito July 18, 2009 09:22

Hi Sir,

youīre welcome, but you donīt need Microsoft Platform SDK for Windows Server 2003 SP1 for Windows XP 32 bits (for ANSYS CFX v11.0)! For windows xp 64bits and for ANSYS CFX v11.0, you need only Intel Fortran v9.0/9.1, and Microsoft PLatform SDK for Windows Server 2003 SP1.

Please, donīt forget to put the CFX files in the path of Windows XP 64/32:

C:\Program Files\Microsoft Platform SDK\Bin\.;C:\Program Files\Microsoft Platform SDK\Bin\WinNT\.;%IFORT_COMPILER91%\IA32\Bin;%IFORT _COMPILER91%\EM64T\Bin;C:\Program Files\ANSYS Inc\v110\CFX\bin

Rogerio.

Quote:

Originally Posted by J.Ramon (Post 223091)
Thanks to all, finally iīve got the compiler works, the problem was i hadnīt installed the microsoft sdk platform, i had installed ms 2005 and i was thinking when i installed ms 2005, the microsoft sdk platform had been instaled with ms 2005, but it hadnīt been installed with this, and that was the problem, i installed microsoft sdk platform and added some values in the PATH and LIB variables at enviroment variables and system variables, and finally it worked, and i got do the tutorial 9 with ANSYS CFX CEL fucntion.

THANKS A LOT TO ALL PEOPLE FOR YOUR ADVICE, THANKS, THANKS.


J.Ramon July 18, 2009 10:15

ok rogbrito, i put all the files in the path like you say, and what i installed is Microsoft Platform SDK for Windows Server 2003 R2.
In command window (that appears with ansys cfx) said: mt.exe was not found in your path; and this executable is in Microsoft Platform SDK for Windows Server 2003 R2DIR, it wasnīt a mistake because the compiler worked and give me the .dll necesary for ANSYS-CFX, but adding the files, where is mt.exe, to the path, that message desappared and then there were no more errors.
The most important now is that finally it works fine, iīm going to take note about this thread, in order to havenīt any problems more with intel fortran compiler and ANSYS CFX in the future.

Thanks again for your help and your time.

yxgayy November 15, 2011 09:46

Quote:

Originally Posted by J.Ramon (Post 223091)
Thanks to all, finally iīve got the compiler works, the problem was i hadnīt installed the microsoft sdk platform, i had installed ms 2005 and i was thinking when i installed ms 2005, the microsoft sdk platform had been instaled with ms 2005, but it hadnīt been installed with this, and that was the problem, i installed microsoft sdk platform and added some values in the PATH and LIB variables at enviroment variables and system variables, and finally it worked, and i got do the tutorial 9 with ANSYS CFX CEL fucntion.

THANKS A LOT TO ALL PEOPLE FOR YOUR ADVICE, THANKS, THANKS.

Can you tell me how to set the environment variable Path Lib Include?? Thank you


All times are GMT -4. The time now is 08:07.