|
[Sponsors] |
August 20, 2007, 09:47 |
Linking issues User Fortran
|
#1 |
Guest
Posts: n/a
|
Hi,
When I try to link user fortran example files, the MS linker does not recognize any CEL functions. I am using CFX-11 on a WINNT-AMD-64 machine with a INTEL compiler. If I comment the CEL functions there is no problem. It is as if the CFX library is not being linked/imported? Does anybody have any ideas? Thanks in advance Anil Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. -out:.\winnt-amd64\\myfunc.dll -dll -implib:.\winnt-amd64\\myfunc.lib winnt-amd64\\backstep.o "C:\Program Files\ANSYS Inc\v110\CFX\lib\winnt-amd64\solver-pvm.lib" Creating library .\winnt-amd64\\myfunc.lib and object .\winnt-amd64\\myfunc.e xp backstep.o : error LNK2019: unresolved external symbol _PEEKCS@40 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _MESAGE@16 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _PSHDIR@24 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _CHGDIR@24 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _MAKDAT@40 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _POKEI@36 referenced in f unction _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _POPDIR@16 referenced in function _USER_INPUT backstep.o : error LNK2019: unresolved external symbol _CFXSTP@8 referenced in f unction _USER_INPUT_TABLE backstep.o : error LNK2019: unresolved external symbol _SET_A_0@8 referenced in function _USER_UPROFILE backstep.o : error LNK2019: unresolved external symbol _PEEKI@36 referenced in f unction _USER_UPROFILE backstep.o : error LNK2019: unresolved external symbol _LOCDAT@40 referenced in function _USER_UPROFILE backstep.o : error LNK2019: unresolved external symbol _CFROMI@12 referenced in function _USER_PRINT_PROFILE backstep.o : error LNK2019: unresolved external symbol _CFROMR@12 referenced in function _USER_PRINT_PROFILE .\winnt-amd64\\myfunc.dll : fatal error LNK1120: 13 unresolved externals An error has occurred in cfx5mkext: C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\Ia32\Bin\ifort exited with return code 96. |
|
August 23, 2007, 17:55 |
Re: Linking issues User Fortran
|
#2 |
Guest
Posts: n/a
|
Are you using cfx5mkext to compile your fortran?
|
|
August 24, 2007, 21:41 |
Re: Linking issues User Fortran
|
#3 |
Guest
Posts: n/a
|
Yes I don't have visual c++ toolkit but have MS visual studio, I am wondering if that is the problem.
|
|
February 24, 2017, 22:48 |
|
#4 |
New Member
FeiTeng
Join Date: Jan 2017
Location: Beijing,China
Posts: 12
Rep Power: 9 |
Hi,
I met the same problem as you. Have you solved the problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
user routine, user funcion, or fortran compile effect on the memroy? | princeps11 | CFX | 1 | May 13, 2009 19:37 |
User fortran routines, DEBUG AND OUTPUT | Bloshchitsyn Vladimir | CFX | 5 | October 29, 2007 02:31 |
OpenFOAM with Cygwin | kitchener | OpenFOAM Installation | 6 | April 25, 2006 00:09 |
CFX5 and user FORTRAN | Worth | CFX | 9 | December 25, 2003 02:43 |