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

I can't compile UDS by Absoft Fortran 7.5

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2002, 10:38
Default I can't compile UDS by Absoft Fortran 7.5
  #1
Thitikorn
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   July 26, 2002, 10:41
Default This is error. when I type "nmake"
  #2
Thitikorn
Guest
 
Posts: n/a
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.

  Reply With Quote

Old   July 27, 2002, 08:00
Default Hee Hee I got it.
  #3
Thitikorn
Guest
 
Posts: n/a
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.
  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
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 01:52
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
user routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 19:37
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
Absoft Pro Fortran 7.5 in Fluent 4.5 Thitikorn FLUENT 0 July 5, 2002 07:41


All times are GMT -4. The time now is 07:58.