|
[Sponsors] |
November 16, 2004, 07:58 |
User Subroutine :InterProcess Communication
|
#1 |
Guest
Posts: n/a
|
Hi
STARCD 3.22 Brief history of my work: 1.Aim is to communicate between two software's they are STAR-CD(3D) & FLOWMASTER (1D). 2.We had got the success for UNIX version i.e.STAR-CD is installed in the UNIX & FLOWMASTER is installed in the PC(XP). 3.Presently we are working for PC version i.e.STAR-CD is installed in PC(STARCD 3.22)& FLOWMASTER is installed in the PC(XP). Brief history of UNIX version: Below are the object files which I had kept it in the ufile, where I had kept the posdat.f,bcdefp.f & bcdefi.f. files. Object Files are: 1.CFDlinkClient.obj 2.CFDlinkRPC_clnt.obj 3.CFDlinkrpc_xdr.obj These object files in turns calls FLOWMASTER using third party tools i.e RPC which I had installed in my PC. In this part I not faced any problem in compiling the CFDlinkClient.cpp file.And I am succesfullin comunications between the two softwares. Brief history of PCversion(Error is occurring for this part): I had installed the Absoft 8.2. I haven't got the success in compiling the CFDlinkClient.cpp file. 1. This CFDlinkClient.cpp file contains the information of third part tool RPC,STARCD function & varaibles (gbcstr,impbrd,IGSum,IGMin,dco14,indmp1,c06013,usr d02,dc014,indmp1,mainu,dco5). posdat.f (CFDlink FUNCTION) ----------------------->CFDlinkClient.cpp---------------------------------------> CFDlink server(Flowmaster function). The above picture shows that the cfdlink funcion is called from posdat.f file,& the implementation of this function is in CFDlinkClient.cpp file,which in turns calls the FLOWMASTER function. 2.The below are the lines which were written in the makefile,which is used to compile the CFDlinkClient.cpp code. CC=cl CFLAGS=/AL /Zi /W1 all: CFDlinkClient.o CFDlinkClient.o: CFDlinkClient.cpp $(CC) $(CFLAGS) CFDlinkClient.cpp D32-RPC.LIB CFDlinkRPC_clnt.obj CFDlinkrpc_xdr.obj clean: erase CFDlinkClient.o These are the dependent files D32-RPC.LIB CFDlinkRPC_clnt.obj CFDlinkrpc_xdr.obj. I had edit the "nmake" in the command prompt, which is used to compile the makefile. The error are described in the below. CFDlinkClient.obj : error LNK2001: unresolved external symbol _gbcstr CFDlinkClient.obj : error LNK2001: unresolved external symbol _impbrd CFDlinkClient.obj : error LNK2001: unresolved external symbol _igsum CFDlinkClient.obj : error LNK2001: unresolved external symbol _igmin CFDlinkClient.obj : error LNK2001: unresolved external symbol _gsum CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed usrd02" (?usrd02@@3U__unnamed@@A) CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed dco14" (?dco14@@3U__unnamed@@A) CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed indmp2" (?indmp2@@3U__unnamed@@A) CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed indmp1" (?indmp1@@3U__unnamed@@A) CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed c06013" (?c06013@@3U__unnamed@@A) CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed mainu" (?mainu@@3U__unnamed@@A) CFDlinkClient.obj : error LNK2001: unresolved external symbol "struct __unnamed dco5" (?dco5@@3U__unnamed@@A) Eagerly waiting for the reply to resolve this problem. With Best Regards Lavate Mallikarjun Avanana |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User Subroutine | A. Said | CFX | 9 | March 7, 2008 16:49 |
user subroutine compilation in v3.22 | Kaushik Sinha | Siemens | 6 | May 17, 2006 05:20 |
User Subroutine | Garryx | Siemens | 1 | June 25, 2005 01:13 |
HELP user subroutine BCDEFI | waterflow | Siemens | 1 | April 3, 2003 14:39 |
User subroutine | Don Baker | Siemens | 1 | September 29, 2002 13:27 |