CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   .F on WINNT works and compiled for AIX does not (http://www.cfd-online.com/Forums/cfx/22422-f-winnt-works-compiled-aix-does-not.html)

Daiga April 10, 2006 09:17

.F on WINNT works and compiled for AIX does not
 
Hello, does anybody knows where should I look for the problem...

I had a standart script - which calculates x and y components of gradient of additional variable.

This script compiled on WINNT worked correctly. Now I am able only to use cfx account on AIX platform, (which is not on my computer but I reach it by net) and here the script (it is compiled succesfully by fortran for aix and path to aix/lib*.so is correct) anyway causes error of the solver.

The beginning of .F file is like that

#include "cfx5ext.h"

dllexport(gradWx)

SUBROUTINE GRADWX(NLOC,NRET,NARG,RET,ARGS,CRESLT,CZ,DZ,IZ,LZ, RZ )

#include "MMS.h" #include "cfd_constants.h" #include "stack_point.h" C ------------------------------

INTEGER NLOC, NRET, NARG

CHARACTER CRESLT*(*)

REAL RET( 1:NLOC,1:NRET ), ARGS( 1:NLOC,1:NARG )

INTEGER IZ(*)

CHARACTER CZ(*)*(1)

DOUBLE PRECISION DZ(*)

LOGICAL LZ(*)

REAL RZ(*) ............ ________________________________________

I have faced with error like that '' Unable to load symbol gradWx from /fastfs/work/niiumbra/cfx/aix/l- | | ibgrady.so: Function not implemented (gradWx)''

Message: | Stopped in routine UR_REGISTER

같같같같같같같같같같같같

or (when using gradwx instead of gradWx)

Error detected by routine PEEKCS CDANAM = /FLOW/PHYSICS/LATEST/ZN1 /SL1 /AV1 /CELAVMAP CRESLT = NONE

같같같같같같같같같같같같같같같같같같같같같

or Error detected by routine DELDIR CDRNAM = 켋 켆 @ 켮 ` < 뮨 CRESLT = ILEG 같같같같같같같같같같같같같같같같같같같같같같같같같 같

Could anybody explain me does the name of dllexport should be the same I use in name of subroutine or there should be difference? Are there some important things in .F syntax I should use when compiling in Fortran for AIX?

Where should I look for the solution of the problem?

with best regards,

Daiga

|


opaque April 10, 2006 10:10

Re: .F on WINNT works and compiled for AIX does no
 
Dear Daiga,

Would you mind posting the section of CCL where the User routine is defined, or referenced, i.e. USER ROUTINE DEFINITIONS..

Good luck, Opaque..



All times are GMT -4. The time now is 23:03.