CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX11.0 call intel fortran 9.0 error (https://www.cfd-online.com/Forums/cfx/26106-cfx11-0-call-intel-fortran-9-0-error.html)

Lan July 15, 2008 04:24

CFX11.0 call intel fortran 9.0 error
 
Hi,ereryone.

I'm doing the CFX11.0 tutorial 9 with visual studio 2003 and intel fortran compiler 9.0, and I met the fellowing errors: ------------------------------------------------------------ F:\CFX_test>cfx5mkext PipeValve_inlet.F C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin\ifort -iface:cvf -MD -fpp - include:"C:\Program Files\ANSYS Inc\v110\CFX\include" -object:winnt\\PipeValve_i nlet.o -c PipeValve_inlet.F Intel(R) Fortran Compiler for 32-bit applications, Version 9.0 Build 20050912 Z Package ID: W_FC_C_9.0.024 Copyright (C) 1985-2005 Intel Corporation. All rights reserved.

PipeValve_inlet.F(1) : Error: Syntax error, found POUND_BASE '' when expecting o ne of: <LABEL> <END-OF-STATEMENT> ; BLOCK BLOCKDATA PROGRAM TYPE COMPLEX BYTE CH ARACTER ...

#include "cfx5ext.h" -------^ PipeValve_inlet.F(1) : Severe: Could not recover from previous syntax error

#include "cfx5ext.h" -------^ compilation aborted for PipeValve_inlet.F (code 1) An error has occurred in cfx5mkext:

C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin\ifort exited with return code 1. ------------------------------------------------------------

Can anyone help me. Thanks a lot.

regards

Lan

Lan July 15, 2008 05:06

Re: CFX11.0 call intel fortran 9.0 error
 
Hi everyone!

I met that error because there were some spaces ' 'before the #include "cfx5ext.h" .

but now I met another error: -------------------------------------------------

F:\CFX_test>cfx5mkext PipeValve_inlet.F C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin\ifort -iface:cvf -MD -fpp - include:"C:\Program Files\ANSYS Inc\v110\CFX\include" -object:winnt\\PipeValve_i nlet.o -c PipeValve_inlet.F Intel(R) Fortran Compiler for 32-bit applications, Version 9.0 Build 20050912 Z Package ID: W_FC_C_9.0.024 Copyright (C) 1985-2005 Intel Corporation. All rights reserved.

C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin\ifort -threads -dll -exe:.\ winnt\\PipeValve_inlet.dll winnt\\PipeValve_inlet.o C:\Program Files\ANSYS Inc\v 110\CFX\lib\winnt\solver-pvm.lib Intel(R) Fortran Compiler for 32-bit applications, Version 9.0 Build 20050912 Z Package ID: W_FC_C_9.0.024 Copyright (C) 1985-2005 Intel Corporation. All rights reserved. ifort: Command line warning: unrecognized source type 'winnt\\PipeValve_inlet.o' ; object file assumed

An error has occurred in cfx5mkext:

C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin\ifort could not be started, or exited with return code 255: . -----------------------------------------------

regards Lan



All times are GMT -4. The time now is 04:16.