|
[Sponsors] |
![]() |
![]() |
#21 |
Member
Veskov Eugene
Join Date: Feb 2011
Posts: 31
Rep Power: 16 ![]() |
I am add intel compiler paths to PATH variable in CFX console, path
C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\lib\ia32; C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\lib\intel64; also included (this paths have ifconsol.lib) I have linker error: ************************************************** ***** d:\ans_work\cfx\example19_files\user_files>Tstat.b at d:\ans_work\cfx\example19_files\user_files>cd /d c:\Program Files\ANSYS Inc\v145 \CFX\bin\ c:\Program Files\ANSYS Inc\v145\CFX\bin>cfx5mkext -name TStat_Control -dest d:\ ans_work\cfx\example19_files\user_files\ d:\ans_work\cfx\example19_files\user_ files\TStat_Control.F C:\Program Files (x86)\Intel\ComposerXE-2011\bin\intel64\ifort -Qvec- -iface:cvf -MD -fpp -include:"c:\Program Files\ANSYS Inc\v145\CFX\include" -object:winnt-a md64\\TStat_Control.o -c d:\ans_work\cfx\example19_files\user_files\TStat_C ontro l.F Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte l(R) 64, Version 12.0.0.104 Build 20101006 Copyright (C) 1985-2010 Intel Corporation. All rights reserved. C:\Program Files (x86)\Intel\ComposerXE-2011\bin\intel64\ifort -threads -dll -ex e:d:\ans_work\cfx\example19_files\user_files\\winn t-amd64\\TStat_Control.dll win nt-amd64\\TStat_Control.o c:\Program Files\ANSYS Inc\v145\CFX\lib\winnt-amd64\so lver-pcmpi.lib Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte l(R) 64, Version 12.0.0.104 Build 20101006 Copyright (C) 1985-2010 Intel Corporation. All rights reserved. ifort: command line warning #10161: unrecognized source type 'winnt-amd64\\TStat _Control.o'; object file assumed Microsoft (R) Incremental Linker Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. -out:d:\ans_work\cfx\example19_files\user_files\\wi nnt-amd64\\TStat_Control.dll -dll -implib:d:\ans_work\cfx\example19_files\user_files\ \winnt-amd64\\TStat_Control.l ib winnt-amd64\\TStat_Control.o "c:\Program Files\ANSYS Inc\v145\CFX\lib\winnt-amd64\solver-pcmpi.lib" LINK : fatal error LNK1104: cannot open file 'ifconsol.lib' An error has occurred in cfx5mkext: C:\Program Files (x86)\Intel\ComposerXE-2011\bin\intel64\ifort exited with return code 80. ************************************************** ****** what s wrong? |
|
![]() |
![]() |
![]() |
![]() |
#22 |
New Member
HLo
Join Date: Dec 2013
Location: Germany
Posts: 26
Rep Power: 13 ![]() |
Hello ves,
as njdyck said, this thread is about the Mingw compiler toolchain. Maybe you may find better advice somewhere else in this forum. Nevertheless I'll do a guess about your problem: In most cases compiling needs a lot of prerequisites, often the required paths have to be checked for presence and for correct order. Sometimes there are additional environment variables to be set, e.g. LD_LIBRARY_PATH or similar. I don't know the spec. of Intel's ifort, somewhere in the manual should be a hint. Good luck HLo |
|
![]() |
![]() |
![]() |
![]() |
#23 |
New Member
Emil Günther
Join Date: Nov 2015
Posts: 18
Rep Power: 11 ![]() |
Hello everybody!
I have to do a fortran subroutine for the first time. I've tried to compile one of the examples from the ansys documentation chapter 18, but wasn't succesfull so far. My problem: The examples from the documentation are written in Fortran77, but at university i can only use a Fortran90 compiler (Visual Studio). I tried to compile some examples on my computer at home using the free Fortran77 compiler Force, but recieved many errors. Maybe because ANSYS is not installed on my computer? Can anyone help me? Did anyone some subroutines using Fortran 90 and can give an example? Thanks a lot! ![]() Emil |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set environmental variables of Intel Fortran +CFX? | Christine MO | CFX | 0 | September 23, 2011 12:11 |
Context of user fortran functions | Bloshchitsyn Vladimir | CFX | 0 | October 17, 2007 07:28 |
CFX arc-modeling, User Fortran, CEL.... | Bloshchitsyn Vladimir | CFX | 0 | October 15, 2007 07:17 |
how to use USER FORTRAN with CFX | cfd_99 | Main CFD Forum | 1 | June 4, 1999 06:42 |
CFX User Subroutine Archive | David Creech | Main CFD Forum | 0 | March 17, 1999 13:41 |