CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Linking issues User Fortran

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2007, 08:47
Default Linking issues User Fortran
  #1
Anil
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.

  Reply With Quote

Old   August 23, 2007, 16:55
Default Re: Linking issues User Fortran
  #2
Stumpy
Guest
 
Posts: n/a
Are you using cfx5mkext to compile your fortran?
  Reply With Quote

Old   August 24, 2007, 20:41
Default Re: Linking issues User Fortran
  #3
Anil
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.
  Reply With Quote

Old   February 24, 2017, 21:48
Default
  #4
New Member
 
FeiTeng
Join Date: Jan 2017
Location: Beijing,China
Posts: 12
Rep Power: 9
tengf689 is on a distinguished road
Hi,
I met the same problem as you. Have you solved the problem?
tengf689 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
user routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 18:37
User fortran routines, DEBUG AND OUTPUT Bloshchitsyn Vladimir CFX 5 October 29, 2007 01:31
OpenFOAM with Cygwin kitchener OpenFOAM Installation 6 April 24, 2006 23:09
CFX5 and user FORTRAN Worth CFX 9 December 25, 2003 01:43


All times are GMT -4. The time now is 09:51.