|
[Sponsors] |
.F on WINNT works and compiled for AIX does not |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2006, 10:17 |
.F on WINNT works and compiled for AIX does not
|
#1 |
Guest
Posts: n/a
|
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 = ÿÿÿÿþ±H ÿÿÿÿþ±D ÿÿÿÿþ±@ ÿÿÿÿþ±h ÿÿÿÿþ±` ÿÿÿÿþ±< ÿÿÿÿþ¹Ã °ÿÿÿÿ ÿÿÿ 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 | |
|
April 10, 2006, 11:10 |
Re: .F on WINNT works and compiled for AIX does no
|
#2 |
Guest
Posts: n/a
|
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.. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF - Interpreted works and compiled doesn't | AlwaysLearning | FLUENT | 9 | October 30, 2018 01:52 |
Difference between interpreted and compiled for DEFINE_ADJUST? | KatyaM | Fluent UDF and Scheme Programming | 1 | November 3, 2009 10:30 |
interpret works fine but compile doesn't | Jan Balemans | FLUENT | 0 | March 14, 2008 10:41 |
.F compiled on Winnt works, but on AIX doesn't | Daiga | CFX | 11 | May 9, 2006 08:44 |