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

compiling linked udf (C/fortran mixed)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2010, 17:53
Default compiling linked udf (C/fortran mixed)
  #1
New Member
 
Join Date: Jul 2010
Posts: 8
Rep Power: 16
bawfuls is on a distinguished road
I am trying to implement a udf that will run some fortran code. To start with, I have created a very simple test code in c that should call the fortran subroutine. I have been following the procedures outlined in the udf manual (chapter 5) for doing this. I created the directory structure, coppied in the fortran object file, etc.

I am having trouble however building the library with the makefile as described in the udf manual, 5.3.2. It says there,

"In the Visual Studio command prompt window, go to each version folder (e.g., \libudf\ntx86\2d\), and type nmake as shown in the following example.

C:\users\user_name\work_dir\libudf\ntx86\2d>nmake"

But I can not seem to find the appropriate syntax to do this in the visual studio command window. Can anyone tell me the exact syntax I need to "go to each version folder" in order to run the nmake command? And is it a problem that one of the folders in my directory tree has spaces in it's name?
bawfuls is offline   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
About UDF compiling issues: 'nmake' Haoyin Shan Fluent UDF and Scheme Programming 15 November 4, 2019 19:05
Compiling UDF on a cluster Adya FLUENT 1 December 14, 2009 12:30
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 01:43
udf compiling problem akr FLUENT 3 August 22, 2007 08:14
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 10:13


All times are GMT -4. The time now is 20:47.