|
[Sponsors] |
August 5, 2017, 02:26 |
Setup CFX 17.2 to use Fortran routines
|
#1 |
New Member
Yiran Liu
Join Date: Mar 2017
Posts: 5
Rep Power: 9 |
I want to use Intel Composer XE 2013 SP1 to compile a '.for' file to analyze the data in CFX17.2-post.
The step of 'ifortvars.bat Intel64' is all good. But the step of 'cfx5mkext -64bit bbb2.for' failed to generate 4 files in the 'winnt-amd64', but only 2 files, namely '.dll', '.o', shown as the following: ********************************************** C:\Users\Yiran Liu>cd C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>ifortvars.bat Intel64 Intel(R) Parallel Studio XE 2013 SP1 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Composer XE 2013 SP1 (package 103) Setting environment for using Microsoft Visual Studio 2010 x64 tools. C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>cd C:\YRL_PCH_shapefactor C:\YRL_PCH_shapefactor>cd C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>cfx5mkext -64bit bbb2.for C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>ifortvars.bat Intel64 Intel(R) Parallel Studio XE 2013 SP1 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Composer XE 2013 SP1 (package 103) Setting environment for using Microsoft Visual Studio 2010 x64 tools. C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>cfx5mkext -64bit bbb2.for C:\Program Files (x86)\Intel\Composer XE 2013 SP1\bin>cd C:\YRL_PCH_shapefactor C:\YRL_PCH_shapefactor>cfx5mkext -64bit bbb2.for C:\YRL_PCH_shapefactor\ifort -Qvec- -iface:cvf -MD -real_size:32 -integer_size:3 2 -64bit -object:winnt-amd64\bbb2.o -c bbb2.for Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte l(R) 64, Version 14.0 Build 20130728 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. ifort: command line warning #10006: ignoring unknown option '/64bit' C:\YRL_PCH_shapefactor\ifort -threads -dll -exe:.\winnt-amd64\bbb2.dll winnt-amd 64\bbb2.o C:\Program Files\ANSYS Inc\v172\CFX\lib\winnt-amd64\solver-mpi.lib Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte l(R) 64, Version 14.0 Build 20130728 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. ifort: command line warning #10161: unrecognized source type 'winnt-amd64\bbb2.o '; object file assumed Microsoft (R) Incremental Linker Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. -out:.\winnt-amd64\bbb2.dll -dll -implib:.\winnt-amd64\bbb2.lib winnt-amd64\bbb2.o "C:\Program Files\ANSYS Inc\v172\CFX\lib\winnt-amd64\solver-mpi.lib" ************************************************* And then the next step of running 'f77 bbb2.for' is warned that ''f77' is not recognized as an internal or external command, operable program or batch file.' |
|
Tags |
cfx, cfx + fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get vertex(node) number in CFX user Fortran.. | flyply | CFX | 4 | February 4, 2014 19:51 |
CFX User Fortran: Particle User Sources | hustxinxin | CFX | 0 | March 8, 2012 08:37 |
CFX User Fortran: Particle User Sources | hustxinxin | CFX | 0 | March 8, 2012 08:31 |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 00:52 |
Intel Fortran and CFX 11.0 | Rogerio Fernandes Brito | CFX | 4 | November 11, 2008 00:27 |