CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   I can't compile UDS by Absoft Fortran 7.5 (http://www.cfd-online.com/Forums/fluent/30082-i-cant-compile-uds-absoft-fortran-7-5-a.html)

Thitikorn July 26, 2002 09:38

I can't compile UDS by Absoft Fortran 7.5
 
Have anybody use UDS in Fluent4.5? Now I use Absoft Pro Fortran 7.5. (coz I can't find version 7.0) I use window NT and use Visual C++ 6.0.

But I can't compile UDS. It show something that I don't understand.

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Compiling user subroutines...

cl -EP -C -nologo -Za -D_ABSOFT -D_NT -DWIN32 -D_X86_ -D_NTX86 -D_NTWIN -D_WINDOWS -DCTL3D -DPersonal -DHoops -DRNG_KE_MODEL -DJYM -DPHASE_CHANGE -DMUL TIPHASE -DRNG_FLAME -DFLGUI -DDynamic_Memory -DLICENSE_MANAGER -I. -Id:\fluent.i nc\fluent4.5\NTX86\src\include coltrn.f >coltrn.for coltrn.f

f77 -c -q -f -N3 -Q53 -O -Q101 coltrn.for f77: error: Unknown switch: '-q' NMAKE : fatal error U1077: 'f77' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\N MAKE.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'if' : return code '0x2' Stop.

Thitikorn July 26, 2002 09:41

This is error. when I type "nmake"
 
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Compiling user subroutines...

cl -EP -C -nologo -Za -D_ABSOFT -D_NT -DWIN32 -D_X86_ -D_NTX86 -D_NTWIN -D_WINDOWS -DCTL3D -DPersonal -DHoops -DRNG_KE_MODEL -DJYM -DPHASE_CHANGE -DMUL TIPHASE -DRNG_FLAME -DFLGUI -DDynamic_Memory -DLICENSE_MANAGER -I. -Id:\fluent.i nc\fluent4.5\NTX86\src\include coltrn.f >coltrn.for coltrn.f

f77 -c -q -f -N3 -Q53 -O -Q101 coltrn.for f77: error: Unknown switch: '-q' NMAKE : fatal error U1077: 'f77' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\N MAKE.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'if' : return code '0x2' Stop.


Thitikorn July 27, 2002 07:00

Hee Hee I got it.
 
I think I know something wrong in manual from Fluent.

"Instruction Guide for Fluent4.5 User-Defined Subroutines."

From this manual tell me to set the Environment Variable in windows NT. In Path The VC++ bin directory(s) must come before the Absoft bin directory.

But I can't compile my USD. I tried to set the Absoft bin directory come before the VC++ bin directory. OH it work!!!. I don't know why dose it work.:) but I got another warning. :(

LINK : warning LNK4049: locally defined symbol "_CX_Message" imported

LINK : warning LNK4049: locally defined symbol "_CX_Primitive_Error" imported

I think I must to continue trial and error for use USD. :(


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